strptime 0.1.2-x86-mingw32 → 0.1.3-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: ce5a3a7e0cf960ed9425f502af12c1d6e66aa1db
4
- data.tar.gz: 01dcc203d2029f01d4ad9097d2bf259ac8c4eee1
3
+ metadata.gz: 9f28946baac1611b7b1d8f8998d4441a4f425cfc
4
+ data.tar.gz: 3c72c57e85a78f40a6f93f106f388089673d3ed9
5
5
  SHA512:
6
- metadata.gz: 8e3e052cd1f9166e8b8d60db4f63c7747499bf254603d10dba918d9a331cadd39d0c2cfd40eeabb301bd4f0e93b56be0d418dd149bbaba46c0d84db90e610ce1
7
- data.tar.gz: 805c04c13ab8c8faf3aaf4102789b78bf50b4349053027b54a5e84bd95ec00921b50e124fa74b47d35699b6f5a6f6ebadecaf8be1e2a6c9731a2b6c93da2bdee
6
+ metadata.gz: 53f4ed0db05117abc5e2a8bc7dac33543ab07fbd9c571ac907050e468e3fee341855a7748ba7411d67d67a4abc6c3e7f96443ee0a72d8f56e5fa2052b4eeab4d
7
+ data.tar.gz: aae91655d1367c9a15f5e574c6d674526c181741b2f89e1378e4c047aa720f3c6402c763993ecb86a690558addac7ddffc1c51b211263641c72c029a2dbf23e1
@@ -1,3 +1,3 @@
1
1
  class Strptime
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
data/lib/strptime.rb CHANGED
@@ -1,5 +1,9 @@
1
1
  require "strptime/version"
2
- require "strptime/strptime"
2
+ begin
3
+ require "strptime/#{RUBY_VERSION[/\d+.\d+/]}/strptime"
4
+ rescue LoadError
5
+ require "strptime/strptime"
6
+ end
3
7
 
4
8
  class Strptime
5
9
  # Your code goes here...
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.1.2
4
+ version: 0.1.3
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: 2015-10-08 00:00:00.000000000 Z
11
+ date: 2015-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler