copy_tuner_incompatible_search 2.0.0 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d8e36a8c2fe00fe286e5c1ddead546acc1f5b697798c8c62474f01905e95358
|
4
|
+
data.tar.gz: bbd8ecb9ca27bad1a3270653d2a2288c58235a00644262e57cce53faea3c799d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f065e961d42ecc2ada50b12700a0511ec81259b943e76a33891beead260f1daa2e54c5bc67f930c5af383c2a02b5334554c577b3114340b91301aa1ce5022693
|
7
|
+
data.tar.gz: e9fa13e7a77be62c0a9a04ec55cc0ecebfc6696f618e638659ab7386689e78adc687c266ecd86a7a7cba8c8faab153fb49b9413f36582f7f355f6b39bf1349ec
|
data/CHANGELOG.md
CHANGED
@@ -137,7 +137,7 @@ module CopyTunerIncompatibleSearch
|
|
137
137
|
end
|
138
138
|
|
139
139
|
def blurbs_csv_text
|
140
|
-
File.read(blurbs_path)
|
140
|
+
File.read(blurbs_path, encoding: 'bom|utf-8')
|
141
141
|
end
|
142
142
|
|
143
143
|
def search_ignored_keys
|
@@ -152,9 +152,7 @@ module CopyTunerIncompatibleSearch
|
|
152
152
|
keys_with_special_chars = []
|
153
153
|
all_blurb_keys = []
|
154
154
|
CSV.parse(blurbs_csv_text, headers: true, quote_char: '"').each do |row|
|
155
|
-
|
156
|
-
# row['key']
|
157
|
-
key = row[0]
|
155
|
+
key = row['key']
|
158
156
|
all_blurb_keys << key
|
159
157
|
translation = row[1]
|
160
158
|
if translation.match?(/&#\d+;|&\w+;/) && !key.match?(/[_.]html$/)
|