minimal_pipeline 0.1.1 → 0.1.2

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/minimal_pipeline/ec2.rb +3 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0269cb3b98b76aaa94744fd7afd155f4eb539060bc44805ef93de56a09a403de'
4
- data.tar.gz: 314f3eb756620b6a77e77b613e10480c697f42480d975ce8cd264e53b2cae887
3
+ metadata.gz: 0044006d41ffae53282319142bc6c21c4190cd6ad49928c270569d266cad1352
4
+ data.tar.gz: eaa52b6a5a40dfc98a166b6f8d8994a101e14d2baeaa5055b8885a1ffd81f202
5
5
  SHA512:
6
- metadata.gz: 25c1f7a9de134a874a32cc34c40c35ac8346cdd30a32c8e1c54950294eb12044d74890c9368ea63bee1d65fe88d70f934cd7100f0715253031a4c8c6090231f2
7
- data.tar.gz: 941b5c26d156a84fc04063ae0225fa0554d05c3f6ec2172e7773ade4c17b066d5507e529e763467bf29cb22cacf792d3f8dc37cf19511469dfcb957cc62b6abf
6
+ metadata.gz: f36001cea2792d7381fa5b4fd22d7c4d584cbd21c796da418bb776e3b03058426350a912706c63949e455fd05cbc097416c9b2cfcba8435d8cfaafa27328453e
7
+ data.tar.gz: 958cf22fef4106abcf36af2ddc8da1b6d21412c6e2aec88968623f41ef34a3819d2600566809fade20ac4acaf2278536343395134d4d71617186057e426c09da
@@ -120,9 +120,9 @@ class MinimalPipeline
120
120
  new_mappings = []
121
121
 
122
122
  block_device_mappings.each do |mapping|
123
- snapshot_id = mapping.ebs.snapshot_id
124
- new_snapshot_id = copy_snapshot(snapshots[snapshot_id])
125
- mapping.ebs.snapshot_id = new_snapshot_id
123
+ snapshot_id = mapping['ebs']['snapshot_id']
124
+ new_snapshot_id = copy_snapshot(snapshot_id)
125
+ mapping['ebs']['snapshot_id'] = new_snapshot_id
126
126
  new_mappings << mapping
127
127
  end
128
128
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minimal_pipeline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mayowa Aladeojebi
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-11-05 00:00:00.000000000 Z
12
+ date: 2018-11-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk