twitter_cldr 3.4.0 → 3.5.0

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: 24c9124b0a865bb5129c1ee452c64523388c511c
4
- data.tar.gz: b4dcd2273f4220961ef9cb0f08e028003e3d859a
3
+ metadata.gz: c98dcf19490f99d16be160956f9398cecd73f9ae
4
+ data.tar.gz: a2f9f7696e6a7faf40ab9c7861b1ec26f35a8177
5
5
  SHA512:
6
- metadata.gz: 4c0cb24e46abd72a293cba324d00e03b973cdf00f40ba3f11fccd44fe71e378ab9d5a06a03acb4f6a71aeb3f60f1e91a1da714caae2e52afafeeebd97f6c6cbf
7
- data.tar.gz: c7f81da3faeb01ab877a54fe66e7bcb68117dc015d321d84592dd79303f1407386cc3a413095f53d8ed3bf72821168ce52e74b17600489525e500cbe6ac23206
6
+ metadata.gz: 3a74e79f927faeef96b86d119a0596e7345e3be9c9dd7f16adf32f55e68184e66ab7377fb9bb42471204ca4954c6ac28d4eaccb1af5bf078dd1ad9723da05b17
7
+ data.tar.gz: f176da6b6eac7b64ac012f8e9cae2566ef4525192716612668d24ecb4a0ba1a9cfdf3f50c75e664d7c2f98188ef65578157f96895548e0dc14b151162e217cbf
data/History.txt CHANGED
@@ -1,3 +1,6 @@
1
+ == 3.5.0
2
+ * Only add JSON as a dependency if running under Ruby < 2 (#191).
3
+
1
4
  == 3.4.0
2
5
  * Add units support, eg. "12 degrees Celsius", etc.
3
6
 
@@ -4,5 +4,5 @@
4
4
  # http://www.apache.org/licenses/LICENSE-2.0
5
5
 
6
6
  module TwitterCldr
7
- VERSION = '3.4.0'
7
+ VERSION = '3.5.0'
8
8
  end
data/twitter_cldr.gemspec CHANGED
@@ -14,7 +14,8 @@ Gem::Specification.new do |s|
14
14
  s.has_rdoc = true
15
15
  s.summary = "Ruby implementation of the ICU (International Components for Unicode) that uses the Common Locale Data Repository to format dates, plurals, and more."
16
16
 
17
- s.add_dependency 'json', '~> 1.0'
17
+ # json gem since v2.0 requries Ruby ~> 2.0
18
+ s.add_dependency 'json', '~> 1.0' if RUBY_VERSION < '2'
18
19
  s.add_dependency 'camertron-eprun'
19
20
  s.add_dependency 'tzinfo'
20
21
  s.add_dependency 'cldr-plurals-runtime-rb', '~> 1.0.0'
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter_cldr
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 3.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cameron Dutro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-08 00:00:00.000000000 Z
11
+ date: 2016-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: json
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '1.0'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: camertron-eprun
29
15
  requirement: !ruby/object:Gem::Requirement