google-api-client 0.8.6 → 0.8.7
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 670147e4e2c5fde1aed72ab3774aa74321e40512
|
4
|
+
data.tar.gz: f082392c923335d2de7da780fb694239ad3c745a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4f6f24c0442e8801e8582a131b5c3bac060dbfc9542a326d8525b97b237df522faa3cf6e2b9ac0d0160915a30080ca33e0aeb2805541435a8574b3be4b04cab
|
7
|
+
data.tar.gz: 9a07c7aecac858ea22b2cb743bb508c890a07a0afb4f11e2e31cc32ef15c8902881e1c449007bb4e07d01ec7d04a3ce0c401de4eae8e5b2e271d45c981b37b7f
|
data/CHANGELOG.md
CHANGED
data/google-api-client.gemspec
CHANGED
@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
|
|
32
32
|
s.add_runtime_dependency 'extlib', '~> 0.9'
|
33
33
|
s.add_runtime_dependency 'launchy', '~> 2.4'
|
34
34
|
s.add_runtime_dependency 'retriable', '~> 1.4'
|
35
|
-
s.add_runtime_dependency 'activesupport', '>= 3.2'
|
35
|
+
s.add_runtime_dependency 'activesupport', '>= 3.2', '< 5.0'
|
36
36
|
|
37
37
|
s.add_development_dependency 'rake', '~> 10.0'
|
38
38
|
s.add_development_dependency 'yard', '~> 0.8'
|
@@ -644,7 +644,7 @@ RSpec.describe Google::APIClient do
|
|
644
644
|
describe 'with the Drive API' do
|
645
645
|
before do
|
646
646
|
CLIENT.authorization = nil
|
647
|
-
@drive = CLIENT.discovered_api('drive', '
|
647
|
+
@drive = CLIENT.discovered_api('drive', 'v2')
|
648
648
|
end
|
649
649
|
|
650
650
|
it 'should include media upload info methods' do
|
@@ -114,7 +114,7 @@ RSpec.describe Google::APIClient::ResumableUpload do
|
|
114
114
|
end
|
115
115
|
|
116
116
|
before do
|
117
|
-
@drive = CLIENT.discovered_api('drive', '
|
117
|
+
@drive = CLIENT.discovered_api('drive', 'v2')
|
118
118
|
@file = File.expand_path('files/sample.txt', fixtures_path)
|
119
119
|
@media = Google::APIClient::UploadIO.new(@file, 'text/plain')
|
120
120
|
@uploader = Google::APIClient::ResumableUpload.new(
|
@@ -227,14 +227,14 @@ RSpec.describe Google::APIClient::Service do
|
|
227
227
|
|
228
228
|
it 'should make a valid call with an object body and media upload' do
|
229
229
|
conn = stub_connection do |stub|
|
230
|
-
stub.post('/upload/drive/
|
230
|
+
stub.post('/upload/drive/v2/files?uploadType=multipart') do |env|
|
231
231
|
expect(env.body).to be_a Faraday::CompositeReadIO
|
232
232
|
[200, {}, '{}']
|
233
233
|
end
|
234
234
|
end
|
235
235
|
drive = Google::APIClient::Service.new(
|
236
236
|
'drive',
|
237
|
-
'
|
237
|
+
'v2',
|
238
238
|
{
|
239
239
|
:application_name => APPLICATION_NAME,
|
240
240
|
:authenticated => false,
|
@@ -248,7 +248,7 @@ RSpec.describe Google::APIClient::Service do
|
|
248
248
|
|
249
249
|
describe 'with no connection' do
|
250
250
|
before do
|
251
|
-
@drive = Google::APIClient::Service.new('drive', '
|
251
|
+
@drive = Google::APIClient::Service.new('drive', 'v2',
|
252
252
|
{:application_name => APPLICATION_NAME, :cache_store => nil})
|
253
253
|
end
|
254
254
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bob Aman
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-08-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: addressable
|
@@ -144,6 +144,9 @@ dependencies:
|
|
144
144
|
- - ">="
|
145
145
|
- !ruby/object:Gem::Version
|
146
146
|
version: '3.2'
|
147
|
+
- - "<"
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '5.0'
|
147
150
|
type: :runtime
|
148
151
|
prerelease: false
|
149
152
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -151,6 +154,9 @@ dependencies:
|
|
151
154
|
- - ">="
|
152
155
|
- !ruby/object:Gem::Version
|
153
156
|
version: '3.2'
|
157
|
+
- - "<"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '5.0'
|
154
160
|
- !ruby/object:Gem::Dependency
|
155
161
|
name: rake
|
156
162
|
requirement: !ruby/object:Gem::Requirement
|
@@ -325,10 +331,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
325
331
|
version: 1.3.5
|
326
332
|
requirements: []
|
327
333
|
rubyforge_project:
|
328
|
-
rubygems_version: 2.4.
|
334
|
+
rubygems_version: 2.4.6
|
329
335
|
signing_key:
|
330
336
|
specification_version: 4
|
331
337
|
summary: The Google API Ruby Client makes it trivial to discover and access Google's
|
332
338
|
REST APIs.
|
333
339
|
test_files: []
|
334
|
-
has_rdoc:
|