cap-ec2 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Cap-EC2 changelog
2
2
 
3
+ ## 0.0.12
4
+
5
+ * Use the instance's named state for searching for instances, rather than the code [@ronny](https://github.com/ronny)
6
+
3
7
  ## 0.0.11
4
8
 
5
9
  * Allow instances to have multiple projects deployed to them. [@rsslldnphy](https://github.com/rsslldnphy)
@@ -62,7 +62,7 @@ module CapEC2
62
62
  @ec2.each do |_, ec2|
63
63
  instances = ec2.instances
64
64
  .filter(tag(project_tag), "*#{application}*")
65
- .filter('instance-state-code', '16')
65
+ .filter('instance-state-name', 'running')
66
66
  servers << instances.select do |i|
67
67
  instance_has_tag?(i, roles_tag, role) &&
68
68
  instance_has_tag?(i, stages_tag, stage) &&
@@ -1,3 +1,3 @@
1
1
  module CapEC2
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cap-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-03-28 00:00:00.000000000 Z
13
+ date: 2014-04-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -145,7 +145,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
145
145
  version: '0'
146
146
  segments:
147
147
  - 0
148
- hash: 179278271654884480
148
+ hash: -4279334525113245690
149
149
  required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  none: false
151
151
  requirements:
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
154
  version: '0'
155
155
  segments:
156
156
  - 0
157
- hash: 179278271654884480
157
+ hash: -4279334525113245690
158
158
  requirements: []
159
159
  rubyforge_project:
160
160
  rubygems_version: 1.8.23