twitter_cldr 4.4.3 → 4.4.4
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 +5 -5
- data/lib/twitter_cldr/resources/loader.rb +1 -2
- data/lib/twitter_cldr/version.rb +1 -1
- data/spec/resources/loader_spec.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 0ca62d4ce9a3409b94750ada0a8151728a46f6e1cc403ac0e59739b35f73aa2b
|
|
4
|
+
data.tar.gz: 64cf1591d2760a70804a53d7cde0651ff11540f2ba9c23d6b1bef3cb085817fe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 257ee285edd37b00f0952aed82e0dca83de802da5c4f8ece41c632e41293a70834fcb288ad10c3ddca05ea2d19108329a66693e1c7a821df5bdef57d6256c549
|
|
7
|
+
data.tar.gz: 9d0d6fe663ca79e55c041d9d8a0d75bc47d7f7ab17f3d1664ff7e79737ef2bef31b348fc08e1f8fcd56c212ac58aa770b518b8f0fc1ad49690c11e737670176b
|
|
@@ -106,13 +106,12 @@ module TwitterCldr
|
|
|
106
106
|
file_path = absolute_resource_path(path)
|
|
107
107
|
|
|
108
108
|
if File.file?(file_path)
|
|
109
|
-
File.
|
|
109
|
+
File.open(file_path, "r:UTF-8", &:read)
|
|
110
110
|
else
|
|
111
111
|
raise ResourceLoadError,
|
|
112
112
|
"Resource '#{path}' not found."
|
|
113
113
|
end
|
|
114
114
|
end
|
|
115
|
-
|
|
116
115
|
end
|
|
117
116
|
|
|
118
117
|
end
|
data/lib/twitter_cldr/version.rb
CHANGED
|
@@ -178,7 +178,7 @@ describe Loader do
|
|
|
178
178
|
|
|
179
179
|
def stub_resource_file(resource_path, content)
|
|
180
180
|
file_path = File.join(TwitterCldr::RESOURCES_DIR, resource_path)
|
|
181
|
-
allow(File).to receive(:
|
|
181
|
+
allow(File).to receive(:open).with(file_path, "r:UTF-8").and_return(content)
|
|
182
182
|
allow(File).to receive(:file?).with(file_path).and_return(true)
|
|
183
183
|
end
|
|
184
184
|
|
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.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cameron Dutro
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-04-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: camertron-eprun
|
|
@@ -3246,7 +3246,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
3246
3246
|
version: '0'
|
|
3247
3247
|
requirements: []
|
|
3248
3248
|
rubyforge_project:
|
|
3249
|
-
rubygems_version: 2.6
|
|
3249
|
+
rubygems_version: 2.7.6
|
|
3250
3250
|
signing_key:
|
|
3251
3251
|
specification_version: 4
|
|
3252
3252
|
summary: Ruby implementation of the ICU (International Components for Unicode) that
|