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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/nistbib/scrapper.rb +1 -1
- data/lib/nistbib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bbbb3ab1b1cc4e0253c5b74b046c5dc88791804
|
4
|
+
data.tar.gz: 77e9e8ac8a3901f1580c4b37960877438b0a581a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47a288bf10b2d4268353a67489cc4ab0256618868198e5f292f04f4755d22d955b5a0b03912a19dc1a77403632b9d704769d89804d4250031edc078c5ae57269
|
7
|
+
data.tar.gz: b3b6ee1018f9baa2bd369860ca11cadaa53b3ad3f27f70ca34031f45f3cf3c09359256828b5d1b960fe1637a2be4d8070644ee661ba2a341d7111ccf381dba56
|
data/Gemfile.lock
CHANGED
data/lib/nistbib/scrapper.rb
CHANGED
@@ -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 }
|
data/lib/nistbib/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2019-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|