dynamic_image 2.1.3 → 2.1.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83e8a6f17f1f898a5b5fcc7715560e17b4c8867819751710332d106d4afc5f1a
|
4
|
+
data.tar.gz: 50517764f87f4ee0283f59211260987574f3567146a62be571a4885bb23b318e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e53e8dcadd56d1c2bcb10f0a059882fbb1dd0efe1bc695822eb892755202c2cad620b27f9e4c85d0528b7d2a53662c1cddca2fa7ba991ce148c46fdc1912bd66
|
7
|
+
data.tar.gz: 69eca07ce497f09bde153dada61c688b5612d5e71790c0008f760955712a93005c7df188b28bddd5d5ba4d98b6bdc8902e199dbd33a6c440f3b2be0ae82560de
|
File without changes
|
@@ -79,7 +79,7 @@ module DynamicImage
|
|
79
79
|
|
80
80
|
respond_to do |format|
|
81
81
|
format.html do
|
82
|
-
render(
|
82
|
+
render(template: "dynamic_image/images/show",
|
83
83
|
layout: false, locals: { options: options })
|
84
84
|
end
|
85
85
|
format.any(:gif, :jpeg, :jpg, :png, :tiff, :webp) do
|
data/lib/dynamic_image/model.rb
CHANGED
@@ -100,9 +100,10 @@ module DynamicImage
|
|
100
100
|
# Includes a timestamp fingerprint in the URL param, so
|
101
101
|
# that rendered images can be cached indefinitely.
|
102
102
|
def to_param
|
103
|
-
[id, updated_at.utc.
|
103
|
+
[id, updated_at.utc.to_formatted_s(cache_timestamp_format)].join("-")
|
104
104
|
end
|
105
105
|
|
106
|
+
|
106
107
|
private
|
107
108
|
|
108
109
|
def read_image_metadata
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dynamic_image
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Inge Jørgensen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dis
|
@@ -159,6 +159,7 @@ files:
|
|
159
159
|
- README.md
|
160
160
|
- Rakefile
|
161
161
|
- app/models/dynamic_image/variant.rb
|
162
|
+
- app/views/dynamic_image/images/show.html.erb
|
162
163
|
- db/migrate/20190620160500_create_dynamic_image_variants.rb
|
163
164
|
- lib/dynamic_image.rb
|
164
165
|
- lib/dynamic_image/belongs_to.rb
|
@@ -180,7 +181,6 @@ files:
|
|
180
181
|
- lib/dynamic_image/processed_image.rb
|
181
182
|
- lib/dynamic_image/profiles/sRGB_ICC_v4_Appearance.icc
|
182
183
|
- lib/dynamic_image/routing.rb
|
183
|
-
- lib/dynamic_image/templates/show.html.erb
|
184
184
|
- lib/dynamic_image/version.rb
|
185
185
|
- lib/rails/generators/dynamic_image/resource/resource_generator.rb
|
186
186
|
homepage: https://github.com/elektronaut/dynamic_image
|
@@ -195,14 +195,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
195
195
|
requirements:
|
196
196
|
- - ">="
|
197
197
|
- !ruby/object:Gem::Version
|
198
|
-
version: 2.
|
198
|
+
version: 2.7.0
|
199
199
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
200
200
|
requirements:
|
201
201
|
- - ">="
|
202
202
|
- !ruby/object:Gem::Version
|
203
203
|
version: '0'
|
204
204
|
requirements: []
|
205
|
-
rubygems_version: 3.1
|
205
|
+
rubygems_version: 3.4.1
|
206
206
|
signing_key:
|
207
207
|
specification_version: 4
|
208
208
|
summary: Rails plugin that simplifies image uploading and processing
|