relaton-jis 1.18.0 → 1.18.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/relaton_jis/version.rb +1 -1
- data/lib/relaton_jis/xml_parser.rb +12 -4
- data/relaton_jis.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 384ce3921d788a33ca6cf5eb01274172735874b1fe2f4d1e407bc2e8cec44487
|
4
|
+
data.tar.gz: b5875b375b58b93f553c1dc1bec23e01676fe47f9f8b716cead9f120d92b73c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4a3dcede68fc4394eae1ca1a24f01a9d9daa5ac249bfac4c1e696451bd8dcc2fa77f5df0eac667320cdbe82da2a079aff4d3df824eb38ffcf1b6a727bfc6097
|
7
|
+
data.tar.gz: cb0dfb2614ec3234ca68cb1d0afe290c181088e56173d3db8578bd2d3e22852cbd77d1a80b495874c897ca74a9d1ee9615d85569074e906c0c4a60e3958a0136
|
data/lib/relaton_jis/version.rb
CHANGED
@@ -1,9 +1,17 @@
|
|
1
1
|
module RelatonJis
|
2
2
|
class XMLParser < RelatonBib::XMLParser
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
3
|
+
class << self
|
4
|
+
private
|
5
|
+
|
6
|
+
# @param item_hash [Hash]
|
7
|
+
# @return [RelatonSgpp::BibliographicItem]
|
8
|
+
def bib_item(item_hash)
|
9
|
+
BibliographicItem.new(**item_hash)
|
10
|
+
end
|
11
|
+
|
12
|
+
def create_doctype(type)
|
13
|
+
DocumentType.new type: type.text, abbreviation: type[:abbreviation]
|
14
|
+
end
|
7
15
|
end
|
8
16
|
end
|
9
17
|
end
|
data/relaton_jis.gemspec
CHANGED
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
|
|
34
34
|
spec.require_paths = ["lib"]
|
35
35
|
|
36
36
|
# Uncomment to register a new dependency of your gem
|
37
|
-
spec.add_dependency "mechanize", "~> 2.
|
37
|
+
spec.add_dependency "mechanize", "~> 2.10"
|
38
38
|
spec.add_dependency "relaton-iso-bib", "~> 1.18.0"
|
39
39
|
|
40
40
|
# For more information and examples about making a new gem, check out our
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-jis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.18.
|
4
|
+
version: 1.18.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: 2024-
|
11
|
+
date: 2024-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mechanize
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.
|
19
|
+
version: '2.10'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.
|
26
|
+
version: '2.10'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: relaton-iso-bib
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '0'
|
94
94
|
requirements: []
|
95
|
-
rubygems_version: 3.3.
|
95
|
+
rubygems_version: 3.3.27
|
96
96
|
signing_key:
|
97
97
|
specification_version: 4
|
98
98
|
summary: 'RelatonJis: retrieve IETF Standards for bibliographic use using the BibliographicItem
|