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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f719ac055973430d7ee137a7068a06353a318a32
4
- data.tar.gz: c8f4263db94e40629ddba48bf597abb97ff887a4
3
+ metadata.gz: fc789569a509528cfbebe4f81ae45e30f05de9cf
4
+ data.tar.gz: f29ef51e8d3391c5560f4746eb64cd564365c9c8
5
5
  SHA512:
6
- metadata.gz: 6363b29bad4f448c625400e3fa144be1e6e82d0c704e7c6d403ebc23a29c0ce1e0f020d060feb16e57478cf24baeafa664351a2a2660dea044ac08af957c610d
7
- data.tar.gz: 751ebf163910a7aafe599bff0e34496d2c386b1525532da3b4bc9d0d138f693267c5d5b572cc7d1ab88e07589131a756e1aedda01a6a540c5a59d692781c8bd1
6
+ metadata.gz: 11ee454be8504c0b3c76c0e7ba39308b8e47a1fd676578227df65f100bb63b04f091fbd3caf1bfd1cf03f0c3bc93dba8fa2f08b96e7d939b6e9e4c516a8dcb92
7
+ data.tar.gz: 0d600798d387d2cdad1e859ba5deac02b40e8696a65e2756facedb5ad1a63e2f48a48c5deb9b7ddf64753e5c99e94c3fe132bcecad5d5fa0ef112c50bac467af
@@ -17,7 +17,7 @@ module AlohaAnalyzer
17
17
  def self.aliases
18
18
  {
19
19
  'en-gb' => 'en',
20
- 'zh-cb' => 'zh',
20
+ 'zh-cn' => 'zh',
21
21
  'zh-tw' => 'zh',
22
22
  'ca' => 'es',
23
23
  'xx-lc' => 'en',
@@ -1,3 +1,3 @@
1
1
  module AlohaAnalyzer
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
@@ -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-cb' }
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-cb'},
286
- {'id' => '2', 'lang' => 'zh-cb'},
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
  ]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aloha_analyzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthieu Aussaguel