relaton-bib 0.1.1 → 0.1.2

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: 9da202081fac78dc82e84fd1387007c977be6981
4
- data.tar.gz: 6ef4319dc738576c1d0aca6972f5f061d27bf1bd
3
+ metadata.gz: 98577d6e08bf18ceb7bbd5d3f050e472b580605a
4
+ data.tar.gz: cda0642e266ecb7e639a971d0b4df918b692a403
5
5
  SHA512:
6
- metadata.gz: 2ec1ef406ba6067a466508200c8c948a342bb39d1a133910b74fb0522fdf0a70c3e1abbf164256f9c2b3a93f1d14b34dafdffdcc46bc12a68b2f9b141cb60d1a
7
- data.tar.gz: 3ed3da30cffeae49ef4e7737a76ea64f16823c41026b159c9eafd4a960262dc31cd71d6d627f415bb9d5701828ac2862ea91e764c872189bdb19f731011d04f5
6
+ metadata.gz: ee7ec704250e9a966fc6b85d18bdb961781659f9896ea4e6973d8d5c7b741cb7bc9b5e68af1684c4176308fd67aa7e88a12e8f6cb989f46fce9e6451e6413c32
7
+ data.tar.gz: a0038770adb2d4dff2bed71a45e2f801ef0f5d384170f704a393a36752d53069b065fa1052e93bd7b2f816b2828a48eff3c11e53fd8957a287fbfe6b12e2cf25
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- relaton-bib (0.1.1)
4
+ relaton-bib (0.1.2)
5
5
  nokogiri (~> 1.8.4)
6
6
 
7
7
  GEM
@@ -68,8 +68,10 @@ module RelatonBib
68
68
 
69
69
  if date =~ /^\d{4}$/
70
70
  Time.strptime date, "%Y"
71
- else
71
+ elsif date =~ /^\d{4}-\d{2}$/
72
72
  Time.strptime date, "%Y-%m"
73
+ elsif date =~ /\d{4}-\d{2}-\d{2}$/
74
+ Time.strptime date, "%Y-%m-%d"
73
75
  end
74
76
  end
75
77
  end
@@ -1,3 +1,3 @@
1
1
  module RelatonBib
2
- VERSION = "0.1.1".freeze
2
+ VERSION = "0.1.2".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-bib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-03 00:00:00.000000000 Z
11
+ date: 2019-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler