nistbib 0.1.6 → 0.1.7

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: 896a6c8fd4132200e685aa768a3bab6f089f9f4b
4
- data.tar.gz: f399bbd50fcbe7cb1f70d4dee3fb37619f5b051a
3
+ metadata.gz: 1bbbb3ab1b1cc4e0253c5b74b046c5dc88791804
4
+ data.tar.gz: 77e9e8ac8a3901f1580c4b37960877438b0a581a
5
5
  SHA512:
6
- metadata.gz: 28bde9d7d3a30d628a53e0f06a4444859b870aea0a65fcab7ca9315e2330f0a86017b1bce5ea74636ea6b8480e26b294816319f338c1a2081cdaceb0d56b833a
7
- data.tar.gz: 5ba05e4c1ecb61b89a05a67c042ec4ce32119f23a139aca620c2715c1177d1eb75c4482a433e2dc5913d910f53c12483fad737b4b1c4b3e8aeea694dfa367fb2
6
+ metadata.gz: 47a288bf10b2d4268353a67489cc4ab0256618868198e5f292f04f4755d22d955b5a0b03912a19dc1a77403632b9d704769d89804d4250031edc078c5ae57269
7
+ data.tar.gz: b3b6ee1018f9baa2bd369860ca11cadaa53b3ad3f27f70ca34031f45f3cf3c09359256828b5d1b960fe1637a2be4d8070644ee661ba2a341d7111ccf381dba56
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nistbib (0.1.6)
4
+ nistbib (0.1.7)
5
5
  relaton-bib (~> 0.1.5)
6
6
 
7
7
  GEM
@@ -133,7 +133,7 @@ module NistBib
133
133
  d = doc.at("//span[@id='pub-release-date']").text.strip
134
134
  date = if /(?<date>\w+\s\d{4})/ =~ d
135
135
  Date.strptime(date, "%B %Y")
136
- elsif /(?<date>\w+\s\d{2},\s\d{4})/ =~ d
136
+ elsif /(?<date>\w+\s\d{1,2},\s\d{4})/ =~ d
137
137
  Date.strptime(date, "%B %d, %Y")
138
138
  end
139
139
  dates << { type: "issued", on: date.to_s }
@@ -1,3 +1,3 @@
1
1
  module NistBib
2
- VERSION = "0.1.6".freeze
2
+ VERSION = "0.1.7".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nistbib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
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-17 00:00:00.000000000 Z
11
+ date: 2019-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler