relaton-doi 1.14.2 → 1.14.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +1 -0
- data/.github/workflows/release.yml +3 -2
- data/.gitignore +1 -0
- data/.rubocop.yml +1 -1
- data/Gemfile +7 -2
- data/lib/relaton_doi/crossref.rb +11 -424
- data/lib/relaton_doi/parser.rb +773 -0
- data/lib/relaton_doi/version.rb +1 -1
- data/lib/relaton_doi.rb +1 -2
- data/relaton-doi.gemspec +6 -13
- metadata +12 -95
data/lib/relaton_doi/version.rb
CHANGED
data/lib/relaton_doi.rb
CHANGED
@@ -8,6 +8,7 @@ require "relaton_ietf"
|
|
8
8
|
require "relaton_ieee"
|
9
9
|
require "relaton_nist"
|
10
10
|
require_relative "relaton_doi/version"
|
11
|
+
require_relative "relaton_doi/parser"
|
11
12
|
require_relative "relaton_doi/crossref"
|
12
13
|
|
13
14
|
Serrano.configuration do |config|
|
@@ -15,6 +16,4 @@ Serrano.configuration do |config|
|
|
15
16
|
end
|
16
17
|
|
17
18
|
module RelatonDoi
|
18
|
-
class Error < StandardError; end
|
19
|
-
# Your code goes here...
|
20
19
|
end
|
data/relaton-doi.gemspec
CHANGED
@@ -8,13 +8,13 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.authors = ["Ribose Inc."]
|
9
9
|
spec.email = ["open.source@ribose.com"]
|
10
10
|
|
11
|
-
spec.summary = "RelatonDOI: retrieve Standards for bibliographic "\
|
11
|
+
spec.summary = "RelatonDOI: retrieve Standards for bibliographic " \
|
12
12
|
"using DOI through Crossrefand provide Relaton object."
|
13
|
-
spec.description = "RelatonDOI: retrieve Standards for bibliographic "\
|
13
|
+
spec.description = "RelatonDOI: retrieve Standards for bibliographic " \
|
14
14
|
"using DOI through Crossrefand provide Relaton object."
|
15
15
|
spec.homepage = "https://github.com/relaton/relaton-doi"
|
16
16
|
spec.license = "BSD-2-Clause"
|
17
|
-
spec.required_ruby_version = ">= 2.
|
17
|
+
spec.required_ruby_version = ">= 2.7.0"
|
18
18
|
|
19
19
|
# spec.metadata["allowed_push_host"] = "TODO: Set to 'https://mygemserver.com'"
|
20
20
|
|
@@ -33,21 +33,14 @@ Gem::Specification.new do |spec|
|
|
33
33
|
|
34
34
|
# Uncomment to register a new dependency of your gem
|
35
35
|
# spec.add_dependency "example-gem", "~> 1.0"
|
36
|
-
|
37
|
-
|
38
|
-
spec.add_development_dependency "rubocop-performance"
|
39
|
-
spec.add_development_dependency "rubocop-rails"
|
40
|
-
spec.add_development_dependency "simplecov"
|
41
|
-
spec.add_development_dependency "vcr"
|
42
|
-
spec.add_development_dependency "webmock"
|
43
|
-
|
44
|
-
spec.add_dependency "relaton-bib", "~> 1.14.1"
|
36
|
+
|
37
|
+
spec.add_dependency "relaton-bib", "~> 1.14.3"
|
45
38
|
spec.add_dependency "relaton-bipm", "~> 1.14.0"
|
46
39
|
spec.add_dependency "relaton-ieee", "~> 1.14.0"
|
47
40
|
spec.add_dependency "relaton-ietf", "~> 1.14.0"
|
48
41
|
spec.add_dependency "relaton-nist", "~> 1.14.0"
|
49
42
|
# spec.add_dependency "relaton-w3c", "~> 1.10.0"
|
50
|
-
spec.add_dependency "serrano", "~> 1.
|
43
|
+
spec.add_dependency "serrano", "~> 1.4.0"
|
51
44
|
|
52
45
|
# For more information and examples about making a new gem, checkout our
|
53
46
|
# guide at: https://bundler.io/guides/creating_gem.html
|
metadata
CHANGED
@@ -1,113 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-doi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.14.
|
4
|
+
version: 1.14.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: equivalent-xml
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0.6'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0.6'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rubocop-performance
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rubocop-rails
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: simplecov
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: vcr
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: webmock
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
13
|
- !ruby/object:Gem::Dependency
|
98
14
|
name: relaton-bib
|
99
15
|
requirement: !ruby/object:Gem::Requirement
|
100
16
|
requirements:
|
101
17
|
- - "~>"
|
102
18
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.14.
|
19
|
+
version: 1.14.3
|
104
20
|
type: :runtime
|
105
21
|
prerelease: false
|
106
22
|
version_requirements: !ruby/object:Gem::Requirement
|
107
23
|
requirements:
|
108
24
|
- - "~>"
|
109
25
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.14.
|
26
|
+
version: 1.14.3
|
111
27
|
- !ruby/object:Gem::Dependency
|
112
28
|
name: relaton-bipm
|
113
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,14 +86,14 @@ dependencies:
|
|
170
86
|
requirements:
|
171
87
|
- - "~>"
|
172
88
|
- !ruby/object:Gem::Version
|
173
|
-
version: 1.
|
89
|
+
version: 1.4.0
|
174
90
|
type: :runtime
|
175
91
|
prerelease: false
|
176
92
|
version_requirements: !ruby/object:Gem::Requirement
|
177
93
|
requirements:
|
178
94
|
- - "~>"
|
179
95
|
- !ruby/object:Gem::Version
|
180
|
-
version: 1.
|
96
|
+
version: 1.4.0
|
181
97
|
description: 'RelatonDOI: retrieve Standards for bibliographic using DOI through Crossrefand
|
182
98
|
provide Relaton object.'
|
183
99
|
email:
|
@@ -200,6 +116,7 @@ files:
|
|
200
116
|
- bin/setup
|
201
117
|
- lib/relaton_doi.rb
|
202
118
|
- lib/relaton_doi/crossref.rb
|
119
|
+
- lib/relaton_doi/parser.rb
|
203
120
|
- lib/relaton_doi/processor.rb
|
204
121
|
- lib/relaton_doi/version.rb
|
205
122
|
- relaton-doi.gemspec
|
@@ -208,7 +125,7 @@ licenses:
|
|
208
125
|
- BSD-2-Clause
|
209
126
|
metadata:
|
210
127
|
homepage_uri: https://github.com/relaton/relaton-doi
|
211
|
-
post_install_message:
|
128
|
+
post_install_message:
|
212
129
|
rdoc_options: []
|
213
130
|
require_paths:
|
214
131
|
- lib
|
@@ -216,15 +133,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
216
133
|
requirements:
|
217
134
|
- - ">="
|
218
135
|
- !ruby/object:Gem::Version
|
219
|
-
version: 2.
|
136
|
+
version: 2.7.0
|
220
137
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
221
138
|
requirements:
|
222
139
|
- - ">="
|
223
140
|
- !ruby/object:Gem::Version
|
224
141
|
version: '0'
|
225
142
|
requirements: []
|
226
|
-
rubygems_version: 3.
|
227
|
-
signing_key:
|
143
|
+
rubygems_version: 3.3.26
|
144
|
+
signing_key:
|
228
145
|
specification_version: 4
|
229
146
|
summary: 'RelatonDOI: retrieve Standards for bibliographic using DOI through Crossrefand
|
230
147
|
provide Relaton object.'
|