arvados 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/README +3 -3
  3. data/lib/arvados.rb +5 -5
  4. metadata +16 -34
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b7eeecc938008a83f84554b410a6137c813df56807f3f3dfde72faa885c15050
4
- data.tar.gz: 58f742694ecf18375ea5c6e399994f33859ed3deaa67cee5d50b797ca914a922
3
+ metadata.gz: e4648358e388d1931e867f2b7bc4400d12c8a76770a986bce49cca01709f7451
4
+ data.tar.gz: 56f44f3be13f139ed3864f51a4ed8ba4a29129f19251cd4a94b7bd227781d1b8
5
5
  SHA512:
6
- metadata.gz: 3cbf2bd109b232c83930ada30b7661d7096d31f734c905c3e94bf8c7ff027635acec99fc91c45d6bd746e4789d9cbfc2aba6484ddc94d89bbdc9109211a298ce
7
- data.tar.gz: f35a8fa27b560fc0d442e43218d44faefafc5d15c795b201aaaf4fe29e5b2c5e2297bc6f0614fcba90dd4d3a3f064e615c500fe68c4aa44a9bc6416c9120c2bb
6
+ metadata.gz: 9d67feaf549e2c7c853a5f22a9dfe6e915a3efca35a3f6682ce5eca85cb7309a1440b9f705e3ddac6530c060aa56e78673f907a6e144c7e62596121cb104d1e2
7
+ data.tar.gz: 802e3a13bbed75ca5b20ab6ee8cc26b8e08edaa5bb60fe65c20bf154968a046d41e3b4d2c91caaef85f533ea5f3ac47c14e71b9cb101273cbf1947f318e3edd1
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.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-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
150
  version: '0'
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