dynamic_image 2.1.4 → 2.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dynamic_image/model.rb +2 -1
- data/lib/dynamic_image/version.rb +1 -1
- metadata +4 -4
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
|
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
|
@@ -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
|