dynamic_image 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -2
- data/lib/dynamic_image/format.rb +1 -3
- data/lib/dynamic_image/model.rb +1 -1
- data/lib/dynamic_image/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97e9d1fe6e9eca656b2f800ff782b1e74e9f86dd0cf75da272470a2b92ee77c3
|
4
|
+
data.tar.gz: 66c3cc61cdb78a845b13fa43101ac0235b5b72df2d5397cdf6e29033632be4bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '04423593c2dcc2f6797e37cb4d8a732f189d617632099cd81c8a56f7b10d5fd3f6b2c110527cd7c44ec5f91208c2f73d1a865d89e779a839db1834f4f3f7340d'
|
7
|
+
data.tar.gz: 734fc7820ddd5b55c95cfe7311a1f449892dfb81eae9fc264393ec4d36e08982e11df89dfc56b2ff3c32a48dcc738623ff6062a173d0d931b6b24932951aaf93
|
data/README.md
CHANGED
@@ -2,8 +2,6 @@
|
|
2
2
|
![Build](https://github.com/elektronaut/dynamic_image/workflows/Build/badge.svg)
|
3
3
|
[![Code Climate](https://codeclimate.com/github/elektronaut/dynamic_image/badges/gpa.svg)](https://codeclimate.com/github/elektronaut/dynamic_image)
|
4
4
|
[![Code Climate](https://codeclimate.com/github/elektronaut/dynamic_image/badges/coverage.svg)](https://codeclimate.com/github/elektronaut/dynamic_image)
|
5
|
-
[![Inline docs](http://inch-ci.org/github/elektronaut/dynamic_image.svg)](http://inch-ci.org/github/elektronaut/dynamic_image)
|
6
|
-
[![Security](https://hakiri.io/github/elektronaut/dynamic_image/main.svg)](https://hakiri.io/github/elektronaut/dynamic_image/main)
|
7
5
|
|
8
6
|
# DynamicImage
|
9
7
|
|
data/lib/dynamic_image/format.rb
CHANGED
@@ -88,9 +88,7 @@ module DynamicImage
|
|
88
88
|
animated: true,
|
89
89
|
content_type: %w[image/gif],
|
90
90
|
extension: %w[.gif],
|
91
|
-
magic_bytes: %w[GIF87a GIF89a]
|
92
|
-
save_options: { optimize_gif_frames: true,
|
93
|
-
optimize_gif_transparency: true }
|
91
|
+
magic_bytes: %w[GIF87a GIF89a]
|
94
92
|
)
|
95
93
|
|
96
94
|
register(
|
data/lib/dynamic_image/model.rb
CHANGED
@@ -100,7 +100,7 @@ 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
|
private
|
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: 3.0.
|
4
|
+
version: 3.0.2
|
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: 2022-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dis
|
@@ -176,7 +176,8 @@ files:
|
|
176
176
|
homepage: https://github.com/elektronaut/dynamic_image
|
177
177
|
licenses:
|
178
178
|
- MIT
|
179
|
-
metadata:
|
179
|
+
metadata:
|
180
|
+
rubygems_mfa_required: 'true'
|
180
181
|
post_install_message:
|
181
182
|
rdoc_options: []
|
182
183
|
require_paths:
|
@@ -192,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
193
|
- !ruby/object:Gem::Version
|
193
194
|
version: '0'
|
194
195
|
requirements: []
|
195
|
-
rubygems_version: 3.2.
|
196
|
+
rubygems_version: 3.2.32
|
196
197
|
signing_key:
|
197
198
|
specification_version: 4
|
198
199
|
summary: Rails plugin that simplifies image uploading and processing
|