twitter_cldr 4.4.0 → 4.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/twitter_cldr/shared/caser.rb +2 -0
- data/lib/twitter_cldr/version.rb +1 -1
- data/spec/shared/caser_spec.rb +9 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86755164899ce2e61eceda0bdd065091cff3c06d
|
4
|
+
data.tar.gz: de3aab2bae85c48cc15215df2248ab83d44d8e91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46d89e23e975a868f389fdb6d11aaab63e0fe8f66ad2f5442a5deb54afbc24db9ee03305a259bc4f144134693b8afb6c6b154ec6cb3f729f719549d4b0a11aec
|
7
|
+
data.tar.gz: deb156b43344b11924b1725dd5f0a3aaa421f1e2ec9d45c8379cd5c69a29984a333cdc578d8b6170eb32b209996bf7c7b8ca671691a28ce62614ed76850f3baf
|
data/lib/twitter_cldr/version.rb
CHANGED
data/spec/shared/caser_spec.rb
CHANGED
@@ -62,18 +62,25 @@ describe Caser do
|
|
62
62
|
)
|
63
63
|
end
|
64
64
|
|
65
|
-
it '
|
65
|
+
it 'titlecases a Cyrillic sample' do
|
66
66
|
str = 'ВЛАДИ́МИР ВЛАДИ́МИРОВИЧ ПУ́ТИН'
|
67
67
|
expect(Caser.titlecase(str)).to eq(
|
68
68
|
'Влади́мир Влади́мирович Пу́тин'
|
69
69
|
)
|
70
70
|
end
|
71
71
|
|
72
|
-
it '
|
72
|
+
it 'titlecases a Greek sample' do
|
73
73
|
str = 'ΑΛΦΑΒΗΤΙΚΌΣ ΚΑΤΆΛΟΓΟΣ'
|
74
74
|
expect(Caser.titlecase(str)).to eq(
|
75
75
|
'Αλφαβητικόσ Κατάλογοσ'
|
76
76
|
)
|
77
77
|
end
|
78
|
+
|
79
|
+
it 'titlecases a Japanese example' do
|
80
|
+
str = '日本語'
|
81
|
+
expect(Caser.titlecase(str)).to eq(
|
82
|
+
'日本語'
|
83
|
+
)
|
84
|
+
end
|
78
85
|
end
|
79
86
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitter_cldr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.4.
|
4
|
+
version: 4.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cameron Dutro
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: camertron-eprun
|
@@ -3245,7 +3245,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
3245
3245
|
version: '0'
|
3246
3246
|
requirements: []
|
3247
3247
|
rubyforge_project:
|
3248
|
-
rubygems_version: 2.
|
3248
|
+
rubygems_version: 2.5.2
|
3249
3249
|
signing_key:
|
3250
3250
|
specification_version: 4
|
3251
3251
|
summary: Ruby implementation of the ICU (International Components for Unicode) that
|