todofind 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
File without changes
data/lib/todofind.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'colored'
2
2
  require 'json'
3
+ require 'ptools'
3
4
  require 'todofind/config'
4
5
  require 'todofind/finder'
5
6
  require 'todofind/formatters/default_formatter'
@@ -47,7 +47,9 @@ module TodoFind
47
47
  data = []
48
48
 
49
49
  file_list.each do |file|
50
- did_output_filename = false
50
+ if File.binary? file
51
+ next
52
+ end
51
53
 
52
54
  file_data = { :filename => file, :comments => [] }
53
55
 
data/lib/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module TodoFind
2
2
  # Private: The version number.
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
@@ -1,5 +1,3 @@
1
- # TODO: Write the unit tests.
2
-
3
1
  $: << File.expand_path("../../lib/.", __FILE__)
4
2
  require 'riot'
5
3
  require 'todofind'
data/todofind.gemspec CHANGED
@@ -16,4 +16,6 @@ Gem::Specification.new do |gem|
16
16
  gem.version = TodoFind::VERSION
17
17
 
18
18
  gem.add_development_dependency "tomdoc"
19
+
20
+ gem.add_dependency "ptools"
19
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: todofind
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:
@@ -27,6 +27,22 @@ dependencies:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: ptools
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
30
46
  description: Find comments in files that contain certain labels
31
47
  email:
32
48
  - mdszy@me.com
@@ -41,7 +57,7 @@ files:
41
57
  - README.md
42
58
  - Rakefile
43
59
  - bin/todofind
44
- - config.json
60
+ - examples/config.json
45
61
  - lib/todofind.rb
46
62
  - lib/todofind/config.rb
47
63
  - lib/todofind/finder.rb