relaton-xsf 2.1.0 → 2.1.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 +4 -4
- data/CLAUDE.md +1 -1
- data/Rakefile +1 -1
- data/lib/relaton/xsf/hit_collection.rb +1 -1
- data/lib/relaton/xsf/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b0056945e8e59214ea81e0b9b199f5f51e18ab4405d23ae271f125748665df7f
|
|
4
|
+
data.tar.gz: 8d11bca3a1bdcf35db41e1cf8a97db8d68b254e8e32efc27e96ffe65ea8c52ac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a66602ce5ba31217efec7068fa4f6ec03c56ac4ae0b7141077b8c47e92223a06953883ae37b7b093bedd820b553ecef9e45a874f8ae0d4e224f79faefdeaa3a8
|
|
7
|
+
data.tar.gz: 32b81af1b52d0b8daf204b7ad8b1bfe252d758fba34cf60d042bbddda6bf9de8b332c88bec3024ed591a758a907c2873373aa7979030dea5044b4a45a5da20b8
|
data/CLAUDE.md
CHANGED
|
@@ -33,7 +33,7 @@ Data flow: `Processor#get` → `Bibliography.get` → `HitCollection.search` →
|
|
|
33
33
|
|
|
34
34
|
DataFetcher flow: Crawls `https://xmpp.org/extensions/refs/`, parses each XML ref via `Relaton::Bib::Converter::BibXml.to_item`, sets `ext.flavor = "xsf"`, saves to disk.
|
|
35
35
|
|
|
36
|
-
Constants: `INDEXFILE = "index-v1"`, `GHDATA_URL` points to relaton-data-xsf `
|
|
36
|
+
Constants: `INDEXFILE = "index-v1"`, `GHDATA_URL` points to relaton-data-xsf `v2` branch.
|
|
37
37
|
|
|
38
38
|
## Testing
|
|
39
39
|
|
data/Rakefile
CHANGED
|
@@ -17,7 +17,7 @@ namespace :spec do
|
|
|
17
17
|
require "net/http"
|
|
18
18
|
require "uri"
|
|
19
19
|
|
|
20
|
-
url = "https://raw.githubusercontent.com/relaton/relaton-data-xsf/
|
|
20
|
+
url = "https://raw.githubusercontent.com/relaton/relaton-data-xsf/v2/index-v1.zip"
|
|
21
21
|
dest = File.join(__dir__, "spec", "fixtures", "index-v1.zip")
|
|
22
22
|
|
|
23
23
|
puts "Downloading \#{url} ..."
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module Relaton
|
|
2
2
|
module Xsf
|
|
3
3
|
class HitCollection < Relaton::Core::HitCollection
|
|
4
|
-
GHDATA_URL = "https://raw.githubusercontent.com/relaton/relaton-data-xsf/
|
|
4
|
+
GHDATA_URL = "https://raw.githubusercontent.com/relaton/relaton-data-xsf/v2/".freeze
|
|
5
5
|
|
|
6
6
|
def search
|
|
7
7
|
@array = index.search(ref).sort_by { |hit| hit[:id] }.map do |row|
|
data/lib/relaton/xsf/version.rb
CHANGED
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: 2.1.
|
|
4
|
+
version: 2.1.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: 2026-05-
|
|
11
|
+
date: 2026-05-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mechanize
|