google-api-client 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -20
- data/lib/google/api_client/version.rb +1 -1
- data/tasks/gem.rake +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8c8eb2c42edad1bf6e5cfbee1d439954126190c
|
4
|
+
data.tar.gz: fb2452e06f097f61268bd5249dc8fef45463b21a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f93bdc644f5520cc99c072da4816b9af16d13a1694a103dbeeee39b6c16974f68c1780ff6232476bac434482adc6cdc09ff036b2a62c4eafd94977ab14855417
|
7
|
+
data.tar.gz: 0d73c87dd66332a6782dd60b1aaef11ebc5d5fc440d86fe34996f661acc714dcb631e6c131be6002f1b76ba5a867ad456c5df15dd80be0b0f22a1b8137ed1837
|
data/README.md
CHANGED
@@ -182,26 +182,6 @@ if upload.resumable?
|
|
182
182
|
end
|
183
183
|
```
|
184
184
|
|
185
|
-
## Command Line
|
186
|
-
|
187
|
-
Included with the gem is a command line interface for working with Google APIs.
|
188
|
-
|
189
|
-
```bash
|
190
|
-
# Log in
|
191
|
-
google-api oauth-2-login --client-id='...' --client-secret='...' --scope="https://www.googleapis.com/auth/plus.me"
|
192
|
-
|
193
|
-
# List the signed-in user's activities
|
194
|
-
google-api execute plus.activities.list --api=plus -- userId="me" collection="public"
|
195
|
-
|
196
|
-
# Start an interactive API session
|
197
|
-
google-api irb
|
198
|
-
>> plus = $client.discovered_api('plus')
|
199
|
-
>> $client.execute(plus.activities.list, {'userId' => 'me', 'collection' => 'public'})
|
200
|
-
=> # returns a response from the API
|
201
|
-
```
|
202
|
-
|
203
|
-
For more information, use `google-api --help`
|
204
|
-
|
205
185
|
## Samples
|
206
186
|
|
207
187
|
See the full list of [samples on Github](https://github.com/google/google-api-ruby-client-samples).
|
data/tasks/gem.rake
CHANGED
@@ -31,7 +31,7 @@ namespace :gem do
|
|
31
31
|
s.add_runtime_dependency('multi_json', '>= 1.0.0')
|
32
32
|
s.add_runtime_dependency('extlib', '>= 0.9.15')
|
33
33
|
s.add_runtime_dependency('jwt', '>= 0.1.5')
|
34
|
-
|
34
|
+
s.add_runtime_dependency('retriable', '>= 1.4')
|
35
35
|
# Dependencies used in the CLI
|
36
36
|
s.add_runtime_dependency('launchy', '>= 2.1.1')
|
37
37
|
|
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.7.
|
4
|
+
version: 0.7.1
|
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: 2014-01-
|
12
|
+
date: 2014-01-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: signet
|
@@ -123,6 +123,20 @@ dependencies:
|
|
123
123
|
- - ! '>='
|
124
124
|
- !ruby/object:Gem::Version
|
125
125
|
version: 0.1.5
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: retriable
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - ! '>='
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '1.4'
|
133
|
+
type: :runtime
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ! '>='
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '1.4'
|
126
140
|
- !ruby/object:Gem::Dependency
|
127
141
|
name: launchy
|
128
142
|
requirement: !ruby/object:Gem::Requirement
|