cloudinary 2.1.0 → 2.1.1

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: 8ebe1af18bba09305ed12b463059d3d48e7673590b355aea4aef072a6d437348
4
- data.tar.gz: a2129cbe78b2642aff5a974dc209aca465f59d2ea23ebfdf8a65fa57b74b0468
3
+ metadata.gz: 7c9fd54c62a8ad7408044ceb1be3178c98a250a3d874fc9b8f6f47f4e24b676c
4
+ data.tar.gz: 5b8b38c41734a1250c23f312e9afff293acddddc2ee86d506b1c0d0a16391520
5
5
  SHA512:
6
- metadata.gz: 212ab056a1cd705c76551a754b257e63e498ee1cbb11dfcd60f4d4ef63cbfc208c2440ac8bc80908de7661ca724194d724a2cf841cef1d260e7807f05ebf60f3
7
- data.tar.gz: 90f4997c9994df2c9f8de3c45b23a885d39c8fc9c2cb49504f694d224597ba39e3d5d20f2619e9c826fae015a50dbee9bb28ddb25b430a40c7ee05ab9f6bd1cb
6
+ metadata.gz: a4d6c84719bb67ab74ce7575374bfcfee1e3364fa86df4734a7a4146777b05b0f233aa8b3962b6ef86222bf2e91ee1b59be16ba8b7c00166c54da16c875669d0
7
+ data.tar.gz: a3af6962c29d2112425b55170a90b63309b1d11418f380b8151988e96f0a8d895fc44a6d1615f4eb0b3eab1d0dfdd47f5fcf6e3d1e2adcd06f7be261e7634d39
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ 2.1.1 / 2024-05-28
2
+ ==================
3
+
4
+ * Fix regression in `cloudinary_url` generation
5
+
1
6
  2.1.0 / 2024-05-27
2
7
  ==================
3
8
 
@@ -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
@@ -1,4 +1,4 @@
1
1
  # Copyright Cloudinary
2
2
  module Cloudinary
3
- VERSION = "2.1.0"
3
+ VERSION = "2.1.1"
4
4
  end
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.0
4
+ version: 2.1.1
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-05-27 00:00:00.000000000 Z
13
+ date: 2024-05-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: faraday