dockerfilemerge 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0d599ded6bbbf1ead3a4579de11f1e238a506f8b
4
- data.tar.gz: 711775e96daeb5264fb2177d1ca6056d7e055545
3
+ metadata.gz: 0b93ffa353f3da9c35d90fb99eaaeb5306fdb4d6
4
+ data.tar.gz: 2438d2c2eb300fcd4b6e70c00875f70899eaf43a
5
5
  SHA512:
6
- metadata.gz: 5ba0cd5909454789d330506239b7dd61157a7419ba3d1cccef0061dfca1def2b2e0f6491f0f0c55c7f50a6fc0f4645455c48aabcb7c71a4d26ba95a30bd32997
7
- data.tar.gz: 9a2de95dfa4e9ddc0d582f38b13b4b7fb31b8157838212fccf304d43ae2ed10f805b7feab67148df70a601eb074d7a8ee479d5a475eeb7e6a7fab7ccf9297615
6
+ metadata.gz: d1d3e32dcd3106cf1f24ebca0f5acdbc140af8771abe3947d409de8733cb4385ef5a645be0bab69ec30e83bb6696829aabbf2322fba5d388878ccf90c4ddd074
7
+ data.tar.gz: cb03b7442734a03031e0f3fddb3da3876886de21d5058415515cac7eb9097b4821163f85be6ef705f4f5c37b1bd954005b5ac3406e6ba6cc68d8aef1698338ff
checksums.yaml.gz.sig CHANGED
Binary file
@@ -66,7 +66,8 @@ class DockerfileMerge
66
66
  end
67
67
 
68
68
  singlify lines, /^FROM /
69
- singlify lines, /^CMD /
69
+ singlify lines, /^CMD /
70
+ lines.grep(/^# Pull /)[0..-2].each {|x| lines.delete x}
70
71
 
71
72
  @to_s = lines.join("\n")
72
73
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dockerfilemerge
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
  - James Robertson
metadata.gz.sig CHANGED
Binary file