cloudinary 2.1.0 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/cloudinary.gemspec +4 -0
- data/lib/active_storage/service/cloudinary_service.rb +2 -2
- data/lib/cloudinary/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e13d4a9d8701f1b37bfa34a12f4d393390a2d61ee0a351edb35c662f347ef2f
|
4
|
+
data.tar.gz: d818c41861f532a8cc991d8bba70fc3bf29ae3fcbe0e769efec86a4457767045
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c32eab5d9184adb7063bbd5f5b1a9e728ded397b76834bceaa331faf9d3429e4ad45bf7493aa4e3ceedcdf33eba21b4354fbd7173bcd7c3727382d9b5b43793e
|
7
|
+
data.tar.gz: 28c275bc3ae56751653ceefca9cbd81609ee9894cac57ee259ded5083ca94c64a2936196fd5bff92e1cd09c91275edce33b98e0fcf9edf903d2c70ad6fa1ad6d
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
2.1.2 / 2024-08-18
|
2
|
+
==================
|
3
|
+
|
4
|
+
* Fix ActiveStorage type detection for email files
|
5
|
+
* Add `changelog_uri` to `gemspec`
|
6
|
+
|
7
|
+
2.1.1 / 2024-05-28
|
8
|
+
==================
|
9
|
+
|
10
|
+
* Fix regression in `cloudinary_url` generation
|
11
|
+
|
1
12
|
2.1.0 / 2024-05-27
|
2
13
|
==================
|
3
14
|
|
data/cloudinary.gemspec
CHANGED
@@ -13,6 +13,10 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.summary = %q{Client library for easily using the Cloudinary service}
|
14
14
|
s.description = %q{Client library for easily using the Cloudinary service}
|
15
15
|
|
16
|
+
s.metadata = {
|
17
|
+
"changelog_uri" => "https://github.com/cloudinary/cloudinary_gem/blob/master/CHANGELOG.md"
|
18
|
+
}
|
19
|
+
|
16
20
|
s.files = `git ls-files`.split("\n").select { |f| !f.start_with?("test", "spec", "features", "samples") } +
|
17
21
|
Dir.glob("vendor/assets/javascripts/*/*") + Dir.glob("vendor/assets/html/*")
|
18
22
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
@@ -238,7 +238,7 @@ module ActiveStorage
|
|
238
238
|
|
239
239
|
options = @options.merge(options)
|
240
240
|
|
241
|
-
return public_id if !options[:folder] || options.fetch(:type).to_s == "fetch"
|
241
|
+
return public_id if !options[:folder] || options.fetch(:type, "").to_s == "fetch"
|
242
242
|
|
243
243
|
File.join(@options.fetch(:folder), public_id)
|
244
244
|
end
|
@@ -255,7 +255,7 @@ module ActiveStorage
|
|
255
255
|
case type
|
256
256
|
when 'video', 'audio'
|
257
257
|
'video'
|
258
|
-
when 'text'
|
258
|
+
when 'text', 'message'
|
259
259
|
'raw'
|
260
260
|
when 'application'
|
261
261
|
case subtype
|
data/lib/cloudinary/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudinary
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nadav Soferman
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2024-
|
13
|
+
date: 2024-08-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: faraday
|
@@ -387,7 +387,8 @@ files:
|
|
387
387
|
homepage: https://cloudinary.com
|
388
388
|
licenses:
|
389
389
|
- MIT
|
390
|
-
metadata:
|
390
|
+
metadata:
|
391
|
+
changelog_uri: https://github.com/cloudinary/cloudinary_gem/blob/master/CHANGELOG.md
|
391
392
|
post_install_message:
|
392
393
|
rdoc_options: []
|
393
394
|
require_paths:
|