ec2_tools 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
data/ec2_tools.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ec2_tools}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Yamada Masaki"]
data/lib/ec2_tools/ec2.rb CHANGED
@@ -1,10 +1,6 @@
1
1
  require 'AWS'
2
2
 
3
3
  class Ec2Tools::EC2 < AWS::EC2::Base
4
- def initialize(config)
5
- @config = config
6
- end
7
-
8
4
  def servers
9
5
  unless @servers
10
6
  @servers = {}
data/lib/ec2_tools.rb CHANGED
@@ -9,10 +9,10 @@ class Ec2Tools
9
9
  end
10
10
 
11
11
  def method_missing(name, *args)
12
- define_method(:name) do |_args|
13
- @ec2.send(name, _args)
12
+ self.class.send(:define_method, name) do |*x|
13
+ @ec2.send(name, *x)
14
14
  end
15
- self.send(name, args)
15
+ @ec2.send(name, *args)
16
16
  end
17
17
 
18
18
  def inspect
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ec2_tools
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.0
5
+ version: 0.3.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Yamada Masaki
@@ -108,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - ">="
110
110
  - !ruby/object:Gem::Version
111
- hash: -766052525
111
+ hash: -401359987
112
112
  segments:
113
113
  - 0
114
114
  version: "0"