cap-ec2 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +4 -0
- data/lib/cap-ec2/ec2-handler.rb +1 -1
- data/lib/cap-ec2/version.rb +1 -1
- metadata +4 -4
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)
|
data/lib/cap-ec2/ec2-handler.rb
CHANGED
|
@@ -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-
|
|
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) &&
|
data/lib/cap-ec2/version.rb
CHANGED
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.
|
|
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-
|
|
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:
|
|
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:
|
|
157
|
+
hash: -4279334525113245690
|
|
158
158
|
requirements: []
|
|
159
159
|
rubyforge_project:
|
|
160
160
|
rubygems_version: 1.8.23
|