arvados 2.7.4 → 3.0.0rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README +3 -3
- data/lib/arvados.rb +5 -5
- metadata +18 -36
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 342bd2701d7ba85f58bd6b3f8d2fbbd48251dcbc4f842ebe284d5bad0eb523b7
|
4
|
+
data.tar.gz: fa218d1bc8faabf41edc313adae0e380b0e2fe2d2835d0bab4fc0bcf5eeb1942
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
25
|
-
puts
|
24
|
+
cr_list = arv.container_request.list(where:{})
|
25
|
+
puts cr_list[:items].first.inspect
|
26
26
|
|
27
|
-
|
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
|
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
|
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
|
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
|
209
|
+
arvados.class.debuglog(*args)
|
210
210
|
end
|
211
211
|
def debuglog(*args)
|
212
|
-
self.class.arvados.class.debuglog
|
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:
|
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-
|
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.
|
53
|
+
version: 0.8.7.5
|
54
54
|
- - "<"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 0.8.
|
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.
|
63
|
+
version: 0.8.7.5
|
64
64
|
- - "<"
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version: 0.8.
|
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:
|
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.
|
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:
|
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:
|
150
|
+
version: 1.3.1
|
168
151
|
requirements: []
|
169
|
-
|
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
|