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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f81af6fcda0f11448a44416410a1887385d86893047a3b26c59168f0b702d10b
4
- data.tar.gz: 458f566abf32ca8c7a4ec52dcdfff9199d2b5e1aea0613bd824fbeca7ab1414a
3
+ metadata.gz: 384ce3921d788a33ca6cf5eb01274172735874b1fe2f4d1e407bc2e8cec44487
4
+ data.tar.gz: b5875b375b58b93f553c1dc1bec23e01676fe47f9f8b716cead9f120d92b73c0
5
5
  SHA512:
6
- metadata.gz: 06c67dc4e2e2fda9135fe8ac68c8011e741c7739a7ddafad9367474a1e9fd87e5537412c3a180684f4d379c12e49edf7a7bd98ae55a51c445fb5d3ab7fca546d
7
- data.tar.gz: 91fbc089e677f58cad13e93d0a1351518f4caabd7b36cf1266f792fbe93e062522f8d313612597301eb0de2366de1ad0623030754be326c31449f57ce04dd442
6
+ metadata.gz: e4a3dcede68fc4394eae1ca1a24f01a9d9daa5ac249bfac4c1e696451bd8dcc2fa77f5df0eac667320cdbe82da2a079aff4d3df824eb38ffcf1b6a727bfc6097
7
+ data.tar.gz: cb0dfb2614ec3234ca68cb1d0afe290c181088e56173d3db8578bd2d3e22852cbd77d1a80b495874c897ca74a9d1ee9615d85569074e906c0c4a60e3958a0136
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RelatonJis
4
- VERSION = "1.18.0"
4
+ VERSION = "1.18.1"
5
5
  end
@@ -1,9 +1,17 @@
1
1
  module RelatonJis
2
2
  class XMLParser < RelatonBib::XMLParser
3
- # @param item_hash [Hash]
4
- # @return [RelatonSgpp::BibliographicItem]
5
- def self.bib_item(item_hash)
6
- BibliographicItem.new(**item_hash)
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.8.0"
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.0
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-01-08 00:00:00.000000000 Z
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.8.0
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.8.0
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.26
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