spellr 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +14 -14
- data/lib/.spellr.yml +2 -0
- data/lib/spellr/backports.rb +16 -6
- data/lib/spellr/base_reporter.rb +54 -0
- data/lib/spellr/check.rb +54 -20
- data/lib/spellr/cli.rb +13 -6
- data/lib/spellr/column_location.rb +1 -1
- data/lib/spellr/config.rb +6 -45
- data/lib/spellr/config_loader.rb +10 -6
- data/lib/spellr/file.rb +15 -2
- data/lib/spellr/file_list.rb +21 -17
- data/lib/spellr/interactive.rb +51 -116
- data/lib/spellr/interactive_add.rb +64 -0
- data/lib/spellr/interactive_replacement.rb +69 -0
- data/lib/spellr/key_tuner/naive_bayes.rb +49 -91
- data/lib/spellr/key_tuner/possible_key.rb +36 -32
- data/lib/spellr/key_tuner/stats.rb +26 -7
- data/lib/spellr/language.rb +28 -44
- data/lib/spellr/line_location.rb +13 -7
- data/lib/spellr/line_tokenizer.rb +35 -134
- data/lib/spellr/output.rb +62 -0
- data/lib/spellr/output_stubbed.rb +58 -0
- data/lib/spellr/quiet_reporter.rb +13 -0
- data/lib/spellr/reporter.rb +9 -13
- data/lib/spellr/token.rb +14 -16
- data/lib/spellr/token_regexps.rb +103 -0
- data/lib/spellr/tokenizer.rb +35 -14
- data/lib/spellr/version.rb +1 -1
- data/lib/spellr/wordlist.rb +29 -25
- data/lib/spellr/wordlist_reporter.rb +16 -8
- data/lib/spellr.rb +1 -0
- data/wordlists/ruby.txt +1046 -13
- metadata +9 -2
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spellr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dana Sherson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-10-
|
11
|
+
date: 2019-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -167,6 +167,7 @@ files:
|
|
167
167
|
- lib/.spellr.yml
|
168
168
|
- lib/spellr.rb
|
169
169
|
- lib/spellr/backports.rb
|
170
|
+
- lib/spellr/base_reporter.rb
|
170
171
|
- lib/spellr/check.rb
|
171
172
|
- lib/spellr/cli.rb
|
172
173
|
- lib/spellr/column_location.rb
|
@@ -175,6 +176,8 @@ files:
|
|
175
176
|
- lib/spellr/file.rb
|
176
177
|
- lib/spellr/file_list.rb
|
177
178
|
- lib/spellr/interactive.rb
|
179
|
+
- lib/spellr/interactive_add.rb
|
180
|
+
- lib/spellr/interactive_replacement.rb
|
178
181
|
- lib/spellr/key_tuner/data.yml
|
179
182
|
- lib/spellr/key_tuner/naive_bayes.rb
|
180
183
|
- lib/spellr/key_tuner/possible_key.rb
|
@@ -182,9 +185,13 @@ files:
|
|
182
185
|
- lib/spellr/language.rb
|
183
186
|
- lib/spellr/line_location.rb
|
184
187
|
- lib/spellr/line_tokenizer.rb
|
188
|
+
- lib/spellr/output.rb
|
189
|
+
- lib/spellr/output_stubbed.rb
|
190
|
+
- lib/spellr/quiet_reporter.rb
|
185
191
|
- lib/spellr/reporter.rb
|
186
192
|
- lib/spellr/string_format.rb
|
187
193
|
- lib/spellr/token.rb
|
194
|
+
- lib/spellr/token_regexps.rb
|
188
195
|
- lib/spellr/tokenizer.rb
|
189
196
|
- lib/spellr/version.rb
|
190
197
|
- lib/spellr/wordlist.rb
|