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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: da9b5b737ae895af93e98cc6a5d267e134e36cef
4
- data.tar.gz: ff65ec6bdc06e6f0b202bb8a91594e50f83d6483
3
+ metadata.gz: 20c50e77c1d6ab8b5faabc60994593db80971945
4
+ data.tar.gz: ec0202f4bb0fd3af5148536d3fdfe8e3d14ba07b
5
5
  SHA512:
6
- metadata.gz: 9a16feb8a8146c3d0ae99880f6b9be74fad1049de1413446faa81072bba597d61c9dd15afdf73625f792f49cadbd2a57b9a52515d2c03a2984429477eb7484d5
7
- data.tar.gz: 149c4fdc38c93bf6389d2cb4733c4745eb422b70a46dcc0b767bb61cf7ff14ab0f2018abbe916d4e572f08d26ed497841e4c024cea61cacd2aac6f8b98d215ed
6
+ metadata.gz: ac41136ffd695ce944becd617169bc3b6ad9206119563057678129b9dc83ba31642dacbcbc18f4d7b77649ce28a1864c7c91581d848b70b401af0ff0a5d0708b
7
+ data.tar.gz: 92fa6673f1cb35a35a7719465a9c73852c7beaf93ee97a6f834c7f0ee5bc057f646020fc7f5e9a7c8397df676ea20794c761ac69b387d6d7cc6f6abc43566dbd
@@ -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: x64-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
  - - ">="