shrine-tus 1.2.2 → 1.2.3

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: 6342b775832eed1056e4da535d6a08ce46c29ac8495e9744f6bf824bc82f2538
4
- data.tar.gz: a299d569b878d616d935ba7119a9bd9120f9e3a728fa424e135711676c3caceb
3
+ metadata.gz: da9e552ed9264c1c408f43310627ea1a8889a22f515e897f1341aae1609c77ee
4
+ data.tar.gz: c469c7ad799bf47cef51a388ea3db1a542e6d58d2eecaecce6dce5b06f816739
5
5
  SHA512:
6
- metadata.gz: 2015e386048638e4131ef95d5d3b33209ac76e9798173e07672e4e472a59d18fb1c74b8724d2536ef771c1d7775f8fca4e41ddb308adf2fceba561cc544e1ec6
7
- data.tar.gz: 9ab952538612642dec395b506f54dcf4be74cf621deca6daf6d1b3c2a2568ca659506671daff19a2785d919253dd7ba959dd889564303a9c173c0bec3fbca328
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-m/tus-ruby-server
193
- [Down]: https://github.com/janko-m/down
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
@@ -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"]
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = "shrine-tus"
3
- gem.version = "1.2.2"
3
+ gem.version = "1.2.3"
4
4
 
5
5
  gem.required_ruby_version = ">= 2.1"
6
6
 
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.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-01-06 00:00:00.000000000 Z
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.1
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.