strptime 0.1.2 → 0.1.3

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: c1c38f8c8dbb958d3e7b60e0c20290397ada4218
4
- data.tar.gz: 2655035b212a379f230430e8ca7df2d56195185a
3
+ metadata.gz: a03fb2e03c068f76bbc03ee0e6ebac5235c4c279
4
+ data.tar.gz: 5e437c2941be46b3ebc426fe9d227e88f785e972
5
5
  SHA512:
6
- metadata.gz: 36670b03186a46c233f2a75f9721bb86a29616fe26b161d68a8e7f9908984b913961c6476c3ed12bd002013259852d9a67d5e95ea6650ee0918727d806e69872
7
- data.tar.gz: 0a777334ea8900293b845c1f47588e0a951c9f6161e69789917e83c2ec660a565ca656be51150e97cebdd28db689e132fec8010c044b73addcf21a91178a9434
6
+ metadata.gz: a5c44ab985e51f24dfe8d45fb2eaabc0cf90114bcf93248fb93ea86c5daf215ac7f962064bb4132a62dda258174bfa58abc3c78dbaae491e074315fd125055b4
7
+ data.tar.gz: f6649652fc69327c3fb03bc224f24d539413c85d321d52df527012189077074a9feea4ced25e56fee7e24e37207384c94a99c1655f1fa30457065a46155238da
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...
@@ -1,3 +1,3 @@
1
1
  class Strptime
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
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.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
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