arvados 2.7.3 → 3.0.0rc3

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/README +3 -3
  3. data/lib/arvados.rb +5 -5
  4. metadata +18 -36
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f6de8cb9d66a5c35fbc345b95b016f93d0e3f5614316427e91ed9436b3c9e3b
4
- data.tar.gz: 7cc85c11c64b2c5c2a71294c184d5943f0fce238c4183af016d619c01208d9e2
3
+ metadata.gz: 342bd2701d7ba85f58bd6b3f8d2fbbd48251dcbc4f842ebe284d5bad0eb523b7
4
+ data.tar.gz: fa218d1bc8faabf41edc313adae0e380b0e2fe2d2835d0bab4fc0bcf5eeb1942
5
5
  SHA512:
6
- metadata.gz: 176bf44ab32c4c7fc3da201b40487d97631e077e9921b8d91fbc5e5eb82f620d8bb30ee19b502246cbccf9ef824417d946df99e66cc58a91f5337ec306e1e238
7
- data.tar.gz: f97f0107b715773645cb026a74d6eeec09733211efbeac848eb02106781d3a2b11e41ebb3fb122ca28b041b2defda494b13bc4fe65b01db70721f4e0f3cc2dd5
6
+ metadata.gz: 77c1f56c17fe53740176ce771f8459f54a96a0bd6aa8592313098b50607a52a877163864810b5c4c0c4df11e1150bf3ff0cf4377c3ce8eb9b4922e900cd48c25
7
+ data.tar.gz: 67904bc3d17b4c9910089d64e3bddbf513c1bd0ae327b76dcbc09cd80a5c3d7d2eb067ced0d108ba979cf76d0922330f5050c7ba3fbbe8199b7eaf7af59d0d3c
data/README CHANGED
@@ -21,8 +21,8 @@ ENV['ARVADOS_API_TOKEN'] = 'qwertyuiopasdfghjklzxcvbnm1234567890abcdefghijklmn'
21
21
  require 'arvados'
22
22
  arv = Arvados.new( { :suppress_ssl_warnings => false } )
23
23
 
24
- pt_list = arv.pipeline_template.list(where:{})
25
- puts pt_list[:items].first.inspect
24
+ cr_list = arv.container_request.list(where:{})
25
+ puts cr_list[:items].first.inspect
26
26
 
27
- pt = arv.pipeline_template.get(uuid:"9zb4a-p5p6p-fkkbrl98u3pk87m")
27
+ cr = arv.container_request.get(uuid:"zzzzz-xvhdp-fkkbrl98u3pk87m")
28
28
  puts pt.inspect
data/lib/arvados.rb CHANGED
@@ -21,7 +21,7 @@ class Arvados
21
21
  attr_reader :request_id
22
22
 
23
23
  def execute(*args)
24
- @request_id = "req-" + Random::DEFAULT.rand(2**128).to_s(36)[0..19]
24
+ @request_id = "req-" + Random.new.rand(2**128).to_s(36)[0..19]
25
25
  if args.last.is_a? Hash
26
26
  args.last[:headers] ||= {}
27
27
  args.last[:headers]['X-Request-Id'] = @request_id
@@ -76,7 +76,7 @@ class Arvados
76
76
  _arvados = self
77
77
  namespace_class = Arvados.const_set "A#{self.object_id}", Class.new
78
78
  self.arvados_api.schemas.each do |classname, schema|
79
- next if classname.match /List$/
79
+ next if classname.match(/List$/)
80
80
  klass = Class.new(Arvados::Model) do
81
81
  def self.arvados
82
82
  @arvados
@@ -137,7 +137,7 @@ class Arvados
137
137
  end
138
138
 
139
139
  def debuglog *args
140
- self.class.debuglog *args
140
+ self.class.debuglog(*args)
141
141
  end
142
142
 
143
143
  def config(config_file_path="~/.config/arvados/settings.conf")
@@ -206,10 +206,10 @@ class Arvados
206
206
  arvados.client
207
207
  end
208
208
  def self.debuglog(*args)
209
- arvados.class.debuglog *args
209
+ arvados.class.debuglog(*args)
210
210
  end
211
211
  def debuglog(*args)
