ox 1.6.1 → 1.6.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


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

data/README.md CHANGED
@@ -34,9 +34,9 @@ A fast XML parser and Object marshaller as a Ruby gem.
34
34
 
35
35
  ## <a name="release">Release Notes</a>
36
36
 
37
- ### Release 1.6.1
37
+ ### Release 1.6.2
38
38
 
39
- - Added check for Solaris builds to not use the timezone member of time struct (struct tm).
39
+ - Added check for Solaris and Linux builds to not use the timezone member of time struct (struct tm).
40
40
 
41
41
  ## <a name="description">Description</a>
42
42
 
data/ext/ox/extconf.rb CHANGED
@@ -8,7 +8,7 @@ type = parts[0]
8
8
  type = 'ree' if 'ruby' == type && RUBY_DESCRIPTION.include?('Ruby Enterprise Edition')
9
9
  platform = parts[5][1...-1]
10
10
  version = RUBY_VERSION.split('.')
11
- puts ">>>>> Creating Makefile for #{type} version #{RUBY_VERSION} <<<<<"
11
+ puts ">>>>> Creating Makefile for #{type} version #{RUBY_VERSION} on #{platform} <<<<<"
12
12
 
13
13
  dflags = {
14
14
  'RUBY_TYPE' => type,
@@ -19,7 +19,8 @@ dflags = {
19
19
  'RUBY_VERSION_MICRO' => version[2],
20
20
  'HAS_RB_TIME_TIMESPEC' => ('ruby' == type && ('1.9.3' == RUBY_VERSION)) ? 1 : 0,
21
21
  #'HAS_RB_TIME_TIMESPEC' => ('ruby' == type && ('1.9.3' == RUBY_VERSION || '2' <= version[0])) ? 1 : 0,
22
- 'HAS_TM_GMTOFF' => ('ruby' == type && (('1' == version[0] && '9' == version[1]) || '2' <= version[0]) && !platform.include?('solaris')) ? 1 : 0,
22
+ 'HAS_TM_GMTOFF' => ('ruby' == type && (('1' == version[0] && '9' == version[1]) || '2' <= version[0]) &&
23
+ !(platform.include?('solaris') || platform.include?('linux'))) ? 1 : 0,
23
24
  'HAS_ENCODING_SUPPORT' => (('ruby' == type || 'rubinius' == type) &&
24
25
  (('1' == version[0] && '9' == version[1]) || '2' <= version[0])) ? 1 : 0,
25
26
  'HAS_NANO_TIME' => ('ruby' == type && ('1' == version[0] && '9' == version[1]) || '2' <= version[0]) ? 1 : 0,
data/lib/ox/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
2
  module Ox
3
3
  # Current version of the module.
4
- VERSION = '1.6.1'
4
+ VERSION = '1.6.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ox
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: