todo_lint 0.1.0 → 0.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 686068fe84fc3df1f9b68a3232bc4272130a6191
4
- data.tar.gz: a5c69875e0ff6d09990dee6d1216ab1153ff8a7f
3
+ metadata.gz: 42201a41cdbac1da876f84a312754c8f5595cf4d
4
+ data.tar.gz: 38c19ed259f954d3156a0548358cc9f0db5c4cda
5
5
  SHA512:
6
- metadata.gz: 978754c35cc15b51db3b722619547b38826dae4ab21a053500c3023908b39213bac09449a5fc2b333ba194d31b482cec979617fdaa3e7a8525c036e8dfeecc0d
7
- data.tar.gz: b3d93d84768d834d8c3ae582c839d013605d01b50cfeac210ff7532fca505bc8cbe7fe4e39e275c4562e3eefbecb8d74e01568078ea3a85f6b9a30771d7d455b
6
+ metadata.gz: 484583f3c91b0b60eddab45932bd1c1e78593453ca7e0bcdd198aade55e0be00bc055dfef4d32a07a60217ba65f0fdf48dc8577f2a0ead7e2002433d14766965
7
+ data.tar.gz: 36965bb49a8c2d844f86b35d38958b706e2a22db6dfa5ebdd7cab6dc7c9aed69cfdff9deb758cffdbe8750a61644812141d8fe1c94f8fb7da012aca7682d9b87
data/lib/todo_lint/cli.rb CHANGED
@@ -23,7 +23,7 @@ module TodoLint
23
23
  reports = files.map do |file|
24
24
  Todo.within(File.open(file)).map do |todo|
25
25
  reporter = Reporter.new(todo,
26
- :path => path,
26
+ :path => file,
27
27
  :judge => Judge.new(todo))
28
28
  reporter.report.tap do |report|
29
29
  print Rainbow(".").public_send(report.nil? ? :green : :red)
@@ -2,5 +2,5 @@
2
2
  # it's in its own file so it can be required in the gemspec without requiring
3
3
  # everything else as well
4
4
  module TodoLint
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: todo_lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Jacobson