relaton-iec 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/relaton_iec/scrapper.rb +5 -1
- data/lib/relaton_iec/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: '07119c00b2305b22248c286fe2109109c0f155591ddf8cd2796cbc4aaa35c695'
|
4
|
+
data.tar.gz: a7631ec9e3eb9b0484ccf1cace3e199303d7a99e23d0da3a7ac0e9d8b39cb820
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca6ffa63dafd1993a4d8615f1d4025a8df799625e179ecae80676d9904432d5a5aedc1244482e1bd55ad2adadaead82e711cc6e082f55cc321049771ffaf2f9e
|
7
|
+
data.tar.gz: 1368d6ff919457b8ec24363b8381cb0cc34c0f5c2c57847dff405804cab0a87361517c4b51a5bb9c1bd2d0df611488bf47e00a283a9641ea33b1fbcea5b1fc47
|
data/lib/relaton_iec/scrapper.rb
CHANGED
@@ -326,7 +326,11 @@ module RelatonIec
|
|
326
326
|
intro, main, part = titles[0], titles[1], nil
|
327
327
|
end
|
328
328
|
when 3
|
329
|
-
|
329
|
+
if /^(Part|Partie) \d+:/ =~ titles[1]
|
330
|
+
intro, main, part = nil, titles[0], titles[1..2].join(" - ")
|
331
|
+
else
|
332
|
+
intro, main, part = titles[0], titles[1], titles[2]
|
333
|
+
end
|
330
334
|
else
|
331
335
|
intro, main, part = titles[0], titles[1], titles[2..-1]&.join(" -- ")
|
332
336
|
end
|
data/lib/relaton_iec/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-iec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
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-07-
|
11
|
+
date: 2019-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -227,7 +227,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
227
227
|
version: '0'
|
228
228
|
requirements: []
|
229
229
|
rubyforge_project:
|
230
|
-
rubygems_version: 2.6
|
230
|
+
rubygems_version: 2.7.6
|
231
231
|
signing_key:
|
232
232
|
specification_version: 4
|
233
233
|
summary: 'RelatonIec: retrieve IEC Standards for bibliographic use using the IsoBibliographicItem
|