rpack 0.0.3 → 0.0.4

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 (2) hide show
  1. data/lib/packer.rb +4 -0
  2. metadata +2 -2
@@ -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
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 3
9
- version: 0.0.3
8
+ - 4
9
+ version: 0.0.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Eustaquio 'TaQ' Rangel