alchemy_cloudinary 2.0.2 → 3.0.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: 53e24179733979db9d28226655a6389282a338cc7db0bdf726bed4a57b5eca7c
4
- data.tar.gz: 88e408ddfcf784b048987942315cc65822577c6b1ca6e983d99e55c0ff7b634e
3
+ metadata.gz: 25c385dedb6812dfc76af611195e5b2ac03f6a430378e1ed074636e769c77dee
4
+ data.tar.gz: b3b0ff2d9ae499ed9a90b7d0b6f47151f6ca502275e73ec43c85016b0e8f6ef9
5
5
  SHA512:
6
- metadata.gz: 233c3e07fa8050610c3c71c3021b1bd5ddaea003d40a4e282ab531a0bed64cdd7a40cffdd63cdc6185c050ca41997e2c65404edd85681f640cd7486eee016a84
7
- data.tar.gz: f4bb004bfd85c0129b4b537415897092c2535b2f50aeb000208ba179ac5175ef24501abdc493b480c599bdb3d5ca66cf39e7f3cdfae0d972d3659bc15202d4b7
6
+ metadata.gz: b5cea91301b14e76b35c491f1923d168127cc178ced68d9f18b7dc4a045ddc2ce9abbf96416fdc192b0ac987b996e7bbbda44d9ee43e4bf56cc6195ff2c2c74e
7
+ data.tar.gz: 1b353d12759778bd3aee6fc9969588e858e889e8ee83e4a6811390453b3a825a8f70ae24eb70fe340edc743223acf654d540a8a9c7be3eee6dc2b4bd84c26d63
@@ -13,9 +13,9 @@ module AlchemyCloudinary
13
13
 
14
14
  config.to_prepare do
15
15
  require_dependency "alchemy/picture/cloudinary_url"
16
- require_dependency "alchemy_cloudinary/create_picture_thumb"
16
+ require_dependency "alchemy_cloudinary/store_picture_thumb"
17
17
  Alchemy::Picture.url_class = Alchemy::Picture::CloudinaryUrl
18
- Alchemy::PictureThumb.generator_class = AlchemyCloudinary::CreatePictureThumb
18
+ Alchemy::PictureThumb.storage_class = AlchemyCloudinary::StorePictureThumb
19
19
  end
20
20
  end
21
21
  end
@@ -1,7 +1,7 @@
1
1
  module AlchemyCloudinary
2
- class CreatePictureThumb
2
+ class StorePictureThumb
3
3
  def self.call(*)
4
- # make this noop, because we do not want to create thumbnails,
4
+ # make this noop, because we do not want to store thumbnails,
5
5
  # since Cloudinary renders image thumbnails on demand
6
6
  end
7
7
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AlchemyCloudinary
4
- VERSION = "2.0.2"
4
+ VERSION = "3.0.0"
5
5
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "alchemy_cms"
4
- require "alchemy_cloudinary/create_picture_thumb"
4
+ require "alchemy_cloudinary/store_picture_thumb"
5
5
  require "alchemy_cloudinary/engine"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alchemy_cloudinary
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas von Deyen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-10 00:00:00.000000000 Z
11
+ date: 2023-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: alchemy_cms
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 5.1.0
19
+ version: '7.0'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '7.0'
22
+ version: '8.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 5.1.0
29
+ version: '7.0'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '7.0'
32
+ version: '8.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: cloudinary
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -55,9 +55,9 @@ files:
55
55
  - README.md
56
56
  - app/models/alchemy/picture/cloudinary_url.rb
57
57
  - lib/alchemy_cloudinary.rb
58
- - lib/alchemy_cloudinary/create_picture_thumb.rb
59
58
  - lib/alchemy_cloudinary/dragonfly_data_store.rb
60
59
  - lib/alchemy_cloudinary/engine.rb
60
+ - lib/alchemy_cloudinary/store_picture_thumb.rb
61
61
  - lib/alchemy_cloudinary/version.rb
62
62
  homepage: https://alchemy-cms.com
63
63
  licenses:
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  - !ruby/object:Gem::Version
79
79
  version: '0'
80
80
  requirements: []
81
- rubygems_version: 3.1.6
81
+ rubygems_version: 3.4.17
82
82
  signing_key:
83
83
  specification_version: 4
84
84
  summary: AlchemyCMS Cloudinary Integration.