spellr 0.4.0 → 0.4.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 +6 -1
- data/Gemfile.lock +2 -2
- data/lib/.spellr.yml +6 -1
- data/lib/spellr/line_tokenizer.rb +1 -1
- data/lib/spellr/version.rb +1 -1
- data/lib/spellr/wordlist.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e259544899eb28d6a4b19e521eed16b12bb316488241d3a79af01c22873515f1
|
4
|
+
data.tar.gz: f519dcb4f8a434e1cc619f389c0719263d894ca44ac3996b07acef89afcef1c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eef1d7df649bf7f6b1a5b2c3e7cac423627b4aea17221e8ca5464c380d5de9ee7fba45183afc5373aeaa974272a7cd7127809935cdd3addae94d30c0d9f858d4
|
7
|
+
data.tar.gz: c314a2230af151f7098cc344d78b90f9b3c9696870b1056cc50ac3b5547cdbd367e62ebb98e2bdbd101f130881b80b4f050cd71ffc9db3c62fd16e074ac5c1e3
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,9 @@
|
|
1
|
-
# v0.4.
|
1
|
+
# v0.4.1
|
2
|
+
- fix the private method 'touch' issue when generating wordlists
|
3
|
+
- fix the js/javascript defaults being named differently (now consistently is named javascript)
|
4
|
+
- add .jsx.snap and .tsx.snap as extensions using the javascript wordlists
|
5
|
+
|
6
|
+
# v0.4.0
|
2
7
|
- LOTS of performance improvements. it's about 4 times faster
|
3
8
|
- significantly better key heuristic matching, with configurable weight (`key_heuristic_weight`).
|
4
9
|
- Update FastIgnore dependency.
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
spellr (0.4.
|
4
|
+
spellr (0.4.1)
|
5
5
|
fast_ignore (~> 0.4.0)
|
6
6
|
|
7
7
|
GEM
|
@@ -10,7 +10,7 @@ GEM
|
|
10
10
|
ast (2.4.0)
|
11
11
|
coderay (1.1.2)
|
12
12
|
diff-lcs (1.3)
|
13
|
-
fast_ignore (0.4.
|
13
|
+
fast_ignore (0.4.1)
|
14
14
|
jaro_winkler (1.5.3)
|
15
15
|
method_source (0.9.2)
|
16
16
|
parallel (1.17.0)
|
data/lib/.spellr.yml
CHANGED
@@ -52,6 +52,8 @@ languages:
|
|
52
52
|
- '*.tsx'
|
53
53
|
- '*.js'
|
54
54
|
- '*.ts'
|
55
|
+
- '*.jsx.snap'
|
56
|
+
- '*.tsx.snap'
|
55
57
|
- '*.coffee'
|
56
58
|
- '*.haml'
|
57
59
|
- '*.erb'
|
@@ -61,7 +63,7 @@ languages:
|
|
61
63
|
- '*.scss'
|
62
64
|
- '*.sass'
|
63
65
|
- '*.less'
|
64
|
-
|
66
|
+
javascript:
|
65
67
|
includes:
|
66
68
|
- '*.html'
|
67
69
|
- '*.hml'
|
@@ -69,6 +71,8 @@ languages:
|
|
69
71
|
- '*.tsx'
|
70
72
|
- '*.js'
|
71
73
|
- '*.ts'
|
74
|
+
- '*.jsx.snap'
|
75
|
+
- '*.tsx.snap'
|
72
76
|
- '*.coffee'
|
73
77
|
- '*.haml'
|
74
78
|
- '*.erb'
|
@@ -88,6 +92,7 @@ languages:
|
|
88
92
|
- '*.css'
|
89
93
|
- '*.sass'
|
90
94
|
- '*.scss'
|
95
|
+
- '*.less'
|
91
96
|
xml:
|
92
97
|
includes:
|
93
98
|
- '*.xml'
|
@@ -169,7 +169,7 @@ module Spellr
|
|
169
169
|
end
|
170
170
|
end
|
171
171
|
|
172
|
-
# this is in a method
|
172
|
+
# this is in a method because the minimum word length stuff was throwing it off
|
173
173
|
# TODO: move to config maybe?
|
174
174
|
def min_alpha_re
|
175
175
|
/(?:
|
data/lib/spellr/version.rb
CHANGED
data/lib/spellr/wordlist.rb
CHANGED
@@ -82,8 +82,6 @@ module Spellr
|
|
82
82
|
Spellr.config.clear_cache if to_a.length == 1
|
83
83
|
end
|
84
84
|
|
85
|
-
private
|
86
|
-
|
87
85
|
def touch
|
88
86
|
return if exist?
|
89
87
|
|
@@ -92,6 +90,8 @@ module Spellr
|
|
92
90
|
remove_instance_variable(:@exist)
|
93
91
|
end
|
94
92
|
|
93
|
+
private
|
94
|
+
|
95
95
|
def raise_unless_exists?
|
96
96
|
return if exist?
|
97
97
|
|
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.4.
|
4
|
+
version: 0.4.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-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|