cap-ec2 0.0.13 → 0.0.14

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 821b4a4f07097d1582d5fc46af282c6fc724a9c8
4
- data.tar.gz: 145860d294806a4042676196e54d767df8b052c2
3
+ metadata.gz: 5b1a3bd6ad23645ae15eabc5f7f1bf641a921240
4
+ data.tar.gz: 2458e03a181dcafbe535e1885a54c04715a14a95
5
5
  SHA512:
6
- metadata.gz: 50c6af74a020ae13e12ed5a93cd38991dc83f8d57f99ece6640ac088d88eddf33f783b2dc3e79eed93bb2ff7be075ebb9390357fd0bd3aa7b2757e97e0c4e312
7
- data.tar.gz: df29d49e1f272ad8c11accfd0f4d437f3601434eac0df7cdfa84d8779fd3ef28cfcdaa26238528294bca8ca7f0b07738836db773fabf41444217325f4d9daaf5
6
+ metadata.gz: 6817287d6bcbc0a2e7faec15638e2b09d867040dd963f652157182f77e7eef1c1f078e007a2e95eb1e0fd276d4ad75214e73b661e47a85328d492397241ef931
7
+ data.tar.gz: 6dd0b888bb606536668971f9d715576e42d2eeaacb3a4f18188a39a8292961d6f9b0b36d7e56bd5c3bccf02307dad711d78743c970f388820197baac2e206aef
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Cap-EC2 changelog
2
2
 
3
+ ## 0.0.14
4
+
5
+ * Fix issue when tag was present in EC2 but had no value. [@tomconroy](https://github.com/tomconroy)
6
+
3
7
  ## 0.0.13
4
8
 
5
9
  * Use AWS.memoize to speed up communication with AWS [@cheald](https://github.com/cheald)
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Cap-EC2
2
2
 
3
- [![Code Climate](https://codeclimate.com/github/forward3d/cap-ec2.png)](https://codeclimate.com/github/forward3d/cap-ec2)
3
+ [![Gem Version](https://badge.fury.io/rb/cap-ec2.svg)](http://badge.fury.io/rb/cap-ec2) [![Code Climate](https://codeclimate.com/github/forward3d/cap-ec2.png)](https://codeclimate.com/github/forward3d/cap-ec2)
4
4
 
5
5
  Cap-EC2 is used to generate Capistrano namespaces and tasks from Amazon EC2 instance tags,
6
6
  dynamically building the list of servers to be deployed to.
@@ -76,7 +76,7 @@ module CapEC2
76
76
  private
77
77
 
78
78
  def instance_has_tag?(instance, key, value)
79
- instance.tags[key].split(',').map(&:strip).include?(value.to_s)
79
+ (instance.tags[key] || '').split(',').map(&:strip).include?(value.to_s)
80
80
  end
81
81
  end
82
82
  end
@@ -1,3 +1,3 @@
1
1
  module CapEC2
2
- VERSION = "0.0.13"
2
+ VERSION = '0.0.14'
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.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Sykes
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-06-03 00:00:00.000000000 Z
12
+ date: 2014-06-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler