ox 1.6.1 → 1.6.2
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.
- data/README.md +2 -2
- data/ext/ox/extconf.rb +3 -2
- data/lib/ox/version.rb +1 -1
- metadata +1 -1
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.
|
|
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]) &&
|
|
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