arvados-cli 2.7.4 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/arv +5 -5
  3. data/bin/arv-tag +1 -1
  4. metadata +13 -17
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7cf0e8a62bb2af64158fcb9828829a8d0f572eb3f04ad93944e9ac0e3f77a4f1
4
- data.tar.gz: b3b86ce05687bc4a8351eb927994fd836288966aea8f1bfb406fa57000d651f5
3
+ metadata.gz: afd977d451236c082c6d6b9fd4901f52654a78424fb4688dcf055914f91df17d
4
+ data.tar.gz: 54d199e33b2f352261e6a1f2953bb3d74f7a3e6914e58ea3d5e5f47b4fe7346d
5
5
  SHA512:
6
- metadata.gz: ba89a70cbce9c17230a193c060cd86b11cb6d0fb6f58ab3a23bae2a77f8cf0b3f986c5a1090217af9855845bf4a83d46213e280155810e16f8dca469dbef2671
7
- data.tar.gz: 6d1f7d0e1d4d6c7cd750accaf16454fb3d280bdfcfe28d11aa6b278b4449cd0e1660e74eadd2cf0a88d7a8116a74b044bd7928300592765883c1823d60a4bb4d
6
+ metadata.gz: '0916897713201fc434c4d4584cc04828a789e3d6957be56b1805ebd6d7d05ed6ab99fae35b52487b348a5de646c887ea9bbced698f75abe6d748a8d2e3bb1b87'
7
+ data.tar.gz: 94652d11d49a5bb5a2a008bf8fe2068898528f52e2c60eab20a0b58663d5b118f8260e6ec7d71c51d3d334cacf44f163c05ea30f22f65e2b1f8110a573927ac0
data/bin/arv CHANGED
@@ -274,7 +274,7 @@ def fetch_rsc_obj client, arvados, rsc, uuid, remaining_opts
274
274
  :parameters => {"uuid" => uuid},
275
275
  :authenticated => false,
276
276
  :headers => {
277
- authorization: 'OAuth2 '+ENV['ARVADOS_API_TOKEN']
277
+ authorization: 'Bearer '+ENV['ARVADOS_API_TOKEN']
278
278
  })
279
279
  obj = check_response result
280
280
  rescue => e
@@ -323,7 +323,7 @@ def arv_edit client, arvados, global_opts, remaining_opts
323
323
  :body_object => { rsc.singularize => newobj },
324
324
  :authenticated => false,
325
325
  :headers => {
326
- authorization: 'OAuth2 '+ENV['ARVADOS_API_TOKEN']
326
+ authorization: 'Bearer '+ENV['ARVADOS_API_TOKEN']
327
327
  })
328
328
  results = check_response result
329
329
  STDERR.puts "Updated object #{results['uuid']}"
@@ -405,7 +405,7 @@ def arv_create client, arvados, global_opts, remaining_opts
405
405
  :body_object => {object_type => newobj},
406
406
  :authenticated => false,
407
407
  :headers => {
408
- authorization: 'OAuth2 '+ENV['ARVADOS_API_TOKEN']
408
+ authorization: 'Bearer '+ENV['ARVADOS_API_TOKEN']
409
409
  })
410
410
  results = check_response result
411
411
  puts "Created object #{results['uuid']}"
@@ -677,7 +677,7 @@ when
677
677
  uri_s = eval(api_method).generate_uri(request_parameters)
678
678
  Curl::Easy.perform(uri_s) do |curl|
679
679
  curl.headers['Accept'] = 'text/plain'
680
- curl.headers['Authorization'] = "OAuth2 #{ENV['ARVADOS_API_TOKEN']}"
680
+ curl.headers['Authorization'] = "Bearer #{ENV['ARVADOS_API_TOKEN']}"
681
681
  if ENV['ARVADOS_API_HOST_INSECURE']
682
682
  curl.ssl_verify_peer = false
683
683
  curl.ssl_verify_host = false
@@ -694,7 +694,7 @@ else
694
694
  :body_object => request_body,
695
695
  :authenticated => false,
696
696
  :headers => {
697
- authorization: 'OAuth2 '+ENV['ARVADOS_API_TOKEN']
697
+ authorization: 'Bearer '+ENV['ARVADOS_API_TOKEN']
698
698
  })
699
699
  end
700
700
 
data/bin/arv-tag CHANGED
@@ -25,7 +25,7 @@ def api_call(method, parameters:{}, request_body:{})
25
25
  :body_object => request_body,
26
26
  :authenticated => false,
27
27
  :headers => {
28
- authorization: "OAuth2 #{ENV['ARVADOS_API_TOKEN']}",
28
+ authorization: "Bearer #{ENV['ARVADOS_API_TOKEN']}",
29
29
  })
30
30
 
31
31
  begin
metadata CHANGED
@@ -1,36 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arvados-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.4
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arvados Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-05 00:00:00.000000000 Z
11
+ date: 2024-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: arvados
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.4.1.20190320201707
19
+ version: 2.8.a
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.4.1.20190320201707
26
+ version: 2.8.a
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: arvados-google-api-client
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.8.7.3
33
+ version: 0.8.7.5
34
34
  - - "<"
35
35
  - !ruby/object:Gem::Version
36
36
  version: 0.8.9
@@ -40,7 +40,7 @@ dependencies:
40
40
  requirements:
41
41
  - - ">="
42
42
  - !ruby/object:Gem::Version
43
- version: 0.8.7.3
43
+ version: 0.8.7.5
44
44
  - - "<"
45
45
  - !ruby/object:Gem::Version
46
46
  version: 0.8.9
@@ -53,7 +53,7 @@ dependencies:
53
53
  version: 3.2.13
54
54
  - - "<"
55
55
  - !ruby/object:Gem::Version
56
- version: '5.3'
56
+ version: '8.0'
57
57
  type: :runtime
58
58
  prerelease: false
59
59
  version_requirements: !ruby/object:Gem::Requirement
@@ -63,7 +63,7 @@ dependencies:
63
63
  version: 3.2.13
64
64
  - - "<"
65
65
  - !ruby/object:Gem::Version
66
- version: '5.3'
66
+ version: '8.0'
67
67
  - !ruby/object:Gem::Dependency
68
68
  name: json
69
69
  requirement: !ruby/object:Gem::Requirement
@@ -160,7 +160,7 @@ dependencies:
160
160
  - - "<"
161
161
  - !ruby/object:Gem::Version
162
162
  version: '2.5'
163
- description: Arvados command line tools, git commit 3bd0d1f3d3274630991682aaa417987f836aaa64
163
+ description: Arvados command line tools, git commit eeec64d3ade747137bd79670155cd0fa34a9b322
164
164
  email: packaging@arvados.org
165
165
  executables:
166
166
  - arv
@@ -183,18 +183,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
183
183
  requirements:
184
184
  - - ">="
185
185
  - !ruby/object:Gem::Version
186
- version: 2.1.0
187
- - - "<"
188
- - !ruby/object:Gem::Version
189
- version: '3'
186
+ version: 2.7.0
190
187
  required_rubygems_version: !ruby/object:Gem::Requirement
191
188
  requirements:
192
189
  - - ">="
193
190
  - !ruby/object:Gem::Version
194
191
  version: '0'
195
192
  requirements: []
196
- rubyforge_project:
197
- rubygems_version: 2.7.10
193
+ rubygems_version: 3.2.5
198
194
  signing_key:
199
195
  specification_version: 4
200
196
  summary: Arvados CLI tools