strptime 0.2.1-x64-mingw32 → 0.2.2-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -0
- data/Rakefile +1 -1
- data/ext/strptime/strftime.c +3 -1
- data/lib/strptime/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20c50e77c1d6ab8b5faabc60994593db80971945
|
4
|
+
data.tar.gz: ec0202f4bb0fd3af5148536d3fdfe8e3d14ba07b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac41136ffd695ce944becd617169bc3b6ad9206119563057678129b9dc83ba31642dacbcbc18f4d7b77649ce28a1864c7c91581d848b70b401af0ff0a5d0708b
|
7
|
+
data.tar.gz: 92fa6673f1cb35a35a7719465a9c73852c7beaf93ee97a6f834c7f0ee5bc057f646020fc7f5e9a7c8397df676ea20794c761ac69b387d6d7cc6f6abc43566dbd
|
data/.travis.yml
CHANGED
data/Rakefile
CHANGED
@@ -31,6 +31,6 @@ namespace :build do
|
|
31
31
|
desc 'Build gems for Windows per rake-compiler-dock'
|
32
32
|
task :windows do
|
33
33
|
require 'rake_compiler_dock'
|
34
|
-
RakeCompilerDock.sh 'bundle && rake cross native gem RUBY_CC_VERSION=2.0.0:2.1.6:2.2.2:2.3.0:2.4.0'
|
34
|
+
RakeCompilerDock.sh 'bundle && rake cross native gem RUBY_CC_VERSION=2.0.0:2.1.6:2.2.2:2.3.0:2.4.0:2.5.0'
|
35
35
|
end
|
36
36
|
end
|
data/ext/strptime/strftime.c
CHANGED
@@ -74,7 +74,7 @@ strftime_exec0(void **pc, VALUE fmt, struct timespec *tsp, int gmtoff, size_t re
|
|
74
74
|
return Qnil;
|
75
75
|
}
|
76
76
|
|
77
|
-
result =
|
77
|
+
result = rb_enc_str_new(NULL, result_length, rb_enc_get(fmt));
|
78
78
|
p = RSTRING_PTR(result);
|
79
79
|
|
80
80
|
tsp->tv_sec += gmtoff;
|
@@ -491,5 +491,7 @@ Init_strftime(void)
|
|
491
491
|
rb_define_method(rb_cStrftime, "exec", strftime_exec, 1);
|
492
492
|
rb_define_method(rb_cStrftime, "execi", strftime_execi, 1);
|
493
493
|
rb_define_method(rb_cStrftime, "source", strftime_source, 0);
|
494
|
+
#ifndef HAVE_RB_TIME_UTC_OFFSET
|
494
495
|
id_gmtoff = rb_intern("gmtoff");
|
496
|
+
#endif
|
495
497
|
}
|
data/lib/strptime/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strptime
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- NARUSE, Yui
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -140,7 +140,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
140
140
|
version: '2.0'
|
141
141
|
- - "<"
|
142
142
|
- !ruby/object:Gem::Version
|
143
|
-
version: '2.
|
143
|
+
version: '2.6'
|
144
144
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
145
145
|
requirements:
|
146
146
|
- - ">="
|