relaton-iso 0.5.5 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +8 -8
- data/lib/relaton_iso/scrapper.rb +5 -5
- data/lib/relaton_iso/version.rb +1 -1
- data/relaton_iso.gemspec +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc801b7e86beb613871c89c758a03461e3731c5b
|
4
|
+
data.tar.gz: 11de8f75ad6b7db84bc8c6d8015f2817a02001be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fde58ae095f74a36131efb6bebbc3dde7dfcda12d23d3b5204d13cfac7d5f024b093fb8d718c8ceac3c055076a4fbc71dd4ec3be1fb0ff46c2da0752aad9d68
|
7
|
+
data.tar.gz: dc57fb39f91e4eeec4f2988ced6a0c0d0108d440db528db592c8242bc21a635afc27f617db7a65e4d572bd14b2c14341c9d84a2437603a40c43d5d2eca528502
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
relaton-iso (0.
|
5
|
-
relaton-iec (~> 0.
|
6
|
-
relaton-iso-bib (~> 0.
|
4
|
+
relaton-iso (0.6.0)
|
5
|
+
relaton-iec (~> 0.4.0)
|
6
|
+
relaton-iso-bib (~> 0.3.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
@@ -36,15 +36,15 @@ GEM
|
|
36
36
|
pry (~> 0.10)
|
37
37
|
public_suffix (3.1.1)
|
38
38
|
rake (10.5.0)
|
39
|
-
relaton-bib (0.
|
39
|
+
relaton-bib (0.3.0)
|
40
40
|
addressable
|
41
41
|
nokogiri (~> 1.10)
|
42
|
-
relaton-iec (0.
|
42
|
+
relaton-iec (0.4.0)
|
43
43
|
addressable
|
44
|
-
relaton-iso-bib (~> 0.
|
45
|
-
relaton-iso-bib (0.
|
44
|
+
relaton-iso-bib (~> 0.3.0)
|
45
|
+
relaton-iso-bib (0.3.0)
|
46
46
|
isoics (~> 0.1.6)
|
47
|
-
relaton-bib (~> 0.
|
47
|
+
relaton-bib (~> 0.3.0)
|
48
48
|
ruby_deep_clone (~> 0.8.0)
|
49
49
|
rspec (3.8.0)
|
50
50
|
rspec-core (~> 3.8.0)
|
data/lib/relaton_iso/scrapper.rb
CHANGED
@@ -61,17 +61,17 @@ module RelatonIso
|
|
61
61
|
edition: edition,
|
62
62
|
language: langs(doc).map { |l| l[:lang] },
|
63
63
|
script: langs(doc).map { |l| script(l[:lang]) }.uniq,
|
64
|
-
|
64
|
+
title: titles,
|
65
65
|
type: fetch_type(hit_data["docRef"]),
|
66
66
|
docstatus: fetch_status(doc),
|
67
67
|
ics: fetch_ics(doc),
|
68
|
-
|
69
|
-
|
68
|
+
date: fetch_dates(doc, hit_data["docRef"]),
|
69
|
+
contributor: fetch_contributors(hit_data["docRef"]),
|
70
70
|
editorialgroup: fetch_workgroup(doc),
|
71
71
|
abstract: abstract,
|
72
72
|
copyright: fetch_copyright(hit_data["docRef"], doc),
|
73
73
|
link: fetch_link(doc, url),
|
74
|
-
|
74
|
+
relation: fetch_relations(doc),
|
75
75
|
structuredidentifier: fetch_structuredidentifier(doc),
|
76
76
|
)
|
77
77
|
end
|
@@ -376,7 +376,7 @@ module RelatonIso
|
|
376
376
|
url = "www.iso.org"
|
377
377
|
end
|
378
378
|
{ entity: { name: name, url: url, abbreviation: abbrev },
|
379
|
-
|
379
|
+
role: ["publisher"] }
|
380
380
|
end
|
381
381
|
end
|
382
382
|
# rubocop:enable Metrics/MethodLength
|
data/lib/relaton_iso/version.rb
CHANGED
data/relaton_iso.gemspec
CHANGED
@@ -38,6 +38,6 @@ Gem::Specification.new do |spec|
|
|
38
38
|
spec.add_development_dependency "vcr"
|
39
39
|
spec.add_development_dependency "webmock"
|
40
40
|
|
41
|
-
spec.add_dependency "relaton-iec", "~> 0.
|
42
|
-
spec.add_dependency "relaton-iso-bib", "~> 0.
|
41
|
+
spec.add_dependency "relaton-iec", "~> 0.4.0"
|
42
|
+
spec.add_dependency "relaton-iso-bib", "~> 0.3.0"
|
43
43
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-iso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
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-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -170,28 +170,28 @@ dependencies:
|
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: 0.
|
173
|
+
version: 0.4.0
|
174
174
|
type: :runtime
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: 0.
|
180
|
+
version: 0.4.0
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: relaton-iso-bib
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
185
|
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version: 0.
|
187
|
+
version: 0.3.0
|
188
188
|
type: :runtime
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
192
|
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: 0.
|
194
|
+
version: 0.3.0
|
195
195
|
description: 'RelatonIso: retrieve ISO Standards for bibliographic use using the IsoBibliographicItem
|
196
196
|
model'
|
197
197
|
email:
|