arvados-cli 0.1.20140512134309 → 0.1.20140512153724
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/arv +6 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b4319149266ea1f17dd5aaf91c1c6af6f902e5c
|
4
|
+
data.tar.gz: 25924ce043a38ba5634959b55e3a213e0da42f97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0ee3ecef9c414e707890d6830987c1672e6c8a2dcc01740acb8f5bc4c124cfc9ea0a92c2e6f51623e420ff9395f6fcc67f356f2b74491a6940ab3ac5b454e08
|
7
|
+
data.tar.gz: 234bdb54f03787ccc461a7c823f85866daf90172d4f669b993e7157afe6829501ad1eb530a1f8dbea8fe2d0835fca442c9eece1cfcf743d3a7b88785829f2bc8
|
data/bin/arv
CHANGED
@@ -301,14 +301,14 @@ if global_opts[:dry_run]
|
|
301
301
|
exit
|
302
302
|
end
|
303
303
|
|
304
|
-
request_parameters = {}.merge(method_opts)
|
304
|
+
request_parameters = {_profile:true}.merge(method_opts)
|
305
305
|
resource_body = request_parameters.delete(resource_schema.to_sym)
|
306
306
|
if resource_body
|
307
307
|
request_body = {
|
308
308
|
resource_schema => resource_body
|
309
309
|
}
|
310
310
|
else
|
311
|
-
request_body =
|
311
|
+
request_body = nil
|
312
312
|
end
|
313
313
|
|
314
314
|
case api_method
|
@@ -335,12 +335,13 @@ when
|
|
335
335
|
end
|
336
336
|
exit 0
|
337
337
|
else
|
338
|
-
request_body[:api_token] = ENV['ARVADOS_API_TOKEN']
|
339
|
-
request_body[:_profile] = true
|
340
338
|
result = client.execute(:api_method => eval(api_method),
|
341
339
|
:parameters => request_parameters,
|
342
340
|
:body => request_body,
|
343
|
-
:authenticated => false
|
341
|
+
:authenticated => false,
|
342
|
+
:headers => {
|
343
|
+
authorization: 'OAuth2 '+ENV['ARVADOS_API_TOKEN']
|
344
|
+
})
|
344
345
|
end
|
345
346
|
|
346
347
|
begin
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arvados-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.20140512153724
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arvados Authors
|
@@ -146,7 +146,7 @@ dependencies:
|
|
146
146
|
- - "~>"
|
147
147
|
- !ruby/object:Gem::Version
|
148
148
|
version: '0.8'
|
149
|
-
description: This is the Arvados SDK CLI gem, git revision
|
149
|
+
description: This is the Arvados SDK CLI gem, git revision a6f78c31607b37d207dcebada38ee05335deac50
|
150
150
|
email: gem-dev@curoverse.com
|
151
151
|
executables:
|
152
152
|
- arv
|