shrine-imgix 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -1
- data/lib/shrine/storage/imgix.rb +2 -2
- data/shrine-imgix.gemspec +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3c3f21cf0d11391f215f2dafa787565b124cfd3
|
4
|
+
data.tar.gz: 103304d4458e54ce84152da895beee60ddd160cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3db2cc665e7b7eef47248d2db07b7c19cdb62eedb093378ff66598ac54b8b8adea30c549550d8c254b53e15e226ccd5cf659ecb9086e05f842e6e1cc06d8638b
|
7
|
+
data.tar.gz: 928a0a6ab1a00ca7eb37a622a3bccdef7bdcf93da1abb095198868e8a8522c0ef940800722e54816b50896daccb6e1b8c9a8a7126e289e99317443adf94ab5ff
|
data/README.md
CHANGED
data/lib/shrine/storage/imgix.rb
CHANGED
@@ -24,8 +24,8 @@ class Shrine
|
|
24
24
|
delegate [:upload, :download, :open, :read, :exists?, :clear!] => :storage
|
25
25
|
|
26
26
|
# Purges the file from the source storage after moving it.
|
27
|
-
def move(io, id,
|
28
|
-
@storage.move(io, id,
|
27
|
+
def move(io, id, **options)
|
28
|
+
@storage.move(io, id, **options)
|
29
29
|
io.storage.purge(io.id) if io.storage.is_a?(Storage::Imgix)
|
30
30
|
end
|
31
31
|
|
data/shrine-imgix.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |gem|
|
2
2
|
gem.name = "shrine-imgix"
|
3
|
-
gem.version = "0.
|
3
|
+
gem.version = "0.2.0"
|
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", "shrine-imgix.gemspec"]
|
14
14
|
gem.require_path = "lib"
|
15
15
|
|
16
|
-
gem.add_dependency "shrine", "~>
|
16
|
+
gem.add_dependency "shrine", "~> 2.0"
|
17
17
|
gem.add_dependency "imgix"
|
18
18
|
|
19
19
|
gem.add_development_dependency "rake"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shrine-imgix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Janko Marohnić
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: shrine
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '2.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: imgix
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|