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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e469bc8bc864dde3af55ec533e5c123d344361ce4e786529557f5cfc139dd1ef
4
- data.tar.gz: 450bcf016d1ca383148f302cb29661cbab6649294ce3ba85b3a35393355a7e2f
3
+ metadata.gz: 37b59231492289681e3fd589373f2390b365854be41ab2392787a175597f00de
4
+ data.tar.gz: 6fcf0ea6323140671d4a9e6bc97e06fc6b1a4ed76c32944b23f7a28c306b4180
5
5
  SHA512:
6
- metadata.gz: 32dc177e212d10c41f7929ff7d775ca5c705c37945b80918e556fd09de75d5ae8680d140672211d1605142545e4ed67ca05c5b9c15f57c0cc6489b63c8a77d5d
7
- data.tar.gz: d0562253767fde842e39c5b39495054f98b4cde2a7200d1069ef11880a3dff4f0f58faf4a2ce54c318ef9d6b01c7aa65a1b114e3242d0d45a596f9d4496e125e
6
+ metadata.gz: b4a658ffc4e165d25da6fe686afd349fcb6fe74ff6bb939875e9dc3ca1c01462e2108d861750a37076c567f4952ca26b67a66b2e5042f27c9a02869a2a66e59e
7
+ data.tar.gz: 1cca4d8d0c8c184ec9fa41f868ec883be647cf4be1bfe707536e53bed290317c79979a8b8a347285dd9354f30110519a5da6a265c44760713333f550ae0d1779
@@ -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/uri'
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::URI(@media.path)
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::URI(source_path_for(process))
89
+ return Trenni::Reference.new(source_path_for(process))
90
90
  else
91
91
  super
92
92
  end
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Utopia
22
22
  module Gallery
23
- VERSION = "2.3.0"
23
+ VERSION = "2.4.0"
24
24
  end
25
25
  end
@@ -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.1"
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.3.0
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: 2019-12-04 00:00:00.000000000 Z
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.1'
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.1'
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.0.6
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.