relaton-xsf 1.16.2 → 1.17.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: 141b6d42d27c2d188d685ffa7e0988eb09333f6e5d04d95d7bf7dcdd020ef73e
4
+ data.tar.gz: ce5925720e931e312e13d5a63e576f3c1bf50601f9c0b20a93ec6e31642349be
5
5
  SHA512:
6
- metadata.gz: dcbe15d18d80f5f1c8922e430c99ad3d204a1bd2a3e69797a097e49f663116d154d6d88ccb5e6b01418b5a19ddfc4a2afca325e23b3ff074c738975f97d22121
7
- data.tar.gz: 1b7f92d6dfc8cbac7010ad4c346dd1cb97a221362cf50c2c4c5a13a7a646fbbe2e5c3fe015c05afa42dfbb884a0be0073bc87b77a77f014aaced38bda6bb1958
6
+ metadata.gz: 0b203308289f35bdc3e64cfcabec6cd0c8a2328c0abd187089a5e5dfa7aa8abd9abcc15fa17e86d51bea9aa177775ca460e823f2206aa45d5a0b9811f9808484
7
+ data.tar.gz: 6452c03e18eeb325cc416c01f5e061640aa24fdd108df9fa21ad1f46f727009b355a28a3ddee79e46f6b031ce36ec8fd24e9730a39d66df1c891f4ce1c04757e
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.5">
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.5">
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.17.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.17.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: 2023-11-27 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.17.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.17.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: relaton-index
43
43
  requirement: !ruby/object:Gem::Requirement