dockerfilemerge 0.4.4 → 0.4.5

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: addff649510fd6d00e9a4d4a0bf0b349d332cc01
4
- data.tar.gz: 5e6cd57b8d85ea072fae24f3f7dd6feb1b8dd9be
3
+ metadata.gz: 63e67e341397039d077f5bc26fa7cd918355e0da
4
+ data.tar.gz: 65eb56fbe4406631673557a13af5bedcab2d679a
5
5
  SHA512:
6
- metadata.gz: cb4e1a26b19207a7329d77c5e2c8f3ae6b1f58c7d65a4b3a9204aaba42b7357c18ce6feed37cd73c310087c3bce2395b1fbcb602d396bbd3a9599417fca1d4c9
7
- data.tar.gz: e078b0c7b60737f2e5e6dccfdd78200cbcccb235e568f2d6ccd219aec068c4028b73faa3e095d9ae31b172ff8589dd864b7abcc61b6c870cffe9a6d19d57c733
6
+ metadata.gz: 1a15313477768d43797ea14aecc97354c133804a1ad673c7fe116b95cfd0d6287bcd28c959142cbc2c07de8370239cf084b1040372905245f1107bc0d9d4758f
7
+ data.tar.gz: a0a0168987ef030989ca32c8e537c0cd08d739c9b55e22a581533d400c00bbcd8b5d106c1ee19b2fec80dfea7988f5319ccc3bde0beb922c5079a2767805cb31
checksums.yaml.gz.sig CHANGED
Binary file
@@ -88,13 +88,10 @@ class DockerfileMerge
88
88
 
89
89
  when :run
90
90
 
91
- # find the last run command and add the present run command after it
91
+ lines << line
92
+ lines << ' ' + r[1..-1].join("\n ").rstrip if r.length > 1
93
+
92
94
 
93
- i = lines.index lines.grep(/RUN/).last
94
- i+=1 while lines[i][/\\\s*$/]
95
- lines.insert(i+1, line)
96
- lines.insert(i+2, ' ' + r[1..-1].join("\n ").rstrip) if r.length > 1
97
-
98
95
  when :del
99
96
 
100
97
  exp, filter = line.match(/-\/([^\/]+)\/(\[[^\]]+\])?/).captures
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.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file