convection 0.2.2 → 0.2.3

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: 0af26e690c4ed714efb0befe58bbfceedca3235c
4
- data.tar.gz: 9e6d1cca9a5cbba8eaa53072fa7005b3be49d74f
3
+ metadata.gz: 6497eb27ff049e412ce12d11c770f9b3ca8ecca5
4
+ data.tar.gz: 51819a3f47c0920fb701cdadec9300c44d456f74
5
5
  SHA512:
6
- metadata.gz: 5e1dd60cb1def647b0aad5a5ebac2aafd283e6c54bdf024db70ed2d287e7c999e8a9c80922aa21de08dc793671f2625432d9eeabce041a613fd2b0c8853f9687
7
- data.tar.gz: 4672e928d3ec4db7f9de14e8bb82d037d5a79e475aba13ad470284925db886210b980d5669c3e9ddb128aae75bd881dd82692b563e224fbc4ffe04a8dd1b8311
6
+ metadata.gz: 1ee6826c5e24d9a14ea055073114ea7237f4836ee3c96fc2f4b73daff785eed6b1aff7b02eb0067600df8cad03f88b53b252684279e65a360a529fbeeb09a72c
7
+ data.tar.gz: 8c5d71b1705904b34e387416b42cccbdd013380841b6959320c53f3fd3ecbe6c89178d984c99fc8adb084365b0b0a90356e71c145eb8ae21bb68fe97f7a96284
@@ -55,6 +55,7 @@ module Convection
55
55
  attribute :protocol
56
56
 
57
57
  attribute :source
58
+ attribute :destination
58
59
  attribute :destination_group
59
60
  attribute :source_group
60
61
  attribute :source_group_owner
@@ -66,6 +67,7 @@ module Convection
66
67
  'ToPort' => to
67
68
  }.tap do |rule|
68
69
  rule['CidrIp'] = source unless source.nil?
70
+ rule['CidrIp'] = destination unless destination.nil?
69
71
  rule['DestinationSecurityGroupId'] = destination_group unless destination_group.nil?
70
72
  rule['SourceSecurityGroupId'] = source_group unless source_group.nil?
71
73
  rule['SourceSecurityGroupOwnerId'] = source_group_owner unless source_group_owner.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: convection
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Manero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-15 00:00:00.000000000 Z
11
+ date: 2015-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk