uri-urn 0.0.3 → 0.0.4

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
- SHA1:
3
- metadata.gz: 09cb3b02bfce7ed5b5f1d658328f11a643278053
4
- data.tar.gz: 182d2b82425c850823030e05338372ff09c053b3
2
+ SHA256:
3
+ metadata.gz: 454f72d95de454f71d199373af9904ea1f760fb9628f6aa82c86c6db232cef12
4
+ data.tar.gz: 10b4bdeef3bcad966b9029599cd2dcd3918a2ebea3286e8c82910766c98b28a3
5
5
  SHA512:
6
- metadata.gz: 64d8e0a6bd7f019cd39be1d163376af35017de5001eb4417e5dc364df6420134972d189d5e04df17f7d10d95f9e6cf762f12c6b84b79d462a94d00add9f660b3
7
- data.tar.gz: 6c077d38a8d7c9b19b1383ab452525bc115e6046abc33497a22ba23ef77f1569e144d2536711fe4b40aedf10848e4c1aacc7e9ce2ba8b9dba78f89ef3b5d3095
6
+ metadata.gz: 7216deacd54537f4a8eedb5997af46aa56e5d9cffb8bf55f9d132f429ed3ee6902c39f5bdd132a0afbdd1291818a98f4d9cb0579c31f00c4b51c8a2f3c72e9eb
7
+ data.tar.gz: 1ce14d116d313fc5a202915c696092283b0cf3c574393f45299dba52700ac1b6ace296f8f796f05b3e553bbe7c4abeed157542b0ac295f5cad5ce8facd1224c2
data/CHANGELOG.markdown CHANGED
@@ -1,6 +1,17 @@
1
1
  URI::URN Changelog
2
2
  ==================
3
3
 
4
+ 0.0.4
5
+ -----
6
+
7
+ * Follow URI's API change
8
+
9
+ 0.0.3
10
+ -----
11
+
12
+ * Load uri/urn/isbn when loading uri/urn
13
+ * Fix a but that raises `NoMethodError` when `URI::URN.new`'s arguments is invalid
14
+
4
15
  0.0.2
5
16
  -----
6
17
 
data/lib/uri/urn.rb CHANGED
@@ -117,7 +117,11 @@ module URI
117
117
  end
118
118
  end
119
119
 
120
- @@schemes['URN'] = URN
120
+ if respond_to? :register_scheme
121
+ register_scheme 'URN', URN
122
+ else
123
+ @@schemes['URN'] = URN
124
+ end
121
125
  end
122
126
 
123
127
  require 'uri/urn/uuid'
data/uri-urn.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "uri-urn"
3
- spec.version = '0.0.3'
3
+ spec.version = '0.0.4'
4
4
  spec.authors = ["KITAITI Makoto"]
5
5
  spec.email = ["KitaitiMakoto@gmail.com"]
6
6
  spec.summary = %q{Adds URN Scheme support to URI lib.}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uri-urn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - KITAITI Makoto
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-21 00:00:00.000000000 Z
11
+ date: 2023-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubygems-tasks
@@ -52,7 +52,7 @@ homepage: https://gitorious.org/uri-ext
52
52
  licenses:
53
53
  - Ruby
54
54
  metadata: {}
55
- post_install_message:
55
+ post_install_message:
56
56
  rdoc_options: []
57
57
  require_paths:
58
58
  - lib
@@ -67,12 +67,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  requirements: []
70
- rubyforge_project:
71
- rubygems_version: 2.5.1
72
- signing_key:
70
+ rubygems_version: 3.4.1
71
+ signing_key:
73
72
  specification_version: 4
74
73
  summary: Adds URN Scheme support to URI lib.
75
74
  test_files:
76
75
  - test/uri/test_urn.rb
77
- - test/uri/urn/test_uuid.rb
78
76
  - test/uri/urn/test_isbn.rb
77
+ - test/uri/urn/test_uuid.rb