relaton-ietf 1.2.0 → 1.2.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: 5b582d89c8f44fb110d82a47cd477f50be19667cd4482de9753280d9b6ba8a84
4
- data.tar.gz: 3da49d99a2b3fa8880b603b252eea0d551e3f1457c8b8486d0256df957f227a1
3
+ metadata.gz: 58a6d15eff43d9d6589f7c2cac76895c8571f2170ddc1f11786baf294a8ca63c
4
+ data.tar.gz: 9df89ba96c6ab8ce2e87184a496aa9673fc0862665895a7f5bf39caec0242599
5
5
  SHA512:
6
- metadata.gz: ea84e7f6f05e5b95aaaf1668cd9502b6e781409b9f899efafcb757bce60056e5f292e5147f5564c49662a016286300f198de9504427beec1e4677d9ca1eb7f24
7
- data.tar.gz: 0c5fcefc0c2e17233f874f252d2b66e488867dd6b0af77f5043a90e2f547a2237a0ba2302bbcd4d723b3330cba8976c1bf272062ea12f948fc3c12b5b9d08316
6
+ metadata.gz: f9a510c71ff4bb76ddf5734eec7e816e774c1218f7d1a5f03f173ee992bb16d6dfbf2624a21341d3952e6a06a11d7aa49d8347f429ac8938b9bcc59d333e889a
7
+ data.tar.gz: c074d6b726cfa3c6f4f9b65658c28a736a151d50c2958bd771c8cbe2eda310baf8fcf60dfb9ecd78c1a9959dc24882be0aec79ab90eef4438077d3133ce081ef
@@ -111,7 +111,10 @@ module RelatonIetf
111
111
  error = nil
112
112
  uri_nums.each do |n|
113
113
  /(?<=-)(?<ver>\d{2})$/ =~ ref
114
- ref.sub! /-\d{2}/, "" if ver && n == "3"
114
+ if n == "3"
115
+ ref.sub! /-\d{2}/, "" if ver
116
+ ref.sub! /(?<=I-D\.)draft-/, ""
117
+ end
115
118
 
116
119
  uri = "#{RFC_URI_PATTERN}#{n}/reference.#{ref.sub(/\s|\u00a0/, ".")}.xml"
117
120
  begin
@@ -1,3 +1,3 @@
1
1
  module RelatonIetf
2
- VERSION = "1.2.0".freeze
2
+ VERSION = "1.2.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-ietf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.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: 2020-06-26 00:00:00.000000000 Z
11
+ date: 2020-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: debase