logandk-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 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
- * Capistrano: [http://github.com/jamis/capistrano](http://github.com/jamis/capistrano)
74
- * RightAws: [http://rightaws.rubyforge.org](http://rightaws.rubyforge.org)
75
- * Amazon AWS: [http://aws.amazon.com](http://aws.amazon.com)
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
@@ -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: logandk-capistrano-ec2group
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Logan Raarup
@@ -48,6 +48,7 @@ files:
48
48
  - test/ec2group_test.rb
49
49
  has_rdoc: true
50
50
  homepage: http://github.com/logandk/capistrano-ec2group
51
+ licenses:
51
52
  post_install_message:
52
53
  rdoc_options:
53
54
  - --line-numbers
@@ -69,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
70
  requirements: []
70
71
 
71
72
  rubyforge_project: capistrano-ec2g
72
- rubygems_version: 1.2.0
73
+ rubygems_version: 1.3.5
73
74
  signing_key:
74
75
  specification_version: 2
75
76
  summary: Capistrano plugin for deploying to Amazon EC2 instances by security groups.