json 1.7.2 → 1.7.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of json might be problematic. Click here for more details.
- 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
|
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:
|
@@ -185,7 +185,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
185
185
|
version: '0'
|
186
186
|
segments:
|
187
187
|
- 0
|
188
|
-
hash:
|
188
|
+
hash: -431368956158651635
|
189
189
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
190
|
none: false
|
191
191
|
requirements:
|