capistrano-ec2group 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +11 -4
- data/lib/capistrano/ec2group.rb +1 -1
- metadata +5 -3
data/README.markdown
CHANGED
@@ -67,11 +67,18 @@ Documentation
|
|
67
67
|
=============
|
68
68
|
Additional RDoc documentation is available at: [http://rdoc.info/projects/logandk/capistrano-ec2group](http://rdoc.info/projects/logandk/capistrano-ec2group)
|
69
69
|
|
70
|
+
* capistrano: [http://capify.org](http://capify.org)
|
71
|
+
* RightAws: [http://rightaws.rubyforge.org](http://rightaws.rubyforge.org)
|
72
|
+
* Amazon AWS: [http://aws.amazon.com](http://aws.amazon.com)
|
70
73
|
|
71
74
|
Credits
|
72
75
|
=======
|
73
|
-
*
|
74
|
-
*
|
75
|
-
|
76
|
+
* capistrano-ec2group: [Logan Raarup](http://github.com/logandk)
|
77
|
+
* capistrano: [Jamis Buck](http://github.com/jamis/capistrano)
|
78
|
+
|
79
|
+
|
80
|
+
###Thanks to###
|
81
|
+
* [Phillip Goldenburg](http://github.com/phillip) - Terminated instance bug fix
|
82
|
+
|
76
83
|
|
77
|
-
Copyright (c) 2009 Logan Raarup, released under the MIT license
|
84
|
+
Copyright (c) 2009 Logan Raarup, released under the MIT license
|
data/lib/capistrano/ec2group.rb
CHANGED
@@ -19,7 +19,7 @@ module Capistrano
|
|
19
19
|
def group(which, *args)
|
20
20
|
@ec2_api ||= RightAws::Ec2.new(fetch(:aws_access_key_id), fetch(:aws_secret_access_key), fetch(:aws_params, {}))
|
21
21
|
|
22
|
-
@ec2_api.describe_instances.each do |instance|
|
22
|
+
@ec2_api.describe_instances.delete_if{|i| i[:aws_state] != "running"}.each do |instance|
|
23
23
|
server(instance[:dns_name], *args) if instance[:aws_groups].include?(which.to_s)
|
24
24
|
end
|
25
25
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-ec2group
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Logan Raarup
|
@@ -48,6 +48,8 @@ files:
|
|
48
48
|
- test/ec2group_test.rb
|
49
49
|
has_rdoc: true
|
50
50
|
homepage: http://github.com/logandk/capistrano-ec2group
|
51
|
+
licenses: []
|
52
|
+
|
51
53
|
post_install_message:
|
52
54
|
rdoc_options:
|
53
55
|
- --line-numbers
|
@@ -69,9 +71,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
71
|
requirements: []
|
70
72
|
|
71
73
|
rubyforge_project: capistrano-ec2g
|
72
|
-
rubygems_version: 1.3.
|
74
|
+
rubygems_version: 1.3.5
|
73
75
|
signing_key:
|
74
|
-
specification_version:
|
76
|
+
specification_version: 3
|
75
77
|
summary: Capistrano plugin for deploying to Amazon EC2 instances by security groups.
|
76
78
|
test_files: []
|
77
79
|
|