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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8ebe1af18bba09305ed12b463059d3d48e7673590b355aea4aef072a6d437348
4
- data.tar.gz: a2129cbe78b2642aff5a974dc209aca465f59d2ea23ebfdf8a65fa57b74b0468
3
+ metadata.gz: 5e13d4a9d8701f1b37bfa34a12f4d393390a2d61ee0a351edb35c662f347ef2f
4
+ data.tar.gz: d818c41861f532a8cc991d8bba70fc3bf29ae3fcbe0e769efec86a4457767045
5
5
  SHA512:
6
- metadata.gz: 212ab056a1cd705c76551a754b257e63e498ee1cbb11dfcd60f4d4ef63cbfc208c2440ac8bc80908de7661ca724194d724a2cf841cef1d260e7807f05ebf60f3
7
- data.tar.gz: 90f4997c9994df2c9f8de3c45b23a885d39c8fc9c2cb49504f694d224597ba39e3d5d20f2619e9c826fae015a50dbee9bb28ddb25b430a40c7ee05ab9f6bd1cb
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
@@ -1,4 +1,4 @@
1
1
  # Copyright Cloudinary
2
2
  module Cloudinary
3
- VERSION = "2.1.0"
3
+ VERSION = "2.1.2"
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.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-05-27 00:00:00.000000000 Z
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: