utopia-gallery 2.3.0 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/utopia/gallery/cache.rb +3 -3
- data/lib/utopia/gallery/version.rb +1 -1
- data/utopia-gallery.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37b59231492289681e3fd589373f2390b365854be41ab2392787a175597f00de
|
4
|
+
data.tar.gz: 6fcf0ea6323140671d4a9e6bc97e06fc6b1a4ed76c32944b23f7a28c306b4180
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4a658ffc4e165d25da6fe686afd349fcb6fe74ff6bb939875e9dc3ca1c01462e2108d861750a37076c567f4952ca26b67a66b2e5042f27c9a02869a2a66e59e
|
7
|
+
data.tar.gz: 1cca4d8d0c8c184ec9fa41f868ec883be647cf4be1bfe707536e53bed290317c79979a8b8a347285dd9354f30110519a5da6a265c44760713333f550ae0d1779
|
data/lib/utopia/gallery/cache.rb
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
19
|
# THE SOFTWARE.
|
20
20
|
|
21
|
-
require 'trenni/
|
21
|
+
require 'trenni/reference'
|
22
22
|
|
23
23
|
module Utopia
|
24
24
|
module Gallery
|
@@ -80,13 +80,13 @@ module Utopia
|
|
80
80
|
end
|
81
81
|
|
82
82
|
def original
|
83
|
-
Trenni::
|
83
|
+
Trenni::Reference.new(@media.path)
|
84
84
|
end
|
85
85
|
|
86
86
|
# This allows dynamic path lookup based on process name, e.g. `cache.small`.
|
87
87
|
def method_missing(name, *args)
|
88
88
|
if process = @processes[name]
|
89
|
-
return Trenni::
|
89
|
+
return Trenni::Reference.new(source_path_for(process))
|
90
90
|
else
|
91
91
|
super
|
92
92
|
end
|
data/utopia-gallery.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.require_paths = ["lib"]
|
18
18
|
|
19
19
|
spec.add_dependency "utopia", "~> 2.0"
|
20
|
-
spec.add_dependency "trenni", "~> 3.
|
20
|
+
spec.add_dependency "trenni", "~> 3.9"
|
21
21
|
spec.add_dependency "vips-thumbnail", "~> 1.1"
|
22
22
|
|
23
23
|
spec.add_development_dependency "covered"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: utopia-gallery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: utopia
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '3.
|
33
|
+
version: '3.9'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '3.
|
40
|
+
version: '3.9'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: vips-thumbnail
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -161,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
161
161
|
- !ruby/object:Gem::Version
|
162
162
|
version: '0'
|
163
163
|
requirements: []
|
164
|
-
rubygems_version: 3.
|
164
|
+
rubygems_version: 3.1.2
|
165
165
|
signing_key:
|
166
166
|
specification_version: 4
|
167
167
|
summary: A gallery tag for use with the Utopia web framework.
|