arvados-cli 0.1.20150803031055 → 0.1.20150821133514

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/arv-tag +4 -2
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0304f06d8b2db5f6c1f7a76b6c306c7fd76af6d4
4
- data.tar.gz: bc55ecdd495428735135e5574f420c1ebb5dced7
3
+ metadata.gz: 198ed4ad1103953cb083bb902f65f47363e146fa
4
+ data.tar.gz: 7fe6a80108c9f8625796798f2666120f2ee33482
5
5
  SHA512:
6
- metadata.gz: 3d5a093567466b54d411571a773929a3f84502752c1ee7808fc1eafc790e376969882f9118c16fc9c0e181d16a8a50a940382de0ccf1b48b995d8b2420f44bc8
7
- data.tar.gz: 0dd89b5621ade6399584b8893073a428f60fb817f4e82b6272af03eded88d1169aefd1f9fd56468412e76dc555e2f9d7bfdf14e780387d8ef806e9260dc0b915
6
+ metadata.gz: d8ebb247794ac95bca037ebe874bd57c380693120f60f8193c31f81d52fcbab645dc260b531e8dafc208bb35227f0c552997a2f72cbec16afbf97f8198cbf20f
7
+ data.tar.gz: 456afabf176aa4ece95613b78baa926266117676368e9fd3392b9e8ed9e56c3fdd8012e177dc666f3f7ea1b73fa02220f01f8ead124a9e2c3dda2e96f79fba34
data/bin/arv-tag CHANGED
@@ -17,11 +17,13 @@ def usage
17
17
  end
18
18
 
19
19
  def api_call(method, parameters:{}, request_body:{})
20
- request_body[:api_token] = ENV['ARVADOS_API_TOKEN']
21
20
  result = $client.execute(:api_method => method,
22
21
  :parameters => parameters,
23
22
  :body_object => request_body,
24
- :authenticated => false)
23
+ :authenticated => false,
24
+ :headers => {
25
+ authorization: "OAuth2 #{ENV['ARVADOS_API_TOKEN']}",
26
+ })
25
27
 
26
28
  begin
27
29
  results = JSON.parse result.body
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arvados-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20150803031055
4
+ version: 0.1.20150821133514
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arvados Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-03 00:00:00.000000000 Z
11
+ date: 2015-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: arvados
@@ -178,7 +178,7 @@ dependencies:
178
178
  - - "<"
179
179
  - !ruby/object:Gem::Version
180
180
  version: 1.0.0
181
- description: Arvados command line tools, git commit 6988f4d44d2f8f7fc4aa2c381334c44d3133cf31
181
+ description: Arvados command line tools, git commit 6a79f929394e3bf1be12ea892593d13861b65573
182
182
  email: gem-dev@curoverse.com
183
183
  executables:
184
184
  - arv