strptime 0.2.1-x86-mingw32 → 0.2.2-x86-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: f55b0b6cdca89dee60017a4ee2668886105b1eb9
|
4
|
+
data.tar.gz: c3e0aa6b3eebb5bf09b6a331ec604feeee455d5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30bc1c7a9b034583d1e26b146be678a72fdda1a35fe72e4593b874a1ccb471093a6fc93c0c8dbc43d87646a8326834ee8eb155965c1c2fe945c66d61a08bc432
|
7
|
+
data.tar.gz: 6f867758f20670f8b2b3e8864011d2759c66b3639f91d5f2ebf203ad452c3323c72c03a6a7e0fe6cadd7d5517b9e448c841392334fb60b52c26295f3b02c4b81
|
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: x86-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
|
- - ">="
|