yard-spellcheck 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,8 @@
1
+ ### 0.1.4 / 2011-06-11
2
+
3
+ * Fixed typos in {YARD::Spellcheck::Checker} with respect to the
4
+ `:ignore` / `:add` options. (thanks cldwalker)
5
+
1
6
  ### 0.1.3 / 2011-06-08
2
7
 
3
8
  * Require yard ~> 0.6.
@@ -1,5 +1,5 @@
1
1
  name: yard-spellcheck
2
- version: 0.1.3
2
+ version: 0.1.4
3
3
  summary: Spellcheck your YARD documentat
4
4
  description:
5
5
  Adds the 'spellcheck' command to YARD, which will spellcheck every
@@ -83,7 +83,7 @@ module YARD
83
83
  end
84
84
 
85
85
  opts.on('-I','--ignore WORD','Words to ignore') do |word|
86
- @checker.ignored << word
86
+ @checker.ignore << word
87
87
  end
88
88
 
89
89
  opts.on('-a','--add WORD [...]','Adds a word') do |word|
@@ -53,7 +53,7 @@ module YARD
53
53
  @added = Set[]
54
54
 
55
55
  if options[:ignore]
56
- @ignored += options[:add]
56
+ @ignore += options[:ignore]
57
57
  end
58
58
 
59
59
  if options[:add]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: yard-spellcheck
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.3
5
+ version: 0.1.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Postmodern
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-06-08 00:00:00 Z
13
+ date: 2011-06-11 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: yard