From 0e6a49671fd97cbfbfb278c5cf2047ba1a65d735 Mon Sep 17 00:00:00 2001 From: Rob Di Marco Date: Tue, 10 Apr 2018 11:42:01 -0400 Subject: [PATCH 1/2] Change dependency to just rely on aws-sdk-ec2 --- cap-ec2.gemspec | 2 +- lib/cap-ec2/capistrano.rb | 2 +- lib/cap-ec2/ec2-handler.rb | 2 +- lib/cap-ec2/utils.rb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cap-ec2.gemspec b/cap-ec2.gemspec index fd6a3eb..35335b8 100644 --- a/cap-ec2.gemspec +++ b/cap-ec2.gemspec @@ -21,7 +21,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency "bundler", "~> 1.3" spec.add_development_dependency "rake" - spec.add_dependency "aws-sdk", ">= 2.0" + spec.add_dependency "aws-sdk-ec2" spec.add_dependency "capistrano", ">= 3.0" spec.add_dependency "terminal-table" spec.add_dependency "colorize" diff --git a/lib/cap-ec2/capistrano.rb b/lib/cap-ec2/capistrano.rb index 4d6374f..e2fbe64 100644 --- a/lib/cap-ec2/capistrano.rb +++ b/lib/cap-ec2/capistrano.rb @@ -1,5 +1,5 @@ require 'capistrano/configuration' -require 'aws-sdk' +require 'aws-sdk-ec2' require 'colorize' require 'terminal-table' require 'yaml' diff --git a/lib/cap-ec2/ec2-handler.rb b/lib/cap-ec2/ec2-handler.rb index cc32a6e..2f33afd 100644 --- a/lib/cap-ec2/ec2-handler.rb +++ b/lib/cap-ec2/ec2-handler.rb @@ -1,4 +1,4 @@ -require 'aws-sdk' +equire 'aws-sdk-ec2' module CapEC2 class EC2Handler diff --git a/lib/cap-ec2/utils.rb b/lib/cap-ec2/utils.rb index 2c7a38d..30ef93c 100644 --- a/lib/cap-ec2/utils.rb +++ b/lib/cap-ec2/utils.rb @@ -1,4 +1,4 @@ -require 'aws-sdk' +require 'aws-sdk-ec2' module CapEC2 module Utils From 37f0a5f283af0596d0559864c79d32f71d085b55 Mon Sep 17 00:00:00 2001 From: Rob Di Marco Date: Tue, 10 Apr 2018 11:46:12 -0400 Subject: [PATCH 2/2] Fix typo --- lib/cap-ec2/ec2-handler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cap-ec2/ec2-handler.rb b/lib/cap-ec2/ec2-handler.rb index 2f33afd..06ae902 100644 --- a/lib/cap-ec2/ec2-handler.rb +++ b/lib/cap-ec2/ec2-handler.rb @@ -1,4 +1,4 @@ -equire 'aws-sdk-ec2' +require 'aws-sdk-ec2' module CapEC2 class EC2Handler