notes-cli 1.0.4 → 1.0.5

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.
@@ -46,7 +46,7 @@ class Notes
46
46
 
47
47
  arg_list.reject(&:empty?).each do |set|
48
48
  flag, *args = set
49
- args.map! { |arg| arg.delete("/") } #{ }"log/" => "log"
49
+ args.map! { |arg| arg.delete("/") } # "log/" => "log"
50
50
 
51
51
  case flag
52
52
  when '-f', '--flags' then options[:flags].concat(args)
@@ -66,11 +66,6 @@ class Notes
66
66
  end
67
67
  end
68
68
 
69
- # Read and parse all files as specified in the options
70
- def find_all
71
- Notes.files.each { |f| Notes.parse_file(f) }
72
- end
73
-
74
69
  # Scan a file for annotations and output numbered lines for each
75
70
  def parse_file(filename)
76
71
  name = filename.gsub(Dir.pwd, '')
@@ -109,7 +104,11 @@ class Notes
109
104
  end
110
105
  end
111
106
 
112
- end
107
+ # Read and parse all files as specified in the options
108
+ def find_all
109
+ Notes.files.each { |f| Notes.parse_file(f) }
110
+ end
113
111
 
112
+ end
114
113
  end
115
114
 
@@ -1,3 +1,3 @@
1
1
  class Notes
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notes-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -41,7 +41,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
41
41
  version: '0'
42
42
  requirements: []
43
43
  rubyforge_project:
44
- rubygems_version: 1.8.24
44
+ rubygems_version: 1.8.17
45
45
  signing_key:
46
46
  specification_version: 3
47
47
  summary: A tool for managing source code annotations