file_indexing 1.0.0 → 1.0.1

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.
@@ -99,7 +99,7 @@ module FileIndexing
99
99
  files = files | (collect(permit_patterns[i]));
100
100
  end
101
101
 
102
- Log.info "Files: #{files}."
102
+ Log.debug1 "Files: #{files}."
103
103
 
104
104
  # expand to absolute pathes
105
105
  files.map! {|f| File.expand_path(f)}
@@ -8,7 +8,7 @@ module FileIndexing
8
8
 
9
9
  # @param indexer_patterns_str [String]
10
10
  def initialize (indexer_patterns = nil)
11
- Log.info "Initialize index patterns #{indexer_patterns}."
11
+ Log.debug1 "Initialize index patterns #{indexer_patterns}."
12
12
  @positive_patterns = Array.new
13
13
  @negative_patterns = Array.new
14
14
  # TODO add a test (including empty collections)
@@ -49,7 +49,7 @@ module FileIndexing
49
49
  def parse_from_file(file)
50
50
  input_patterns = IO.readlines(file)
51
51
  begin
52
- Log.info "Error loading patterns=%s" % file
52
+ Log.debug1 "Error loading patterns=%s" % file
53
53
  raise IOError("Error loading patterns=%s" % file)
54
54
  end unless not input_patterns.nil?
55
55
 
@@ -57,7 +57,7 @@ module FileIndexing
57
57
  if (m = /^\s*([+-]):(.*)/.match(pattern))
58
58
  add_pattern(m[2], m[1].eql?('+') ? true : false)
59
59
  elsif (not /^\s*[\/\/|#]/.match(pattern)) # not a comment
60
- Log.info "pattern in incorrect format: #{pattern}"
60
+ Log.debug1 "pattern in incorrect format: #{pattern}"
61
61
  raise RuntimeError("pattern in incorrect format: #{pattern}")
62
62
  end
63
63
  end
@@ -1,3 +1,3 @@
1
1
  module FileIndexing
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: file_indexing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-01 00:00:00.000000000 Z
12
+ date: 2013-05-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: content_data