ro-bundle 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/Rakefile +1 -1
- data/lib/ro-bundle.rb +1 -0
- data/lib/ro-bundle/ro/aggregate.rb +2 -2
- data/lib/ro-bundle/version.rb +1 -1
- data/ro-bundle.gemspec +3 -3
- metadata +25 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 763804a43ec1bd90fa5c8be95c25808e8877a60d0a9b8ee29b312179585afc59
|
4
|
+
data.tar.gz: 8c11baba2952c2a11ec03258335dac5fc46c50826ec63d30fd584109e7f440b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d08175914d093e89a94b582402d05d0a9af7bf53a79fc5fe7de44022d4b34895a002c5ef29b191d9883ac8fbf3bce18d38df4b8a7a3e5f7e8216b8bcbf16b03
|
7
|
+
data.tar.gz: 0b5dfd58c3b4a8351e7c05e22f9aed53c99334979db70ae927701e848979562609a379c56f706561153a6c8773be6d4ace0c18a013a0859f6ab829a3b4188fe2
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-2.
|
1
|
+
ruby-2.6.6
|
data/Rakefile
CHANGED
data/lib/ro-bundle.rb
CHANGED
@@ -33,7 +33,7 @@ module ROBundle
|
|
33
33
|
@structure[:uri] = if Util.is_absolute_uri?(object)
|
34
34
|
object.to_s
|
35
35
|
else
|
36
|
-
URI.encode(object.start_with?("/") ? object : "/#{object}")
|
36
|
+
Addressable::URI.encode(object.start_with?("/") ? object : "/#{object}")
|
37
37
|
end
|
38
38
|
@structure[:mediatype] = mediatype
|
39
39
|
end
|
@@ -52,7 +52,7 @@ module ROBundle
|
|
52
52
|
#
|
53
53
|
# The path of this aggregate in "rubyzip" format, i.e. no leading '/'.
|
54
54
|
def file_entry
|
55
|
-
URI.
|
55
|
+
Addressable::URI.unencode(Util.strip_leading_slash(uri)) unless Util.is_absolute_uri?(uri)
|
56
56
|
end
|
57
57
|
|
58
58
|
# :call-seq:
|
data/lib/ro-bundle/version.rb
CHANGED
data/ro-bundle.gemspec
CHANGED
@@ -28,17 +28,17 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
29
29
|
spec.require_paths = ["lib"]
|
30
30
|
|
31
|
-
spec.has_rdoc = true
|
32
31
|
spec.extra_rdoc_files = [ "Changes.rdoc", "Licence.rdoc", "ReadMe.rdoc" ]
|
33
32
|
spec.rdoc_options = [ "-N", "--tab-width=2", "--main=ReadMe.rdoc" ]
|
34
33
|
|
35
34
|
spec.required_ruby_version = ">= 1.9.3"
|
36
35
|
spec.add_development_dependency "bundler", "~> 1.5"
|
37
|
-
spec.add_development_dependency "rake", "
|
36
|
+
spec.add_development_dependency "rake", ">= 12.3.3"
|
38
37
|
spec.add_development_dependency "rdoc", "~> 4.1"
|
39
38
|
spec.add_development_dependency "test-unit", "~> 3.0"
|
40
39
|
spec.add_development_dependency "coveralls"
|
41
40
|
spec.add_runtime_dependency "ucf", "~> 2.0.2"
|
42
|
-
spec.add_runtime_dependency "json", "
|
41
|
+
spec.add_runtime_dependency "json", ">= 2.3.0"
|
43
42
|
spec.add_runtime_dependency "uuid", "~> 2.3"
|
43
|
+
spec.add_runtime_dependency "addressable", "~> 2.7.0"
|
44
44
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ro-bundle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Haines
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2021-01-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -30,16 +30,16 @@ dependencies:
|
|
30
30
|
name: rake
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- - "
|
33
|
+
- - ">="
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version:
|
35
|
+
version: 12.3.3
|
36
36
|
type: :development
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- - "
|
40
|
+
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version:
|
42
|
+
version: 12.3.3
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: rdoc
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,16 +100,16 @@ dependencies:
|
|
100
100
|
name: json
|
101
101
|
requirement: !ruby/object:Gem::Requirement
|
102
102
|
requirements:
|
103
|
-
- - "
|
103
|
+
- - ">="
|
104
104
|
- !ruby/object:Gem::Version
|
105
|
-
version:
|
105
|
+
version: 2.3.0
|
106
106
|
type: :runtime
|
107
107
|
prerelease: false
|
108
108
|
version_requirements: !ruby/object:Gem::Requirement
|
109
109
|
requirements:
|
110
|
-
- - "
|
110
|
+
- - ">="
|
111
111
|
- !ruby/object:Gem::Version
|
112
|
-
version:
|
112
|
+
version: 2.3.0
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: uuid
|
115
115
|
requirement: !ruby/object:Gem::Requirement
|
@@ -124,6 +124,20 @@ dependencies:
|
|
124
124
|
- - "~>"
|
125
125
|
- !ruby/object:Gem::Version
|
126
126
|
version: '2.3'
|
127
|
+
- !ruby/object:Gem::Dependency
|
128
|
+
name: addressable
|
129
|
+
requirement: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - "~>"
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: 2.7.0
|
134
|
+
type: :runtime
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - "~>"
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: 2.7.0
|
127
141
|
description: This library provides an API for manipulating Research Object (RO) bundles.
|
128
142
|
The RO bundle specification can be found at https://w3id.org/bundle/.
|
129
143
|
email:
|
@@ -210,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
210
224
|
- !ruby/object:Gem::Version
|
211
225
|
version: '0'
|
212
226
|
requirements: []
|
213
|
-
rubygems_version: 3.0.
|
227
|
+
rubygems_version: 3.0.8
|
214
228
|
signing_key:
|
215
229
|
specification_version: 4
|
216
230
|
summary: This library provides an API for manipulating Research Object (RO) bundles.
|