shrine-tus 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/shrine/plugins/tus.rb +1 -1
- data/shrine-tus.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: da9e552ed9264c1c408f43310627ea1a8889a22f515e897f1341aae1609c77ee
|
|
4
|
+
data.tar.gz: c469c7ad799bf47cef51a388ea3db1a542e6d58d2eecaecce6dce5b06f816739
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3b69f870e7136722958f6dbe00f77c8c3ca7306cf45ce1e85f13a100a6b0465559f403bd3e25a0ddd3a0f9a3bdbe46cc29c2e55dfd0b22c2b7b295b9e1f8c325
|
|
7
|
+
data.tar.gz: 496281aca3f21f8a0d7d3d03d66ee78b70ee25b5ce72e58ed04a88a5cf9b7179daee2c2ff4d93924fc147d6d72f563890ba006d4c0d8f6c93087b3389c0bb4c2
|
data/README.md
CHANGED
|
@@ -189,8 +189,8 @@ $ bundle exec rake test
|
|
|
189
189
|
[MIT](/LICENSE.txt)
|
|
190
190
|
|
|
191
191
|
[Shrine]: https://github.com/shrinerb/shrine
|
|
192
|
-
[tus-ruby-server]: https://github.com/janko
|
|
193
|
-
[Down]: https://github.com/janko
|
|
192
|
+
[tus-ruby-server]: https://github.com/janko/tus-ruby-server
|
|
193
|
+
[Down]: https://github.com/janko/down
|
|
194
194
|
[HTTP.rb]: https://github.com/httprb/http
|
|
195
195
|
[shrine-tus-demo]: https://github.com/shrinerb/shrine-tus-demo
|
|
196
196
|
[tusd]: https://github.com/tus/tusd
|
data/lib/shrine/plugins/tus.rb
CHANGED
|
@@ -5,7 +5,7 @@ class Shrine
|
|
|
5
5
|
module Plugins
|
|
6
6
|
module Tus
|
|
7
7
|
module AttacherMethods
|
|
8
|
-
def assign(value)
|
|
8
|
+
def assign(value, **options)
|
|
9
9
|
if value.is_a?(String) && value != ""
|
|
10
10
|
data = JSON.parse(value)
|
|
11
11
|
data["id"] = tus_url_to_storage_id(data["id"], cache.storage) if URI.regexp =~ data["id"]
|
data/shrine-tus.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shrine-tus
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Janko Marohnić
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-07-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: shrine
|
|
@@ -159,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
159
159
|
- !ruby/object:Gem::Version
|
|
160
160
|
version: '0'
|
|
161
161
|
requirements: []
|
|
162
|
-
rubygems_version: 3.0.
|
|
162
|
+
rubygems_version: 3.0.3
|
|
163
163
|
signing_key:
|
|
164
164
|
specification_version: 4
|
|
165
165
|
summary: Provides storage and plugin for easier integration between Shrine and tus-ruby-server.
|