aloha_analyzer 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aloha_analyzer/language.rb +1 -1
- data/lib/aloha_analyzer/version.rb +1 -1
- data/spec/aloha_analyzer/user_spec.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc789569a509528cfbebe4f81ae45e30f05de9cf
|
4
|
+
data.tar.gz: f29ef51e8d3391c5560f4746eb64cd564365c9c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11ee454be8504c0b3c76c0e7ba39308b8e47a1fd676578227df65f100bb63b04f091fbd3caf1bfd1cf03f0c3bc93dba8fa2f08b96e7d939b6e9e4c516a8dcb92
|
7
|
+
data.tar.gz: 0d600798d387d2cdad1e859ba5deac02b40e8696a65e2756facedb5ad1a63e2f48a48c5deb9b7ddf64753e5c99e94c3fe132bcecad5d5fa0ef112c50bac467af
|
@@ -15,7 +15,7 @@ describe AlohaAnalyzer::User do
|
|
15
15
|
end
|
16
16
|
|
17
17
|
context 'when language is simplified chinese' do
|
18
|
-
let(:language) { 'zh-
|
18
|
+
let(:language) { 'zh-cn' }
|
19
19
|
|
20
20
|
it 'changes to chinese' do
|
21
21
|
subject.language.should eq 'zh'
|
@@ -282,8 +282,8 @@ describe AlohaAnalyzer::User do
|
|
282
282
|
context 'and some users are chinese' do
|
283
283
|
let(:users) {
|
284
284
|
[
|
285
|
-
{'id' => '1', 'lang' => 'zh-
|
286
|
-
{'id' => '2', 'lang' => 'zh-
|
285
|
+
{'id' => '1', 'lang' => 'zh-cn'},
|
286
|
+
{'id' => '2', 'lang' => 'zh-cn'},
|
287
287
|
{'id' => '3', 'lang' => 'en'},
|
288
288
|
{'id' => '4', 'lang' => 'zh-tw'}
|
289
289
|
]
|