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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 54a38cb5cf9c2a33ac95554bfed28331edeb0a5eefdf3fcaedeca0d24f277dc3
4
- data.tar.gz: fde8b74767223348ba07437f017cebee8f75aa1e9e4f7c1093c5aecd13c3dbe7
3
+ metadata.gz: 97e9d1fe6e9eca656b2f800ff782b1e74e9f86dd0cf75da272470a2b92ee77c3
4
+ data.tar.gz: 66c3cc61cdb78a845b13fa43101ac0235b5b72df2d5397cdf6e29033632be4bd
5
5
  SHA512:
6
- metadata.gz: 1cc69dbf8518edf8a6050684a4431baddd0bc6b16248ea6bd0d88a4fa6dd5c80537364aa243162e7c82a332095ac07dba6d044546e04fbebb1a15bc83f605b0d
7
- data.tar.gz: f68f63c569e6bc8d27b76079c05faa16805bbac75a37224eadf1f9073fc03578a01643cbc4ffa74f91a187d6fab670ea7654a6f2b3c2b87acc72b3f2d83a3512
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
 
@@ -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(
@@ -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.to_s(cache_timestamp_format)].join("-")
103
+ [id, updated_at.utc.to_formatted_s(cache_timestamp_format)].join("-")
104
104
  end
105
105
 
106
106
  private
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DynamicImage
4
- VERSION = "3.0.1"
4
+ VERSION = "3.0.2"
5
5
  end
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.1
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: 2021-05-14 00:00:00.000000000 Z
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.3
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