212
- self.class.arvados.class.debuglog *args
212
+ self.class.arvados.class.debuglog(*args)
213
213
  end
214
214
  def self.api_exec(method, parameters={})
215
215
  api_method = arvados_api.send(api_models_sym).send(method.name.to_sym)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arvados
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.3
4
+ version: 3.0.0rc3
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-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -50,32 +50,32 @@ dependencies:
50
50
  requirements:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: 0.8.7.3
53
+ version: 0.8.7.5
54
54
  - - "<"
55
55
  - !ruby/object:Gem::Version
56
- version: 0.8.9
56
+ version: 0.8.8
57
57
  type: :runtime
58
58
  prerelease: false
59
59
  version_requirements: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - ">="
62
62
  - !ruby/object:Gem::Version
63
- version: 0.8.7.3
63
+ version: 0.8.7.5
64
64
  - - "<"
65
65
  - !ruby/object:Gem::Version
66
- version: 0.8.9
66
+ version: 0.8.8
67
67
  - !ruby/object:Gem::Dependency
68
68
  name: i18n
69
69
  requirement: !ruby/object:Gem::Requirement
70
70
  requirements:
71
- - - "~>"
71
+ - - ">="
72
72
  - !ruby/object:Gem::Version
73
73
  version: '0'
74
74
  type: :runtime
75
75
  prerelease: false
76
76
  version_requirements: !ruby/object:Gem::Requirement
77
77
  requirements:
78
- - - "~>"
78
+ - - ">="
79
79
  - !ruby/object:Gem::Version
80
80
  version: '0'
81
81
  - !ruby/object:Gem::Dependency
@@ -99,40 +99,26 @@ dependencies:
99
99
  - !ruby/object:Gem::Version
100
100
  version: '3'
101
101
  - !ruby/object:Gem::Dependency
102
- name: faraday
102
+ name: jwt
103
103
  requirement: !ruby/object:Gem::Requirement
104
104
  requirements:
105
+ - - "<"
106
+ - !ruby/object:Gem::Version
107
+ version: '2'
105
108
  - - ">="
106
109
  - !ruby/object:Gem::Version
107
- version: 0.17.4
110
+ version: 0.1.5
108
111
  type: :runtime
109
112
  prerelease: false
110
113
  version_requirements: !ruby/object:Gem::Requirement
111
114
  requirements:
112
- - - ">="
113
- - !ruby/object:Gem::Version
114
- version: 0.17.4
115
- - !ruby/object:Gem::Dependency
116
- name: jwt
117
- requirement: !ruby/object:Gem::Requirement
118
- requirements:
119
- - - ">="
120
- - !ruby/object:Gem::Version
121
- version: 0.1.5
122
115
  - - "<"
123
116
  - !ruby/object:Gem::Version
124
117
  version: '2'
125
- type: :runtime
126
- prerelease: false
127
- version_requirements: !ruby/object:Gem::Requirement
128
- requirements:
129
118
  - - ">="
130
119
  - !ruby/object:Gem::Version
131
120
  version: 0.1.5
132
- - - "<"
133
- - !ruby/object:Gem::Version
134
- version: '2'
135
- description: Arvados client library, git commit 3bd0d1f3d3274630991682aaa417987f836aaa64
121
+ description: Arvados client library, git commit 950e76c1dc342ffe79080c9ef911e841675b7b0b
136
122
  email: packaging@arvados.org
137
123
  executables: []
138
124
  extensions: []
@@ -156,18 +142,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
156
142
  requirements:
157
143
  - - ">="
158
144
  - !ruby/object:Gem::Version
159
- version: 1.8.7
160
- - - "<"
161
- - !ruby/object:Gem::Version
162
- version: '3'
145
+ version: 2.7.0
163
146
  required_rubygems_version: !ruby/object:Gem::Requirement
164
147
  requirements:
165
- - - ">="
148
+ - - ">"
166
149
  - !ruby/object:Gem::Version
167
- version: '0'
150
+ version: 1.3.1
168
151
  requirements: []
169
- rubyforge_project:
170
- rubygems_version: 2.7.10
152
+ rubygems_version: 3.2.5
171
153
  signing_key:
172
154
  specification_version: 4
173
155
  summary: Arvados client library