json_pure 1.7.2 → 1.7.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +2 -0
- data/VERSION +1 -1
- data/json.gemspec +1 -1
- data/json_pure.gemspec +1 -1
- data/lib/json/common.rb +4 -1
- data/lib/json/version.rb +1 -1
- metadata +2 -2
data/CHANGES
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.7.
|
1
|
+
1.7.3
|
data/json.gemspec
CHANGED
data/json_pure.gemspec
CHANGED
data/lib/json/common.rb
CHANGED
@@ -405,7 +405,10 @@ module JSON
|
|
405
405
|
end
|
406
406
|
|
407
407
|
# Shortuct for iconv.
|
408
|
-
if ::String.method_defined?(:encode)
|
408
|
+
if ::String.method_defined?(:encode) &&
|
409
|
+
# XXX Rubinius doesn't support ruby 1.9 encoding yet
|
410
|
+
defined?(RUBY_ENGINE) && RUBY_ENGINE != 'rbx'
|
411
|
+
then
|
409
412
|
# Encodes string using Ruby's _String.encode_
|
410
413
|
def self.iconv(to, from, string)
|
411
414
|
string.encode(to, from)
|
data/lib/json/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: json_pure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -199,7 +199,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
199
199
|
version: '0'
|
200
200
|
segments:
|
201
201
|
- 0
|
202
|
-
hash:
|
202
|
+
hash: -431368956158651635
|
203
203
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
204
204
|
none: false
|
205
205
|
requirements:
|