relaton-isbn 1.19.0 → 1.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 06f70a5b69dd360292a5692cd5ea5f1228c9261bdc73fe2cb9e385f1d7683173
4
- data.tar.gz: 729a5c5eb601e1ed36f93bf27e3dfce38f0cfcce2819f3a66838ffe6a3cc0ba3
3
+ metadata.gz: d961c0cec51c29aa88f6fad4ef2d58983639702fcba31cd8cf055f45c076e2e6
4
+ data.tar.gz: 31f1d75ae435ce9a8ffca0f4f5717a2091bdf80ff85c8e4546530945c48d1c17
5
5
  SHA512:
6
- metadata.gz: 164de6cc7b1e1a2b5dedf3feeddb5cf92384206cfde6052fa20fd4d1798962fd3d8d9712062cea6f6b336fdec1568aa84f4d8887a0b085bfee7eb40b9e756734
7
- data.tar.gz: b0ed039de5c4c242c2294adbe332389816d4776f9517ef6a274fd3ba69adeacf36868d548d1032ff8ba0624eda3b7782c4abba66c0e561eeee5deaf89dc7a4c7
6
+ metadata.gz: 6e611b4a3b4c3daefa5711f460eb56bee5c386036f48b5b9a3e32f37179e2b72ca99497edfe2d1306769af3c3d308460ab3c15a0ed8e5530b3b5a38b6f0a8276
7
+ data.tar.gz: d6a3067ef1bb1da1e8a1754d0de441aa3ea2a9334a24d11b831c86e583313070da550f52e23ff4e3a62b1857fe96ddb867ab29e15b435a0405bd7363a260bfed
data/.rubocop.yml CHANGED
@@ -7,6 +7,6 @@ require: rubocop-rails
7
7
  inherit_from:
8
8
  - https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml
9
9
  AllCops:
10
- TargetRubyVersion: 2.7
10
+ TargetRubyVersion: 3.1
11
11
  Rails:
12
12
  Enabled: false
@@ -3,7 +3,7 @@ module RelatonIsbn
3
3
  # OpenLibrary document parser.
4
4
  #
5
5
  class Parser
6
- ATTRS = %i[title docid link contributor date place].freeze
6
+ ATTRS = %i[fetched title docid link contributor date place].freeze
7
7
 
8
8
  def initialize(doc)
9
9
  @doc = doc
@@ -20,6 +20,8 @@ module RelatonIsbn
20
20
 
21
21
  private
22
22
 
23
+ def fetched = Date.today.to_s
24
+
23
25
  def title
24
26
  t = [RelatonBib::TypedTitleString.new(content: @doc["data"]["title"], type: "main")]
25
27
  if @doc["data"]["subtitle"]
@@ -1,3 +1,3 @@
1
1
  module RelatonIsbn
2
- VERSION = "1.19.0".freeze
2
+ VERSION = "1.20.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-isbn
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
4
+ version: 1.20.1
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: 2024-07-03 00:00:00.000000000 Z
11
+ date: 2025-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: relaton-bib
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.19.0
19
+ version: 1.20.0
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: 1.19.0
26
+ version: 1.20.0
27
27
  description: 'RelatonIsbn: retrieve publications by ISBN for bibliographic use using
28
28
  the BibliographicItem model'
29
29
  email:
@@ -51,7 +51,7 @@ licenses:
51
51
  metadata:
52
52
  homepage_uri: https://github.com/relaton/relaton-isbn
53
53
  source_code_uri: https://github.com/relaton/relaton-isbn
54
- post_install_message:
54
+ post_install_message:
55
55
  rdoc_options: []
56
56
  require_paths:
57
57
  - lib
@@ -59,15 +59,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - ">="
61
61
  - !ruby/object:Gem::Version
62
- version: 2.7.0
62
+ version: 3.1.0
63
63
  required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - ">="
66
66
  - !ruby/object:Gem::Version
67
67
  version: '0'
68
68
  requirements: []
69
- rubygems_version: 3.3.27
70
- signing_key:
69
+ rubygems_version: 3.5.22
70
+ signing_key:
71
71
  specification_version: 4
72
72
  summary: 'RelatonIsbn: retrieve publications by ISBN for bibliographic use using the
73
73
  BibliographicItem model'