rpack 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/packer.rb +4 -0
- metadata +2 -2
data/lib/packer.rb
CHANGED
@@ -49,6 +49,10 @@ module Rpack
|
|
49
49
|
incfile = true
|
50
50
|
next if !File.exist?(f)
|
51
51
|
contents = File.readlines(f)
|
52
|
+
if inside
|
53
|
+
insidecontent = extract_contents(contents,key)
|
54
|
+
next if insidecontent.size<1
|
55
|
+
end
|
52
56
|
if extract
|
53
57
|
contents = extract_contents(contents,key,begin_p,end_p)
|
54
58
|
incfile = contents.size>0
|