formatron 0.1.4 → 0.1.5

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: e23febc96d23ac6ff4f4470c71576e041df88940
4
- data.tar.gz: 18f87f4c18052dcf49e427ed868c829d1e716d73
3
+ metadata.gz: 22cf0457aecc2b9ff282793fbb926cea4f1e1dd1
4
+ data.tar.gz: a35f99d1091ce640e925018905f5e73b71720369
5
5
  SHA512:
6
- metadata.gz: 88c4d3022729f3462ae8152ab1436f2b9e718b427b7f37f7df03b314ad77510505e97b9a077533e5db3e83b280034c36ab65a21787f7c2a5516ffab8adf62a0d
7
- data.tar.gz: 7a7068ff48ab616219e4e9111348b79829eee540dca0fcd1c5d8224b45e9a4c275ebe81fd79ace810548a45b7b64a23264bb2bbf8e2ca347be3048933326bcf1
6
+ metadata.gz: fa8f75d1ee20ed1c62d85dd55af4533273b5bb4e805a58c7b1f86fdfc8085858dadbebf1668afc8e457aed2ab1455763f059c0bf41820eccaf99062aa25af0e9
7
+ data.tar.gz: 57effa6ab0a633f3aeebec4e3c1b37ec75f133a66bffaa2905d086462af89044330511b284830804936207fd1516bae14ff6850c62391681d880464b569b2a5e
@@ -50,7 +50,9 @@ class Formatron
50
50
  end
51
51
  # rubocop:enable Metrics/MethodLength
52
52
 
53
+ # rubocop:disable Metrics/MethodLength
53
54
  def merge(resources:)
55
+ return if @source_cidrs.length == 0
54
56
  resources[@network_acl_id] = Resources::EC2.network_acl(
55
57
  vpc: @vpc_id
56
58
  )
@@ -1,4 +1,4 @@
1
1
  # add version to class
2
2
  class Formatron
3
- VERSION = '0.1.4'
3
+ VERSION = '0.1.5'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formatron
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Halliday