shrine-tus 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/shrine/plugins/tus.rb +2 -2
- data/shrine-tus.gemspec +2 -2
- metadata +7 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8aef0acf353a78d6957ff427b68ad717a1af9ad64f2592fe85c4566ca980b84
|
4
|
+
data.tar.gz: 0b300ece5f083fbc078034309aa53cdc652aeaad68eaa495479d3c2ee046518d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa9848d522da77ebd06ae9eeea0822bb2806da90ab632ab34baaea6e2a386076428a32bbe44e11422b9c9f55a2e41ea9c9a2aaccf922c4d570e73387e5b626d2
|
7
|
+
data.tar.gz: 4f1128b8f3007ea339f9148e3b618f179d79a42dacb40d47657db117794193dce63113d095329efb6fca0260b8878b5e1ee96df1c83c340c3d6cb7df71a4eb37
|
data/lib/shrine/plugins/tus.rb
CHANGED
@@ -7,7 +7,7 @@ class Shrine
|
|
7
7
|
module AttacherMethods
|
8
8
|
private
|
9
9
|
|
10
|
-
def cached(data)
|
10
|
+
def cached(data, **options)
|
11
11
|
data = data.dup
|
12
12
|
data = JSON.parse(data) if data.is_a?(String)
|
13
13
|
|
@@ -16,7 +16,7 @@ class Shrine
|
|
16
16
|
data["id"] = tus_url_to_storage_id(id, cache.storage)
|
17
17
|
end
|
18
18
|
|
19
|
-
super(data)
|
19
|
+
super(data, **options)
|
20
20
|
end
|
21
21
|
|
22
22
|
def tus_url_to_storage_id(tus_url, storage)
|
data/shrine-tus.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |gem|
|
2
2
|
gem.name = "shrine-tus"
|
3
|
-
gem.version = "2.1.
|
3
|
+
gem.version = "2.1.1"
|
4
4
|
|
5
5
|
gem.required_ruby_version = ">= 2.1"
|
6
6
|
|
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
|
|
13
13
|
gem.files = Dir["README.md", "LICENSE.txt", "lib/**/*.rb", "*.gemspec"]
|
14
14
|
gem.require_path = "lib"
|
15
15
|
|
16
|
-
gem.add_dependency "shrine",
|
16
|
+
gem.add_dependency "shrine", "~> 3.2"
|
17
17
|
gem.add_dependency "tus-server", "~> 2.0"
|
18
18
|
gem.add_dependency "shrine-url", "~> 2.4"
|
19
19
|
|
metadata
CHANGED
@@ -1,35 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shrine-tus
|
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
|
- Janko Marohnić
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: shrine
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 3.0.0.rc
|
20
|
-
- - "<"
|
17
|
+
- - "~>"
|
21
18
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
19
|
+
version: '3.2'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- - "
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 3.0.0.rc
|
30
|
-
- - "<"
|
24
|
+
- - "~>"
|
31
25
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
26
|
+
version: '3.2'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: tus-server
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -159,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
159
153
|
- !ruby/object:Gem::Version
|
160
154
|
version: '0'
|
161
155
|
requirements: []
|
162
|
-
rubygems_version: 3.
|
156
|
+
rubygems_version: 3.1.1
|
163
157
|
signing_key:
|
164
158
|
specification_version: 4
|
165
159
|
summary: Provides storage and plugin for easier integration between Shrine and tus-ruby-server.
|