relaton-xsf 1.16.2 → 1.18.0

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: 55224ca726b71e88f72069ef99931b8433c0cce2ab1ed3f9edf6d0f1fba90b28
4
- data.tar.gz: 5f72562f59feb8e466d29439486252d22e830abb3e023ddaaab36637b5086f15
3
+ metadata.gz: d4b9ef7bf2f6c227487237bb6333f8dcc19f44b667f8a34e1584c7c1828b7c4d
4
+ data.tar.gz: 1bbed377d181e89383b703ac90cebdc53180a8f31be6ebffdecfccfaa0f7ea8f
5
5
  SHA512:
6
- metadata.gz: dcbe15d18d80f5f1c8922e430c99ad3d204a1bd2a3e69797a097e49f663116d154d6d88ccb5e6b01418b5a19ddfc4a2afca325e23b3ff074c738975f97d22121
7
- data.tar.gz: 1b7f92d6dfc8cbac7010ad4c346dd1cb97a221362cf50c2c4c5a13a7a646fbbe2e5c3fe015c05afa42dfbb884a0be0073bc87b77a77f014aaced38bda6bb1958
6
+ metadata.gz: cc3ac49262dbb56523f50ad2d44730ea7a3b2a52988d1a7524636c2484239b7280c9862281b078c84db44ccd824c0a3528481680c9aa05df852745d056ec8973
7
+ data.tar.gz: 98e580690a8f167c67ff46bba88645e1f3ac2e42b3545c97d686a36e535106367bd1b1c2537fc064ddf2e02e5153cd9c182d0fa1b4dc425d067a3e4df036d6cb
data/README.adoc CHANGED
@@ -68,7 +68,7 @@ item = hit_collection[0].fetch
68
68
  [source,ruby]
69
69
  ----
70
70
  item.to_xml
71
- => "<bibitem id="XEP0001" type="standard" schema-version="v1.2.4">
71
+ => "<bibitem id="XEP0001" type="standard" schema-version="v1.2.8">
72
72
  <fetched>2023-07-18</fetched>
73
73
  <title format="text/plain" language="en" script="Latn">XMPP Extension Protocols</title>
74
74
  ...
@@ -78,7 +78,7 @@ With argument `bibdata: true` it outputs XML wrapped by `bibdata` element and ad
78
78
  [source,ruby]
79
79
  ----
80
80
  item.to_xml bibdata: true
81
- => "<bibdata type="standard" schema-version="v1.2.4">
81
+ => "<bibdata type="standard" schema-version="v1.2.8">
82
82
  <fetched>2023-07-18</fetched>
83
83
  <title format="text/plain" language="en" script="Latn">XMPP Extension Protocols</title>
84
84
  ...
@@ -1,11 +1,11 @@
1
1
  module RelatonXsf
2
- class HashConverter < RelatonBib::HashConverter
3
- class << self
4
- # @param item_hash [Hash]
5
- # @return [RelatonBib::BibliographicItem]
6
- def bib_item(item_hash)
7
- BibliographicItem.new(**item_hash)
8
- end
2
+ module HashConverter
3
+ include RelatonBib::HashConverter
4
+ extend self
5
+ # @param item_hash [Hash]
6
+ # @return [RelatonBib::BibliographicItem]
7
+ def bib_item(item_hash)
8
+ BibliographicItem.new(**item_hash)
9
9
  end
10
10
  end
11
11
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RelatonXsf
4
- VERSION = "1.16.2"
4
+ VERSION = "1.18.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-xsf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.2
4
+ version: 1.18.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: 2023-10-18 00:00:00.000000000 Z
11
+ date: 2024-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mechanize
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.16.0
33
+ version: 1.18.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.16.0
40
+ version: 1.18.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: relaton-index
43
43
  requirement: !ruby/object:Gem::Requirement