jkproof 1.1.2 → 1.1.3
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 -0
- data/Gemfile.lock +1 -1
- data/lib/jkproof/sentence.rb +4 -4
- data/lib/jkproof/version.rb +1 -1
- 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: 2928cc7b5794c0a9204c9e1a18de9480d410c6fbd32f41560af28cf5a9184f86
|
4
|
+
data.tar.gz: a90fe135a4b9eaa3cc3d78d13b6ec0d5e27160c100b8f37afea9e92e252d04d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96d4a39be90ab7d1a131c6f7663a031418d000fbe7e70ce835dc326856ea8b2f5f333799656b4d30b64c8cc912e2de89bb2350f99e1ed6706e201b87b368c7aa
|
7
|
+
data.tar.gz: da0d75018ca32cac561798766fc8f6764d242b89c39f061410f37c05f30185dc05f924a8147f41980007c0a2c3cede0c8626c6493ea056a4dae5810b8e7dbab1
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/jkproof/sentence.rb
CHANGED
@@ -35,7 +35,7 @@ module Jkproof
|
|
35
35
|
wrongs = fetch_wrong_words_than_long_correct_word(word['correct'], word['wrongs'])
|
36
36
|
wrongs.each do |wrong|
|
37
37
|
if excluded_correct_word.include?(wrong)
|
38
|
-
wrong_words.push(correct: word['correct'], wrong: wrong)
|
38
|
+
wrong_words.push(type: 'local', correct: word['correct'], wrong: wrong)
|
39
39
|
excluded_correct_word = excluded_correct_word.gsub(wrong, '####')
|
40
40
|
end
|
41
41
|
end
|
@@ -47,8 +47,8 @@ module Jkproof
|
|
47
47
|
correct_word = word['correct']
|
48
48
|
word['wrongs'].each do |wrong|
|
49
49
|
if excluded_correct_word.include?(wrong)
|
50
|
-
wrong_words.push(wrong: wrong, correct: correct_word)
|
51
|
-
|
50
|
+
wrong_words.push(type: 'local', wrong: wrong, correct: correct_word)
|
51
|
+
excluded_correct_word = excluded_correct_word.gsub(wrong, '####')
|
52
52
|
end
|
53
53
|
end
|
54
54
|
end
|
@@ -78,7 +78,7 @@ module Jkproof
|
|
78
78
|
next unless r['Surface']
|
79
79
|
next unless r['ShitekiWord']
|
80
80
|
|
81
|
-
@yahoo_words.push(correct: r['ShitekiWord'], wrong: r['Surface'])
|
81
|
+
@yahoo_words.push(type: 'Yahoo', correct: r['ShitekiWord'], wrong: r['Surface'])
|
82
82
|
end
|
83
83
|
end
|
84
84
|
end
|
data/lib/jkproof/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jkproof
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tosite
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|