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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a7fd559dc8db67f9c34e112b507f486bd177ea62
4
- data.tar.gz: 31929c76c58428dcd1095a84259ef21ddbaf72d1
3
+ metadata.gz: f55b0b6cdca89dee60017a4ee2668886105b1eb9
4
+ data.tar.gz: c3e0aa6b3eebb5bf09b6a331ec604feeee455d5c
5
5
  SHA512:
6
- metadata.gz: 645b9336951b994033fc3643f3311f021eff07c5b59033e7b45992510ca05f234441bed609d0af5193601700e7d44a932642b53d30571885fca1555f4e678a95
7
- data.tar.gz: 70c3a936869271dc744293e004d40426cb9fa00420fc1255499ea929ee11676fb1ca217664b6c70552bc2e5fe3e504f3de2d39720fdd6e6ef289e79596a7364f
6
+ metadata.gz: 30bc1c7a9b034583d1e26b146be678a72fdda1a35fe72e4593b874a1ccb471093a6fc93c0c8dbc43d87646a8326834ee8eb155965c1c2fe945c66d61a08bc432
7
+ data.tar.gz: 6f867758f20670f8b2b3e8864011d2759c66b3639f91d5f2ebf203ad452c3323c72c03a6a7e0fe6cadd7d5517b9e448c841392334fb60b52c26295f3b02c4b81
data/.travis.yml CHANGED
@@ -9,6 +9,9 @@ rvm:
9
9
  - 2.2.4-clang
10
10
  - 2.3.0
11
11
  - 2.3.0-clang
12
+ - 2.4.2
13
+ - 2.4.2-clang
14
+ - 2.5.0
12
15
  - ruby-head
13
16
  matrix:
14
17
  allow_failures:
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
@@ -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 = rb_str_new(NULL, result_length);
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
  }
@@ -1,3 +1,3 @@
1
1
  class Strptime
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
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.1
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-19 00:00:00.000000000 Z
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.5'
143
+ version: '2.6'
144
144
  required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  requirements:
146
146
  - - ">="