relaton-iana 1.19.0 → 1.19.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: faaf5040a9961679999269083f95112c30406aef4ac5c2d7cdfd8bc2ec9388c3
4
- data.tar.gz: 921e1ed47fc6bfced7d9e71e84f1ed0b1408451a72454089646260eeb6088c89
3
+ metadata.gz: f5aa300478bf7a3dc6a7d313e2bbc128ef159c86f3146ea68bda643cde1a743a
4
+ data.tar.gz: 354bd3075650d6ed3910aa60e4e61d053c4214cdcf3d31897a321d92cbbe3b7f
5
5
  SHA512:
6
- metadata.gz: 75ecb4945d9fb26c7df6103ec65eb5fb449b80f8735b2a4c1acdd5abaf1fe949f8044699f7fb4a2f24617dafefea69d25592618ebae018b6eddc4a741de67953
7
- data.tar.gz: 88bb4a360c0f8d9eb2235d336b01ab0084220276b877fb4858238451413ccbfbfce58583525ffbcfd7f1302566fd490d5212627375450100ddba4bd4a6fb7061
6
+ metadata.gz: ed74e427ff0fdffe0d7c116176c54865c062920be86b3f91521323071088dddd7cfcab8479e193886dbf216784927b8e29599ac577ea9b5c2b55757e64d9f56d
7
+ data.tar.gz: 4eb4910fe94bf48a0ae24c86455064e91bf6e1ed7f532b943d7442f33f0a72a8b4ca3ce23a18a4dc001464b7bba592b7f8669577ce607e0de8b07e404b5028e4
@@ -61,8 +61,8 @@ module RelatonIana
61
61
  def parse_link
62
62
  if @rootdoc then @rootdoc.link
63
63
  else
64
- uri = URI.join @xml.namespace.href.sub(/(?<=[^\/])$/, "/"), @xml[:id]
65
- [RelatonBib::TypedUri.new(type: "src", content: uri.to_s)]
64
+ uri = URI.join "https://www.iana.org/assignments/", @xml[:id]
65
+ [RelatonBib::TypedUri.new(type: "self", content: uri.to_s)]
66
66
  end
67
67
  end
68
68
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RelatonIana
4
- VERSION = "1.19.0"
4
+ VERSION = "1.19.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-iana
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
4
+ version: 1.19.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-07-03 00:00:00.000000000 Z
11
+ date: 2024-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday