cloudinary 1.0.76 → 1.0.77
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 +8 -8
- data/CHANGELOG +4 -0
- data/lib/cloudinary/api.rb +4 -4
- data/lib/cloudinary/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NGI0OTQxN2RmMjg3MzA5N2M0NTE5ZjkxZjE4MjFjZWI1ODA3MjBjNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDBmYTIzYTA0MjYwMDQ2MGIxYWNkYzU4YmZkZGI2NjlmNTQzNzJlNw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MDVjNzA1NjdhNjZmNjI3OTllNjAzYTU4ZDQ1MDkyOTU1OWNiMjljNmIyZGQ0
|
10
|
+
ZWVmZjc1NWQ1OTUyOGE5MmIzYTI0MTU0MmQ2YzcwYWFhN2MxNzE4NTY0ZjY1
|
11
|
+
YTg4ZmZlYzA0Mzk1ZDhmMzZkYjhhNjRkNWI4NjBjNDYwOWI0ZTI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTk3ZjljM2I1YmI4Yzk3MmQ5YTZjYjk0MzhiYWM3ZTkxNDJjMTUyYmUzNDFj
|
14
|
+
MzgyYzU3NDI1YThmMzg2NmE4ZGIyOTg5ZmVjYjBmZjg0OThjYWNlNjg0Mjlk
|
15
|
+
ZmNhMDk4MTQ4YmIwZWVmNjExM2UzOTQwYzc0ZTI3Yjk2ZWUxNzU=
|
data/CHANGELOG
CHANGED
data/lib/cloudinary/api.rb
CHANGED
@@ -90,27 +90,27 @@ class Cloudinary::Api
|
|
90
90
|
resource_type = options[:resource_type] || "image"
|
91
91
|
type = options[:type] || "upload"
|
92
92
|
uri = "resources/#{resource_type}/#{type}"
|
93
|
-
call_api(:delete, uri, {:public_ids=>public_ids}.merge(only(options, :keep_original)), options)
|
93
|
+
call_api(:delete, uri, {:public_ids=>public_ids}.merge(only(options, :keep_original, :invalidate)), options)
|
94
94
|
end
|
95
95
|
|
96
96
|
def self.delete_resources_by_prefix(prefix, options={})
|
97
97
|
resource_type = options[:resource_type] || "image"
|
98
98
|
type = options[:type] || "upload"
|
99
99
|
uri = "resources/#{resource_type}/#{type}"
|
100
|
-
call_api(:delete, uri, {:prefix=>prefix}.merge(only(options, :keep_original, :next_cursor)), options)
|
100
|
+
call_api(:delete, uri, {:prefix=>prefix}.merge(only(options, :keep_original, :next_cursor, :invalidate)), options)
|
101
101
|
end
|
102
102
|
|
103
103
|
def self.delete_all_resources(options={})
|
104
104
|
resource_type = options[:resource_type] || "image"
|
105
105
|
type = options[:type] || "upload"
|
106
106
|
uri = "resources/#{resource_type}/#{type}"
|
107
|
-
call_api(:delete, uri, {:all=>true}.merge(only(options, :keep_original, :next_cursor)), options)
|
107
|
+
call_api(:delete, uri, {:all=>true}.merge(only(options, :keep_original, :next_cursor, :invalidate)), options)
|
108
108
|
end
|
109
109
|
|
110
110
|
def self.delete_resources_by_tag(tag, options={})
|
111
111
|
resource_type = options[:resource_type] || "image"
|
112
112
|
uri = "resources/#{resource_type}/tags/#{tag}"
|
113
|
-
call_api(:delete, uri, only(options, :keep_original, :next_cursor), options)
|
113
|
+
call_api(:delete, uri, only(options, :keep_original, :next_cursor, :invalidate), options)
|
114
114
|
end
|
115
115
|
|
116
116
|
def self.delete_derived_resources(derived_resource_ids, options={})
|
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: 1.0.
|
4
|
+
version: 1.0.77
|
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: 2014-
|
13
|
+
date: 2014-09-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rest-client
|