json 1.7.2-java → 1.7.3-java

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.

Potentially problematic release.


This version of json might be problematic. Click here for more details.

@@ -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)
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  module JSON
2
2
  # JSON version
3
- VERSION = '1.7.2'
3
+ VERSION = '1.7.3'
4
4
  VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: json
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.7.2
5
+ version: 1.7.3
6
6
  platform: java
7
7
  authors:
8
8
  - Daniel Luz