cloudinary 1.12.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/ISSUE_TEMPLATE/bug_report.md +42 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +21 -0
- data/CHANGELOG.md +62 -0
- data/cloudinary.gemspec +17 -4
- data/lib/active_storage/service/cloudinary_service.rb +58 -16
- data/lib/cloudinary.rb +22 -18
- data/lib/cloudinary/api.rb +3 -2
- data/lib/cloudinary/carrier_wave.rb +2 -1
- data/lib/cloudinary/carrier_wave/remote.rb +2 -2
- data/lib/cloudinary/cloudinary_controller.rb +2 -4
- data/lib/cloudinary/helper.rb +30 -3
- data/lib/cloudinary/railtie.rb +6 -2
- data/lib/cloudinary/uploader.rb +3 -2
- data/lib/cloudinary/utils.rb +12 -9
- data/lib/cloudinary/version.rb +1 -1
- data/vendor/assets/javascripts/cloudinary/jquery.cloudinary.js +2 -2
- metadata +12 -193
- data/spec/access_control_spec.rb +0 -102
- data/spec/active_storage/Gemfile +0 -12
- data/spec/active_storage/application_system_test_case.rb +0 -5
- data/spec/active_storage/database/create_users_migration.rb +0 -9
- data/spec/active_storage/database/setup.rb +0 -7
- data/spec/active_storage/dummy/Rakefile +0 -5
- data/spec/active_storage/dummy/app/assets/config/manifest.js +0 -3
- data/spec/active_storage/dummy/app/assets/javascripts/application.js +0 -13
- data/spec/active_storage/dummy/app/assets/stylesheets/application.css +0 -15
- data/spec/active_storage/dummy/app/controllers/application_controller.rb +0 -5
- data/spec/active_storage/dummy/app/helpers/application_helper.rb +0 -4
- data/spec/active_storage/dummy/app/jobs/application_job.rb +0 -4
- data/spec/active_storage/dummy/app/models/application_record.rb +0 -5
- data/spec/active_storage/dummy/app/views/layouts/application.html.erb +0 -14
- data/spec/active_storage/dummy/bin/bundle +0 -5
- data/spec/active_storage/dummy/bin/rails +0 -6
- data/spec/active_storage/dummy/bin/rake +0 -6
- data/spec/active_storage/dummy/bin/yarn +0 -11
- data/spec/active_storage/dummy/config.ru +0 -7
- data/spec/active_storage/dummy/config/application.rb +0 -22
- data/spec/active_storage/dummy/config/boot.rb +0 -7
- data/spec/active_storage/dummy/config/database.yml +0 -25
- data/spec/active_storage/dummy/config/environment.rb +0 -7
- data/spec/active_storage/dummy/config/environments/development.rb +0 -52
- data/spec/active_storage/dummy/config/environments/production.rb +0 -83
- data/spec/active_storage/dummy/config/environments/test.rb +0 -38
- data/spec/active_storage/dummy/config/initializers/application_controller_renderer.rb +0 -7
- data/spec/active_storage/dummy/config/initializers/assets.rb +0 -16
- data/spec/active_storage/dummy/config/initializers/backtrace_silencers.rb +0 -8
- data/spec/active_storage/dummy/config/initializers/cookies_serializer.rb +0 -7
- data/spec/active_storage/dummy/config/initializers/filter_parameter_logging.rb +0 -6
- data/spec/active_storage/dummy/config/initializers/inflections.rb +0 -17
- data/spec/active_storage/dummy/config/initializers/mime_types.rb +0 -5
- data/spec/active_storage/dummy/config/initializers/wrap_parameters.rb +0 -16
- data/spec/active_storage/dummy/config/routes.rb +0 -4
- data/spec/active_storage/dummy/config/secrets.yml +0 -32
- data/spec/active_storage/dummy/config/spring.rb +0 -8
- data/spec/active_storage/dummy/config/storage.yml +0 -3
- data/spec/active_storage/dummy/config/webpacker.yml +0 -72
- data/spec/active_storage/dummy/package.json +0 -5
- data/spec/active_storage/dummy/public/404.html +0 -67
- data/spec/active_storage/dummy/public/422.html +0 -67
- data/spec/active_storage/dummy/public/500.html +0 -66
- data/spec/active_storage/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/active_storage/dummy/public/apple-touch-icon.png +0 -0
- data/spec/active_storage/dummy/public/favicon.ico +0 -0
- data/spec/active_storage/fixtures/files/colors.bmp +0 -0
- data/spec/active_storage/fixtures/files/empty_file.txt +0 -0
- data/spec/active_storage/fixtures/files/favicon.ico +0 -0
- data/spec/active_storage/fixtures/files/icon.psd +0 -0
- data/spec/active_storage/fixtures/files/icon.svg +0 -13
- data/spec/active_storage/fixtures/files/image.gif +0 -0
- data/spec/active_storage/fixtures/files/racecar.jpg +0 -0
- data/spec/active_storage/fixtures/files/racecar.tif +0 -0
- data/spec/active_storage/fixtures/files/racecar_rotated.jpg +0 -0
- data/spec/active_storage/fixtures/files/report.pdf +0 -0
- data/spec/active_storage/fixtures/files/rotated_video.mp4 +0 -0
- data/spec/active_storage/fixtures/files/video.mp4 +0 -0
- data/spec/active_storage/fixtures/files/video_with_rectangular_samples.mp4 +0 -0
- data/spec/active_storage/fixtures/files/video_with_undefined_display_aspect_ratio.mp4 +0 -0
- data/spec/active_storage/fixtures/files/video_without_video_stream.mp4 +0 -0
- data/spec/active_storage/service/cloudinary_service_spec.rb +0 -92
- data/spec/active_storage/service/configurations.yml +0 -4
- data/spec/active_storage/test_helper.rb +0 -43
- data/spec/api_spec.rb +0 -623
- data/spec/archive_spec.rb +0 -145
- data/spec/auth_token_spec.rb +0 -77
- data/spec/cache_spec.rb +0 -109
- data/spec/cloudinary_helper_spec.rb +0 -327
- data/spec/cloudinary_spec.rb +0 -56
- data/spec/data/sync_static/app/assets/javascripts/1.coffee +0 -1
- data/spec/data/sync_static/app/assets/javascripts/1.js +0 -1
- data/spec/data/sync_static/app/assets/stylesheets/1.css +0 -3
- data/spec/docx.docx +0 -0
- data/spec/favicon.ico +0 -0
- data/spec/image_spec.rb +0 -107
- data/spec/logo.png +0 -0
- data/spec/movie.mp4 +0 -0
- data/spec/rake_spec.rb +0 -160
- data/spec/sample_asset_file.tsv +0 -4
- data/spec/search_spec.rb +0 -109
- data/spec/spec_helper.rb +0 -273
- data/spec/storage_spec.rb +0 -44
- data/spec/streaminig_profiles_api_spec.rb +0 -74
- data/spec/support/helpers/temp_file_helpers.rb +0 -22
- data/spec/support/shared_contexts/rake.rb +0 -19
- data/spec/uploader_spec.rb +0 -409
- data/spec/utils_methods_spec.rb +0 -81
- data/spec/utils_spec.rb +0 -1052
- data/spec/video_tag_spec.rb +0 -253
- data/spec/video_url_spec.rb +0 -185
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
module Cloudinary::CloudinaryController
|
|
2
2
|
protected
|
|
3
|
-
|
|
3
|
+
|
|
4
4
|
def valid_cloudinary_response?
|
|
5
5
|
received_signature = request.query_parameters[:signature]
|
|
6
6
|
calculated_signature = Cloudinary::Utils.api_sign_request(
|
|
7
7
|
request.query_parameters.select{|key, value| [:public_id, :version].include?(key.to_sym)},
|
|
8
8
|
Cloudinary.config.api_secret)
|
|
9
9
|
return received_signature == calculated_signature
|
|
10
|
-
end
|
|
10
|
+
end
|
|
11
11
|
end
|
|
12
|
-
|
|
13
|
-
ActionController::Base.send :include, Cloudinary::CloudinaryController
|
data/lib/cloudinary/helper.rb
CHANGED
|
@@ -286,7 +286,7 @@ module CloudinaryHelper
|
|
|
286
286
|
Cloudinary::Utils.private_download_url(public_id, format, options)
|
|
287
287
|
end
|
|
288
288
|
|
|
289
|
-
# Helper method that uses the deprecated ZIP download API.
|
|
289
|
+
# Helper method that uses the deprecated ZIP download API.
|
|
290
290
|
# Replaced by cl_download_zip_url that uses the more advanced and robust archive generation and download API
|
|
291
291
|
# @deprecated
|
|
292
292
|
def cl_zip_download_url(tag, options = {})
|
|
@@ -296,7 +296,7 @@ module CloudinaryHelper
|
|
|
296
296
|
# @see {Cloudinary::Utils.download_archive_url}
|
|
297
297
|
def cl_download_archive_url(options = {})
|
|
298
298
|
Cloudinary::Utils.download_archive_url(options)
|
|
299
|
-
end
|
|
299
|
+
end
|
|
300
300
|
|
|
301
301
|
# @see {Cloudinary::Utils.download_zip_url}
|
|
302
302
|
def cl_download_zip_url(options = {})
|
|
@@ -318,7 +318,7 @@ module CloudinaryHelper
|
|
|
318
318
|
if Cloudinary.config.enhance_image_tag
|
|
319
319
|
alias_method :image_tag, :image_tag_with_cloudinary
|
|
320
320
|
alias_method :image_path, :image_path_with_cloudinary
|
|
321
|
-
end
|
|
321
|
+
end
|
|
322
322
|
end
|
|
323
323
|
end
|
|
324
324
|
|
|
@@ -419,3 +419,30 @@ rescue LoadError
|
|
|
419
419
|
# no sass support. Ignore.
|
|
420
420
|
end
|
|
421
421
|
|
|
422
|
+
begin
|
|
423
|
+
require 'sassc'
|
|
424
|
+
require 'sassc/script/functions'
|
|
425
|
+
module SassC::Script::Functions
|
|
426
|
+
# Helper method for generating cloudinary_url in scss files.
|
|
427
|
+
#
|
|
428
|
+
# As opposed to sass(deprecated), optional named arguments are not supported, use hash map instead.
|
|
429
|
+
#
|
|
430
|
+
# Example:
|
|
431
|
+
# Sass: cloudinary-url("sample", $quality: "auto", $fetch_format: "auto");
|
|
432
|
+
# becomes
|
|
433
|
+
# SassC: cloudinary-url("sample", ("quality": "auto", "fetch_format": "auto"));
|
|
434
|
+
#
|
|
435
|
+
# @param [::SassC::Script::Value::String] public_id The public ID of the resource
|
|
436
|
+
# @param [::SassC::Script::Value::Map] sass_options Additional options
|
|
437
|
+
#
|
|
438
|
+
# @return [::SassC::Script::Value::String]
|
|
439
|
+
def cloudinary_url(public_id, sass_options = {})
|
|
440
|
+
options = {}
|
|
441
|
+
sass_options.to_h.each { |k, v| options[k.value] = v.value }
|
|
442
|
+
url = Cloudinary::Utils.cloudinary_url(public_id.value, {:type => :asset}.merge(options))
|
|
443
|
+
::SassC::Script::Value::String.new("url(#{url})")
|
|
444
|
+
end
|
|
445
|
+
end
|
|
446
|
+
rescue LoadError
|
|
447
|
+
# no sassc support. Ignore.
|
|
448
|
+
end
|
data/lib/cloudinary/railtie.rb
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
class Cloudinary::Railtie < Rails::Railtie
|
|
2
2
|
rake_tasks do
|
|
3
3
|
Dir[File.join(File.dirname(__FILE__),'../tasks/*.rake')].each { |f| load f }
|
|
4
|
-
end
|
|
4
|
+
end
|
|
5
5
|
config.after_initialize do |app|
|
|
6
6
|
ActionView::Base.send :include, CloudinaryHelper
|
|
7
7
|
end
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
ActiveSupport.on_load(:action_controller_base) do
|
|
10
|
+
ActionController::Base.send :include, Cloudinary::CloudinaryController
|
|
11
|
+
end
|
|
12
|
+
end
|
data/lib/cloudinary/uploader.rb
CHANGED
|
@@ -64,6 +64,7 @@ class Cloudinary::Uploader
|
|
|
64
64
|
:unique_filename => Cloudinary::Utils.as_safe_bool(options[:unique_filename]),
|
|
65
65
|
:upload_preset => options[:upload_preset],
|
|
66
66
|
:use_filename => Cloudinary::Utils.as_safe_bool(options[:use_filename]),
|
|
67
|
+
:accessibility_analysis => Cloudinary::Utils.as_safe_bool(options[:accessibility_analysis])
|
|
67
68
|
}
|
|
68
69
|
params
|
|
69
70
|
end
|
|
@@ -248,7 +249,7 @@ class Cloudinary::Uploader
|
|
|
248
249
|
end
|
|
249
250
|
end
|
|
250
251
|
|
|
251
|
-
# options may include 'exclusive' (boolean) which causes clearing this tag from all other resources
|
|
252
|
+
# options may include 'exclusive' (boolean) which causes clearing this tag from all other resources
|
|
252
253
|
def self.add_tag(tag, public_ids = [], options = {})
|
|
253
254
|
exclusive = options.delete(:exclusive)
|
|
254
255
|
command = exclusive ? "set_exclusive" : "add"
|
|
@@ -317,7 +318,7 @@ class Cloudinary::Uploader
|
|
|
317
318
|
params[:signature] = Cloudinary::Utils.api_sign_request(params.reject { |k, v| non_signable.include?(k) }, api_secret)
|
|
318
319
|
params[:api_key] = api_key
|
|
319
320
|
end
|
|
320
|
-
timeout = options
|
|
321
|
+
timeout = options.fetch(:timeout) { Cloudinary.config.to_h.fetch(:timeout, 60) }
|
|
321
322
|
|
|
322
323
|
result = nil
|
|
323
324
|
|
data/lib/cloudinary/utils.rb
CHANGED
|
@@ -42,6 +42,8 @@ class Cloudinary::Utils
|
|
|
42
42
|
"page_x" => "px",
|
|
43
43
|
"page_y" => "py",
|
|
44
44
|
"tags" => "tags",
|
|
45
|
+
"initial_duration" => "idu",
|
|
46
|
+
"duration" => "du",
|
|
45
47
|
"width" => "w"
|
|
46
48
|
}
|
|
47
49
|
|
|
@@ -300,12 +302,8 @@ class Cloudinary::Utils
|
|
|
300
302
|
# Translates the condition if provided.
|
|
301
303
|
# @return [string] "if_" + ifValue
|
|
302
304
|
# @private
|
|
303
|
-
def self.process_if(
|
|
304
|
-
|
|
305
|
-
ifValue = normalize_expression(ifValue)
|
|
306
|
-
|
|
307
|
-
ifValue = "if_" + ifValue
|
|
308
|
-
end
|
|
305
|
+
def self.process_if(if_value)
|
|
306
|
+
"if_" + normalize_expression(if_value) unless if_value.to_s.empty?
|
|
309
307
|
end
|
|
310
308
|
|
|
311
309
|
EXP_REGEXP = Regexp.new(PREDEFINED_VARS.keys.join("|")+'|('+CONDITIONAL_OPERATORS.keys.reverse.map { |k| Regexp.escape(k) }.join('|')+')(?=[ _])')
|
|
@@ -563,7 +561,7 @@ class Cloudinary::Utils
|
|
|
563
561
|
source = smart_escape(source)
|
|
564
562
|
source_to_sign = source
|
|
565
563
|
else
|
|
566
|
-
source = smart_escape(
|
|
564
|
+
source = smart_escape(smart_unescape(source))
|
|
567
565
|
source_to_sign = source
|
|
568
566
|
unless url_suffix.blank?
|
|
569
567
|
raise(CloudinaryException, "url_suffix should not include . or /") if url_suffix.match(%r([\./]))
|
|
@@ -767,13 +765,18 @@ class Cloudinary::Utils
|
|
|
767
765
|
"#{public_id}#{ext}"
|
|
768
766
|
end
|
|
769
767
|
|
|
770
|
-
# Based on CGI::
|
|
768
|
+
# Based on CGI::escape. In addition does not escape / :
|
|
771
769
|
def self.smart_escape(string, unsafe = /([^a-zA-Z0-9_.\-\/:]+)/)
|
|
772
770
|
string.gsub(unsafe) do |m|
|
|
773
771
|
'%' + m.unpack('H2' * m.bytesize).join('%').upcase
|
|
774
772
|
end
|
|
775
773
|
end
|
|
776
774
|
|
|
775
|
+
# Based on CGI::unescape. In addition keeps '+' character as is
|
|
776
|
+
def self.smart_unescape(string)
|
|
777
|
+
CGI.unescape(string.sub('+', '%2B'))
|
|
778
|
+
end
|
|
779
|
+
|
|
777
780
|
def self.random_public_id
|
|
778
781
|
sr = defined?(ActiveSupport::SecureRandom) ? ActiveSupport::SecureRandom : SecureRandom
|
|
779
782
|
sr.base64(20).downcase.gsub(/[^a-z0-9]/, "").sub(/^[0-9]+/, '')[0,20]
|
|
@@ -880,7 +883,7 @@ class Cloudinary::Utils
|
|
|
880
883
|
when String then value.downcase == "true" || value == "1"
|
|
881
884
|
when TrueClass then true
|
|
882
885
|
when FalseClass then false
|
|
883
|
-
when
|
|
886
|
+
when Integer then value != 0
|
|
884
887
|
when Symbol then value == :true
|
|
885
888
|
else
|
|
886
889
|
raise "Invalid boolean value #{value} of type #{value.class}"
|
data/lib/cloudinary/version.rb
CHANGED
|
@@ -164,7 +164,7 @@ var slice = [].slice,
|
|
|
164
164
|
* @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.
|
|
165
165
|
* @example
|
|
166
166
|
*
|
|
167
|
-
* function Foo(){};
|
|
167
|
+
* function Foo(){};
|
|
168
168
|
* isFunction(Foo);
|
|
169
169
|
* // => true
|
|
170
170
|
*
|
|
@@ -3070,7 +3070,7 @@ var slice = [].slice,
|
|
|
3070
3070
|
* @protected
|
|
3071
3071
|
* @param {string} key - attribute name
|
|
3072
3072
|
* @param {*|boolean} value - the value of the attribute. If the value is boolean `true`, return the key only.
|
|
3073
|
-
* @returns {string} the attribute
|
|
3073
|
+
* @returns {string} the attribute
|
|
3074
3074
|
*
|
|
3075
3075
|
*/
|
|
3076
3076
|
|
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: 1.
|
|
4
|
+
version: 1.15.0
|
|
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:
|
|
13
|
+
date: 2020-06-11 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: aws_cf_signer
|
|
@@ -74,14 +74,14 @@ dependencies:
|
|
|
74
74
|
requirements:
|
|
75
75
|
- - ">="
|
|
76
76
|
- !ruby/object:Gem::Version
|
|
77
|
-
version:
|
|
77
|
+
version: 13.0.1
|
|
78
78
|
type: :development
|
|
79
79
|
prerelease: false
|
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
|
81
81
|
requirements:
|
|
82
82
|
- - ">="
|
|
83
83
|
- !ruby/object:Gem::Version
|
|
84
|
-
version:
|
|
84
|
+
version: 13.0.1
|
|
85
85
|
- !ruby/object:Gem::Dependency
|
|
86
86
|
name: sqlite3
|
|
87
87
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -156,16 +156,16 @@ dependencies:
|
|
|
156
156
|
name: simplecov
|
|
157
157
|
requirement: !ruby/object:Gem::Requirement
|
|
158
158
|
requirements:
|
|
159
|
-
- - "
|
|
159
|
+
- - ">"
|
|
160
160
|
- !ruby/object:Gem::Version
|
|
161
|
-
version:
|
|
161
|
+
version: 0.18.0
|
|
162
162
|
type: :development
|
|
163
163
|
prerelease: false
|
|
164
164
|
version_requirements: !ruby/object:Gem::Requirement
|
|
165
165
|
requirements:
|
|
166
|
-
- - "
|
|
166
|
+
- - ">"
|
|
167
167
|
- !ruby/object:Gem::Version
|
|
168
|
-
version:
|
|
168
|
+
version: 0.18.0
|
|
169
169
|
description: Client library for easily using the Cloudinary service
|
|
170
170
|
email:
|
|
171
171
|
- nadav.soferman@cloudinary.com
|
|
@@ -175,6 +175,8 @@ executables: []
|
|
|
175
175
|
extensions: []
|
|
176
176
|
extra_rdoc_files: []
|
|
177
177
|
files:
|
|
178
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
|
179
|
+
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
|
178
180
|
- ".gitignore"
|
|
179
181
|
- ".rspec"
|
|
180
182
|
- ".travis.yml"
|
|
@@ -219,97 +221,6 @@ files:
|
|
|
219
221
|
- lib/cloudinary/version.rb
|
|
220
222
|
- lib/cloudinary/video_helper.rb
|
|
221
223
|
- lib/tasks/cloudinary.rake
|
|
222
|
-
- spec/access_control_spec.rb
|
|
223
|
-
- spec/active_storage/Gemfile
|
|
224
|
-
- spec/active_storage/application_system_test_case.rb
|
|
225
|
-
- spec/active_storage/database/create_users_migration.rb
|
|
226
|
-
- spec/active_storage/database/setup.rb
|
|
227
|
-
- spec/active_storage/dummy/Rakefile
|
|
228
|
-
- spec/active_storage/dummy/app/assets/config/manifest.js
|
|
229
|
-
- spec/active_storage/dummy/app/assets/javascripts/application.js
|
|
230
|
-
- spec/active_storage/dummy/app/assets/stylesheets/application.css
|
|
231
|
-
- spec/active_storage/dummy/app/controllers/application_controller.rb
|
|
232
|
-
- spec/active_storage/dummy/app/helpers/application_helper.rb
|
|
233
|
-
- spec/active_storage/dummy/app/jobs/application_job.rb
|
|
234
|
-
- spec/active_storage/dummy/app/models/application_record.rb
|
|
235
|
-
- spec/active_storage/dummy/app/views/layouts/application.html.erb
|
|
236
|
-
- spec/active_storage/dummy/bin/bundle
|
|
237
|
-
- spec/active_storage/dummy/bin/rails
|
|
238
|
-
- spec/active_storage/dummy/bin/rake
|
|
239
|
-
- spec/active_storage/dummy/bin/yarn
|
|
240
|
-
- spec/active_storage/dummy/config.ru
|
|
241
|
-
- spec/active_storage/dummy/config/application.rb
|
|
242
|
-
- spec/active_storage/dummy/config/boot.rb
|
|
243
|
-
- spec/active_storage/dummy/config/database.yml
|
|
244
|
-
- spec/active_storage/dummy/config/environment.rb
|
|
245
|
-
- spec/active_storage/dummy/config/environments/development.rb
|
|
246
|
-
- spec/active_storage/dummy/config/environments/production.rb
|
|
247
|
-
- spec/active_storage/dummy/config/environments/test.rb
|
|
248
|
-
- spec/active_storage/dummy/config/initializers/application_controller_renderer.rb
|
|
249
|
-
- spec/active_storage/dummy/config/initializers/assets.rb
|
|
250
|
-
- spec/active_storage/dummy/config/initializers/backtrace_silencers.rb
|
|
251
|
-
- spec/active_storage/dummy/config/initializers/cookies_serializer.rb
|
|
252
|
-
- spec/active_storage/dummy/config/initializers/filter_parameter_logging.rb
|
|
253
|
-
- spec/active_storage/dummy/config/initializers/inflections.rb
|
|
254
|
-
- spec/active_storage/dummy/config/initializers/mime_types.rb
|
|
255
|
-
- spec/active_storage/dummy/config/initializers/wrap_parameters.rb
|
|
256
|
-
- spec/active_storage/dummy/config/routes.rb
|
|
257
|
-
- spec/active_storage/dummy/config/secrets.yml
|
|
258
|
-
- spec/active_storage/dummy/config/spring.rb
|
|
259
|
-
- spec/active_storage/dummy/config/storage.yml
|
|
260
|
-
- spec/active_storage/dummy/config/webpacker.yml
|
|
261
|
-
- spec/active_storage/dummy/package.json
|
|
262
|
-
- spec/active_storage/dummy/public/404.html
|
|
263
|
-
- spec/active_storage/dummy/public/422.html
|
|
264
|
-
- spec/active_storage/dummy/public/500.html
|
|
265
|
-
- spec/active_storage/dummy/public/apple-touch-icon-precomposed.png
|
|
266
|
-
- spec/active_storage/dummy/public/apple-touch-icon.png
|
|
267
|
-
- spec/active_storage/dummy/public/favicon.ico
|
|
268
|
-
- spec/active_storage/fixtures/files/colors.bmp
|
|
269
|
-
- spec/active_storage/fixtures/files/empty_file.txt
|
|
270
|
-
- spec/active_storage/fixtures/files/favicon.ico
|
|
271
|
-
- spec/active_storage/fixtures/files/icon.psd
|
|
272
|
-
- spec/active_storage/fixtures/files/icon.svg
|
|
273
|
-
- spec/active_storage/fixtures/files/image.gif
|
|
274
|
-
- spec/active_storage/fixtures/files/racecar.jpg
|
|
275
|
-
- spec/active_storage/fixtures/files/racecar.tif
|
|
276
|
-
- spec/active_storage/fixtures/files/racecar_rotated.jpg
|
|
277
|
-
- spec/active_storage/fixtures/files/report.pdf
|
|
278
|
-
- spec/active_storage/fixtures/files/rotated_video.mp4
|
|
279
|
-
- spec/active_storage/fixtures/files/video.mp4
|
|
280
|
-
- spec/active_storage/fixtures/files/video_with_rectangular_samples.mp4
|
|
281
|
-
- spec/active_storage/fixtures/files/video_with_undefined_display_aspect_ratio.mp4
|
|
282
|
-
- spec/active_storage/fixtures/files/video_without_video_stream.mp4
|
|
283
|
-
- spec/active_storage/service/cloudinary_service_spec.rb
|
|
284
|
-
- spec/active_storage/service/configurations.yml
|
|
285
|
-
- spec/active_storage/test_helper.rb
|
|
286
|
-
- spec/api_spec.rb
|
|
287
|
-
- spec/archive_spec.rb
|
|
288
|
-
- spec/auth_token_spec.rb
|
|
289
|
-
- spec/cache_spec.rb
|
|
290
|
-
- spec/cloudinary_helper_spec.rb
|
|
291
|
-
- spec/cloudinary_spec.rb
|
|
292
|
-
- spec/data/sync_static/app/assets/javascripts/1.coffee
|
|
293
|
-
- spec/data/sync_static/app/assets/javascripts/1.js
|
|
294
|
-
- spec/data/sync_static/app/assets/stylesheets/1.css
|
|
295
|
-
- spec/docx.docx
|
|
296
|
-
- spec/favicon.ico
|
|
297
|
-
- spec/image_spec.rb
|
|
298
|
-
- spec/logo.png
|
|
299
|
-
- spec/movie.mp4
|
|
300
|
-
- spec/rake_spec.rb
|
|
301
|
-
- spec/sample_asset_file.tsv
|
|
302
|
-
- spec/search_spec.rb
|
|
303
|
-
- spec/spec_helper.rb
|
|
304
|
-
- spec/storage_spec.rb
|
|
305
|
-
- spec/streaminig_profiles_api_spec.rb
|
|
306
|
-
- spec/support/helpers/temp_file_helpers.rb
|
|
307
|
-
- spec/support/shared_contexts/rake.rb
|
|
308
|
-
- spec/uploader_spec.rb
|
|
309
|
-
- spec/utils_methods_spec.rb
|
|
310
|
-
- spec/utils_spec.rb
|
|
311
|
-
- spec/video_tag_spec.rb
|
|
312
|
-
- spec/video_url_spec.rb
|
|
313
224
|
- tools/update_version
|
|
314
225
|
- vendor/assets/html/cloudinary_cors.html
|
|
315
226
|
- vendor/assets/javascripts/cloudinary/canvas-to-blob.min.js
|
|
@@ -342,100 +253,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
342
253
|
- !ruby/object:Gem::Version
|
|
343
254
|
version: '0'
|
|
344
255
|
requirements: []
|
|
345
|
-
|
|
346
|
-
rubygems_version: 2.7.10
|
|
256
|
+
rubygems_version: 3.1.4
|
|
347
257
|
signing_key:
|
|
348
258
|
specification_version: 4
|
|
349
259
|
summary: Client library for easily using the Cloudinary service
|
|
350
|
-
test_files:
|
|
351
|
-
- spec/access_control_spec.rb
|
|
352
|
-
- spec/active_storage/Gemfile
|
|
353
|
-
- spec/active_storage/application_system_test_case.rb
|
|
354
|
-
- spec/active_storage/database/create_users_migration.rb
|
|
355
|
-
- spec/active_storage/database/setup.rb
|
|
356
|
-
- spec/active_storage/dummy/Rakefile
|
|
357
|
-
- spec/active_storage/dummy/app/assets/config/manifest.js
|
|
358
|
-
- spec/active_storage/dummy/app/assets/javascripts/application.js
|
|
359
|
-
- spec/active_storage/dummy/app/assets/stylesheets/application.css
|
|
360
|
-
- spec/active_storage/dummy/app/controllers/application_controller.rb
|
|
361
|
-
- spec/active_storage/dummy/app/helpers/application_helper.rb
|
|
362
|
-
- spec/active_storage/dummy/app/jobs/application_job.rb
|
|
363
|
-
- spec/active_storage/dummy/app/models/application_record.rb
|
|
364
|
-
- spec/active_storage/dummy/app/views/layouts/application.html.erb
|
|
365
|
-
- spec/active_storage/dummy/bin/bundle
|
|
366
|
-
- spec/active_storage/dummy/bin/rails
|
|
367
|
-
- spec/active_storage/dummy/bin/rake
|
|
368
|
-
- spec/active_storage/dummy/bin/yarn
|
|
369
|
-
- spec/active_storage/dummy/config.ru
|
|
370
|
-
- spec/active_storage/dummy/config/application.rb
|
|
371
|
-
- spec/active_storage/dummy/config/boot.rb
|
|
372
|
-
- spec/active_storage/dummy/config/database.yml
|
|
373
|
-
- spec/active_storage/dummy/config/environment.rb
|
|
374
|
-
- spec/active_storage/dummy/config/environments/development.rb
|
|
375
|
-
- spec/active_storage/dummy/config/environments/production.rb
|
|
376
|
-
- spec/active_storage/dummy/config/environments/test.rb
|
|
377
|
-
- spec/active_storage/dummy/config/initializers/application_controller_renderer.rb
|
|
378
|
-
- spec/active_storage/dummy/config/initializers/assets.rb
|
|
379
|
-
- spec/active_storage/dummy/config/initializers/backtrace_silencers.rb
|
|
380
|
-
- spec/active_storage/dummy/config/initializers/cookies_serializer.rb
|
|
381
|
-
- spec/active_storage/dummy/config/initializers/filter_parameter_logging.rb
|
|
382
|
-
- spec/active_storage/dummy/config/initializers/inflections.rb
|
|
383
|
-
- spec/active_storage/dummy/config/initializers/mime_types.rb
|
|
384
|
-
- spec/active_storage/dummy/config/initializers/wrap_parameters.rb
|
|
385
|
-
- spec/active_storage/dummy/config/routes.rb
|
|
386
|
-
- spec/active_storage/dummy/config/secrets.yml
|
|
387
|
-
- spec/active_storage/dummy/config/spring.rb
|
|
388
|
-
- spec/active_storage/dummy/config/storage.yml
|
|
389
|
-
- spec/active_storage/dummy/config/webpacker.yml
|
|
390
|
-
- spec/active_storage/dummy/package.json
|
|
391
|
-
- spec/active_storage/dummy/public/404.html
|
|
392
|
-
- spec/active_storage/dummy/public/422.html
|
|
393
|
-
- spec/active_storage/dummy/public/500.html
|
|
394
|
-
- spec/active_storage/dummy/public/apple-touch-icon-precomposed.png
|
|
395
|
-
- spec/active_storage/dummy/public/apple-touch-icon.png
|
|
396
|
-
- spec/active_storage/dummy/public/favicon.ico
|
|
397
|
-
- spec/active_storage/fixtures/files/colors.bmp
|
|
398
|
-
- spec/active_storage/fixtures/files/empty_file.txt
|
|
399
|
-
- spec/active_storage/fixtures/files/favicon.ico
|
|
400
|
-
- spec/active_storage/fixtures/files/icon.psd
|
|
401
|
-
- spec/active_storage/fixtures/files/icon.svg
|
|
402
|
-
- spec/active_storage/fixtures/files/image.gif
|
|
403
|
-
- spec/active_storage/fixtures/files/racecar.jpg
|
|
404
|
-
- spec/active_storage/fixtures/files/racecar.tif
|
|
405
|
-
- spec/active_storage/fixtures/files/racecar_rotated.jpg
|
|
406
|
-
- spec/active_storage/fixtures/files/report.pdf
|
|
407
|
-
- spec/active_storage/fixtures/files/rotated_video.mp4
|
|
408
|
-
- spec/active_storage/fixtures/files/video.mp4
|
|
409
|
-
- spec/active_storage/fixtures/files/video_with_rectangular_samples.mp4
|
|
410
|
-
- spec/active_storage/fixtures/files/video_with_undefined_display_aspect_ratio.mp4
|
|
411
|
-
- spec/active_storage/fixtures/files/video_without_video_stream.mp4
|
|
412
|
-
- spec/active_storage/service/cloudinary_service_spec.rb
|
|
413
|
-
- spec/active_storage/service/configurations.yml
|
|
414
|
-
- spec/active_storage/test_helper.rb
|
|
415
|
-
- spec/api_spec.rb
|
|
416
|
-
- spec/archive_spec.rb
|
|
417
|
-
- spec/auth_token_spec.rb
|
|
418
|
-
- spec/cache_spec.rb
|
|
419
|
-
- spec/cloudinary_helper_spec.rb
|
|
420
|
-
- spec/cloudinary_spec.rb
|
|
421
|
-
- spec/data/sync_static/app/assets/javascripts/1.coffee
|
|
422
|
-
- spec/data/sync_static/app/assets/javascripts/1.js
|
|
423
|
-
- spec/data/sync_static/app/assets/stylesheets/1.css
|
|
424
|
-
- spec/docx.docx
|
|
425
|
-
- spec/favicon.ico
|
|
426
|
-
- spec/image_spec.rb
|
|
427
|
-
- spec/logo.png
|
|
428
|
-
- spec/movie.mp4
|
|
429
|
-
- spec/rake_spec.rb
|
|
430
|
-
- spec/sample_asset_file.tsv
|
|
431
|
-
- spec/search_spec.rb
|
|
432
|
-
- spec/spec_helper.rb
|
|
433
|
-
- spec/storage_spec.rb
|
|
434
|
-
- spec/streaminig_profiles_api_spec.rb
|
|
435
|
-
- spec/support/helpers/temp_file_helpers.rb
|
|
436
|
-
- spec/support/shared_contexts/rake.rb
|
|
437
|
-
- spec/uploader_spec.rb
|
|
438
|
-
- spec/utils_methods_spec.rb
|
|
439
|
-
- spec/utils_spec.rb
|
|
440
|
-
- spec/video_tag_spec.rb
|
|
441
|
-
- spec/video_url_spec.rb
|
|
260
|
+
test_files: []
|