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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/dockerfilemerge.rb +3 -6
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63e67e341397039d077f5bc26fa7cd918355e0da
|
4
|
+
data.tar.gz: 65eb56fbe4406631673557a13af5bedcab2d679a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a15313477768d43797ea14aecc97354c133804a1ad673c7fe116b95cfd0d6287bcd28c959142cbc2c07de8370239cf084b1040372905245f1107bc0d9d4758f
|
7
|
+
data.tar.gz: a0a0168987ef030989ca32c8e537c0cd08d739c9b55e22a581533d400c00bbcd8b5d106c1ee19b2fec80dfea7988f5319ccc3bde0beb922c5079a2767805cb31
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/dockerfilemerge.rb
CHANGED
@@ -88,13 +88,10 @@ class DockerfileMerge
|
|
88
88
|
|
89
89
|
when :run
|
90
90
|
|
91
|
-
|
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
metadata.gz.sig
CHANGED
Binary file
|