cloudinary 1.10.0 → 1.10.1.pre.rc
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -15
- data/.travis.yml +1 -4
- data/CHANGELOG.md +9 -0
- data/cloudinary.gemspec +7 -22
- data/lib/cloudinary/version.rb +1 -1
- data/spec/api_spec.rb +3 -2
- data/spec/uploader_spec.rb +1 -1
- data/tools/update_version +1 -1
- metadata +46 -74
checksums.yaml
CHANGED
@@ -1,17 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
NDRkYTNkNjI3ZDM5YjEwZDFkYg==
|
6
|
-
data.tar.gz: !binary |-
|
7
|
-
MGMyNDU5NTIxY2Q3M2UyMWM2ZjFmYWVkZjUwNGZmYWFmNmE0MWY0MWY2MTgz
|
8
|
-
ZTgyNzIyMjA0YjU1NjZhMWM3Yg==
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: eb25e44546e36644c7d562315948d628363ac984bffa7996d0bee6892b58847c
|
4
|
+
data.tar.gz: c3e79edcf802119dfeac58f0d29d21486069e1ae3969cc29ccc1dcd7fb67fa5f
|
9
5
|
SHA512:
|
10
|
-
metadata.gz:
|
11
|
-
|
12
|
-
YjVlNjc3NjUzN2E3ODgzNWRiNTEwZDVlZWFlYWQ2ODg5NTc3ZTcxNzIyOThl
|
13
|
-
YWY3MjlkYzkwNjk0MDY1YjI3ODJjM2RjY2FiMWYyOTMyODU4NzU=
|
14
|
-
data.tar.gz: !binary |-
|
15
|
-
MTQzOWE0OGZjZTg3MmI1YTJiOWQ2NzI1MmE4ZDQ2YWQxN2NhMThmMjMzNjJk
|
16
|
-
ZjUwZjNmYTc4MDA4ODBlM2Y0Y2FjOWNiOTc2NjI1YTg1M2EyOTg1MTNkMjg1
|
17
|
-
NTE2ZmQ2ZGEyMjk2YTE1MDM0NWM3ZGIyZDcxZDFjM2ZlNDJhNTk=
|
6
|
+
metadata.gz: 7709d94ff7742280031303c25fb8c19f8f45404b0d44eb372fb3a08865996433274780dee195be1a203467653f88de221cb28fbaa585d9a6559c78ac85fb80cf
|
7
|
+
data.tar.gz: ad6b1ea6ecda326aad5afd5b3d794abd1851778d59bab1ec692f6ea69da4897fc8edaea0a36bfd9b30b1e5988786556ed1c3fa5eb43c731681dfbda3fd834407
|
data/.travis.yml
CHANGED
@@ -5,8 +5,5 @@ before_install:
|
|
5
5
|
|
6
6
|
rvm:
|
7
7
|
- 1.9.3
|
8
|
-
-
|
9
|
-
env:
|
10
|
-
matrix:
|
11
|
-
secure: OTtg+CpNgfqJYqJk4rRZRvljss2p6nLTgBLrdUt/4hpSFLFueo0m7Jdu2zeEDPLEzMKo6zZlBp1/BPjCHtnjda7qpOQpMutEzD5EG60BG5LiMDsoAHL6apiL4zNUy8Sjcp/QslpKRozcYzogHjCnxM8RtSnW9wqiCehM5yivlj4JwU/e2x7XZGRbwW2jj4kr/BAdylYYftAaVOrl/3vqngE2tciq6YRL5GFR6o1L5ty435jsyDwEWAPs6vTLwJuEmPLJ4pEOVPOI08zOgVWKHyAWiCc7WYyBxKDmDUU9Xth922ko7nhptQUJeJuxh2dTvrPuTkibNzX1QLugX8RwzJ7pXG9iuhx14lmFbfZZtl+g2SEh5Hem5GFCVOlxpULuxZUKDcNwYURWwuoeBYpGOrOu7xn70o6cF3bNfenUJEl/ts1YgAZ/pcHmbeW95ovb+vTHj8uPk1J17FKOtXjbgblzYLwrl68ika1QfWJEYq1DcI7BT7AwsEeThPmvQ03y+lH8DrYQVprzTpjGICvMyMQSZdA8woXMeEFV0CzKew1+Q0JgjLpYDTQ6U51HEvzCZFTNoN2ZDdsdMRtkxmjBwgEQAY5+SA5icI6/uxAvloScl+7SnNiAhqyPaA2YlwZ/xhI8plvydkmK805Z1uZztGUNu0yn47FzGDC286RF/rI=
|
8
|
+
- ruby-head
|
12
9
|
script: bundle exec rspec
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,13 @@
|
|
1
1
|
|
2
|
+
1.10.1-rc / 2018-11-20
|
3
|
+
======================
|
4
|
+
|
5
|
+
* Fix transformation list test
|
6
|
+
* Fix detection test
|
7
|
+
* Remove encrypted variables from .travis.yml
|
8
|
+
* Update dependencies
|
9
|
+
* Support "pre" versions in update_version
|
10
|
+
|
2
11
|
1.10.0 / 2018-11-08
|
3
12
|
===================
|
4
13
|
|
data/cloudinary.gemspec
CHANGED
@@ -21,28 +21,13 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.require_paths = ["lib"]
|
22
22
|
|
23
23
|
s.add_dependency "aws_cf_signer"
|
24
|
+
s.add_dependency "rest-client"
|
25
|
+
|
26
|
+
s.add_development_dependency "actionpack"
|
27
|
+
s.add_development_dependency "nokogiri"
|
28
|
+
s.add_development_dependency "rake"
|
24
29
|
s.add_development_dependency "rspec", '>=3.5'
|
25
30
|
s.add_development_dependency "rspec-rails"
|
26
|
-
s.add_development_dependency "
|
27
|
-
|
28
|
-
if RUBY_VERSION > "2.0"
|
29
|
-
s.add_dependency "rest-client"
|
30
|
-
s.add_development_dependency "actionpack"
|
31
|
-
s.add_development_dependency "simplecov"
|
32
|
-
s.add_development_dependency "rubyzip"
|
33
|
-
elsif RUBY_VERSION >= "1.9"
|
34
|
-
s.add_dependency "rest-client", '< 2.0'
|
35
|
-
s.add_dependency 'json', '~> 1.8'
|
36
|
-
s.add_development_dependency "actionpack", '<5.0'
|
37
|
-
s.add_development_dependency "simplecov"
|
38
|
-
s.add_development_dependency "nokogiri", "<1.7.0"
|
39
|
-
s.add_development_dependency "rubyzip", '<1.2.1'
|
40
|
-
s.add_development_dependency "rack", '<1.6.5'
|
41
|
-
else
|
42
|
-
s.add_dependency "i18n", "<0.7.0"
|
43
|
-
s.add_dependency "rest-client", "<=1.6.8"
|
44
|
-
s.add_development_dependency "actionpack", "~>3.2.0"
|
45
|
-
s.add_development_dependency "nokogiri", "<1.6.0"
|
46
|
-
end
|
47
|
-
|
31
|
+
s.add_development_dependency "rubyzip", "<=1.2.0" # support testing Ruby 1.9
|
32
|
+
s.add_development_dependency "simplecov"
|
48
33
|
end
|
data/lib/cloudinary/version.rb
CHANGED
data/spec/api_spec.rb
CHANGED
@@ -203,8 +203,9 @@ describe Cloudinary::Api do
|
|
203
203
|
describe 'transformations' do
|
204
204
|
it "should allow listing transformations" do
|
205
205
|
transformations = @api.transformations()["transformations"]
|
206
|
-
|
207
|
-
expect(
|
206
|
+
t0 = transformations[0]
|
207
|
+
expect(t0).not_to be_empty
|
208
|
+
expect(t0).to have_key("used")
|
208
209
|
end
|
209
210
|
|
210
211
|
it "should allow getting transformation metadata" do
|
data/spec/uploader_spec.rb
CHANGED
@@ -280,7 +280,7 @@ describe Cloudinary::Uploader do
|
|
280
280
|
end
|
281
281
|
|
282
282
|
it "should support requesting detection" do
|
283
|
-
expect{Cloudinary::Uploader.upload(TEST_IMG, { :detection => :illegal, :tags => [TEST_TAG, TIMESTAMP_TAG]})}.to raise_error(CloudinaryException, /
|
283
|
+
expect{Cloudinary::Uploader.upload(TEST_IMG, { :detection => :illegal, :tags => [TEST_TAG, TIMESTAMP_TAG]})}.to raise_error(CloudinaryException, /Detection is invalid/)
|
284
284
|
end
|
285
285
|
|
286
286
|
it "should support upload_large", :large => true do
|
data/tools/update_version
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.10.
|
4
|
+
version: 1.10.1.pre.rc
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nadav Soferman
|
@@ -10,162 +10,134 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-11-
|
13
|
+
date: 2018-11-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: aws_cf_signer
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
|
-
- -
|
26
|
+
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
version: '0'
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
|
-
name:
|
30
|
+
name: rest-client
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- -
|
33
|
+
- - ">="
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: '
|
36
|
-
type: :
|
35
|
+
version: '0'
|
36
|
+
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- -
|
40
|
+
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '
|
42
|
+
version: '0'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
|
-
name:
|
44
|
+
name: actionpack
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- -
|
47
|
+
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: '0'
|
50
50
|
type: :development
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
|
-
- -
|
54
|
+
- - ">="
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: '0'
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
|
-
name:
|
58
|
+
name: nokogiri
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- -
|
61
|
+
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: '0'
|
64
64
|
type: :development
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
|
-
- -
|
68
|
+
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
|
-
name:
|
73
|
-
requirement: !ruby/object:Gem::Requirement
|
74
|
-
requirements:
|
75
|
-
- - <
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '2.0'
|
78
|
-
type: :runtime
|
79
|
-
prerelease: false
|
80
|
-
version_requirements: !ruby/object:Gem::Requirement
|
81
|
-
requirements:
|
82
|
-
- - <
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
version: '2.0'
|
85
|
-
- !ruby/object:Gem::Dependency
|
86
|
-
name: json
|
72
|
+
name: rake
|
87
73
|
requirement: !ruby/object:Gem::Requirement
|
88
74
|
requirements:
|
89
|
-
- -
|
75
|
+
- - ">="
|
90
76
|
- !ruby/object:Gem::Version
|
91
|
-
version: '
|
92
|
-
type: :
|
77
|
+
version: '0'
|
78
|
+
type: :development
|
93
79
|
prerelease: false
|
94
80
|
version_requirements: !ruby/object:Gem::Requirement
|
95
81
|
requirements:
|
96
|
-
- -
|
82
|
+
- - ">="
|
97
83
|
- !ruby/object:Gem::Version
|
98
|
-
version: '
|
84
|
+
version: '0'
|
99
85
|
- !ruby/object:Gem::Dependency
|
100
|
-
name:
|
86
|
+
name: rspec
|
101
87
|
requirement: !ruby/object:Gem::Requirement
|
102
88
|
requirements:
|
103
|
-
- -
|
89
|
+
- - ">="
|
104
90
|
- !ruby/object:Gem::Version
|
105
|
-
version: '5
|
91
|
+
version: '3.5'
|
106
92
|
type: :development
|
107
93
|
prerelease: false
|
108
94
|
version_requirements: !ruby/object:Gem::Requirement
|
109
95
|
requirements:
|
110
|
-
- -
|
96
|
+
- - ">="
|
111
97
|
- !ruby/object:Gem::Version
|
112
|
-
version: '5
|
98
|
+
version: '3.5'
|
113
99
|
- !ruby/object:Gem::Dependency
|
114
|
-
name:
|
100
|
+
name: rspec-rails
|
115
101
|
requirement: !ruby/object:Gem::Requirement
|
116
102
|
requirements:
|
117
|
-
- -
|
103
|
+
- - ">="
|
118
104
|
- !ruby/object:Gem::Version
|
119
105
|
version: '0'
|
120
106
|
type: :development
|
121
107
|
prerelease: false
|
122
108
|
version_requirements: !ruby/object:Gem::Requirement
|
123
109
|
requirements:
|
124
|
-
- -
|
110
|
+
- - ">="
|
125
111
|
- !ruby/object:Gem::Version
|
126
112
|
version: '0'
|
127
|
-
- !ruby/object:Gem::Dependency
|
128
|
-
name: nokogiri
|
129
|
-
requirement: !ruby/object:Gem::Requirement
|
130
|
-
requirements:
|
131
|
-
- - <
|
132
|
-
- !ruby/object:Gem::Version
|
133
|
-
version: 1.7.0
|
134
|
-
type: :development
|
135
|
-
prerelease: false
|
136
|
-
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
requirements:
|
138
|
-
- - <
|
139
|
-
- !ruby/object:Gem::Version
|
140
|
-
version: 1.7.0
|
141
113
|
- !ruby/object:Gem::Dependency
|
142
114
|
name: rubyzip
|
143
115
|
requirement: !ruby/object:Gem::Requirement
|
144
116
|
requirements:
|
145
|
-
- -
|
117
|
+
- - "<="
|
146
118
|
- !ruby/object:Gem::Version
|
147
|
-
version: 1.2.
|
119
|
+
version: 1.2.0
|
148
120
|
type: :development
|
149
121
|
prerelease: false
|
150
122
|
version_requirements: !ruby/object:Gem::Requirement
|
151
123
|
requirements:
|
152
|
-
- -
|
124
|
+
- - "<="
|
153
125
|
- !ruby/object:Gem::Version
|
154
|
-
version: 1.2.
|
126
|
+
version: 1.2.0
|
155
127
|
- !ruby/object:Gem::Dependency
|
156
|
-
name:
|
128
|
+
name: simplecov
|
157
129
|
requirement: !ruby/object:Gem::Requirement
|
158
130
|
requirements:
|
159
|
-
- -
|
131
|
+
- - ">="
|
160
132
|
- !ruby/object:Gem::Version
|
161
|
-
version:
|
133
|
+
version: '0'
|
162
134
|
type: :development
|
163
135
|
prerelease: false
|
164
136
|
version_requirements: !ruby/object:Gem::Requirement
|
165
137
|
requirements:
|
166
|
-
- -
|
138
|
+
- - ">="
|
167
139
|
- !ruby/object:Gem::Version
|
168
|
-
version:
|
140
|
+
version: '0'
|
169
141
|
description: Client library for easily using the Cloudinary service
|
170
142
|
email:
|
171
143
|
- nadav.soferman@cloudinary.com
|
@@ -175,9 +147,9 @@ executables: []
|
|
175
147
|
extensions: []
|
176
148
|
extra_rdoc_files: []
|
177
149
|
files:
|
178
|
-
- .gitignore
|
179
|
-
- .rspec
|
180
|
-
- .travis.yml
|
150
|
+
- ".gitignore"
|
151
|
+
- ".rspec"
|
152
|
+
- ".travis.yml"
|
181
153
|
- CHANGELOG.md
|
182
154
|
- CONTRIBUTING.md
|
183
155
|
- Gemfile
|
@@ -267,17 +239,17 @@ require_paths:
|
|
267
239
|
- lib
|
268
240
|
required_ruby_version: !ruby/object:Gem::Requirement
|
269
241
|
requirements:
|
270
|
-
- -
|
242
|
+
- - ">="
|
271
243
|
- !ruby/object:Gem::Version
|
272
244
|
version: '0'
|
273
245
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
274
246
|
requirements:
|
275
|
-
- -
|
247
|
+
- - ">"
|
276
248
|
- !ruby/object:Gem::Version
|
277
|
-
version:
|
249
|
+
version: 1.3.1
|
278
250
|
requirements: []
|
279
251
|
rubyforge_project: cloudinary
|
280
|
-
rubygems_version: 2.7.
|
252
|
+
rubygems_version: 2.7.8
|
281
253
|
signing_key:
|
282
254
|
specification_version: 4
|
283
255
|
summary: Client library for easily using the Cloudinary service
|