nitpick 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.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/bin/nitpick +1 -1
  3. metadata +1 -1
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 0
3
- :patch: 0
3
+ :patch: 1
4
4
  :major: 1
data/bin/nitpick CHANGED
@@ -41,7 +41,7 @@ class Module
41
41
  # Except means don't match this
42
42
  return if NitpickOptions[:except].any? {|namespace| /#{namespace}/ =~ self.to_s }
43
43
  # Only means it must match one
44
- return unless NitpickOptions[:only].find? {|namespace| /#{namespace}/ =~ self.to_s } or
44
+ return unless NitpickOptions[:only].find {|namespace| /#{namespace}/ =~ self.to_s } or
45
45
  NitpickOptions[:only].empty?
46
46
 
47
47
  warnings = Nitpickers.map do |nitpicker_class|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nitpick
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Clark