arvados 2.4.4 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/arvados/keep.rb +1 -1
- data/lib/arvados.rb +10 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55b7d68c9b9b72c7abc1189d6225086ba68172d4c43966e26f90033b3f96b8bc
|
4
|
+
data.tar.gz: 532d6e678cd7a93d06fc4da8dad3fc90937bea21c197e16ad37825eebf6195a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cdbcf052ebde0c58d58c94b6b5a59fbfe34d1f815bb7dc07f18429208b835eb0f6b7b9a8bdebf1bfdcc8a872b96226fa18c1e8d6c41b45cfdf0ff59e155d79c
|
7
|
+
data.tar.gz: 1c43b5328aee8faf6aa02d12f343ef0ae692ef232866fbee81cafd704b990abd399edc26e3de222c2d63b5091654f54688390643b86c3edab1f227de16cd28ca
|
data/lib/arvados/keep.rb
CHANGED
@@ -248,7 +248,7 @@ module Keep
|
|
248
248
|
end
|
249
249
|
|
250
250
|
# Verify that a given manifest is valid according to
|
251
|
-
# https://arvados.org/projects/arvados/wiki/Keep_manifest_format
|
251
|
+
# https://dev.arvados.org/projects/arvados/wiki/Keep_manifest_format
|
252
252
|
def self.validate! manifest
|
253
253
|
raise ArgumentError.new "No manifest found" if !manifest
|
254
254
|
|
data/lib/arvados.rb
CHANGED
@@ -7,6 +7,7 @@ require 'active_support/inflector'
|
|
7
7
|
require 'json'
|
8
8
|
require 'fileutils'
|
9
9
|
require 'andand'
|
10
|
+
require 'net/http'
|
10
11
|
|
11
12
|
require 'arvados/google_api_client'
|
12
13
|
|
@@ -188,6 +189,15 @@ class Arvados
|
|
188
189
|
@config = config
|
189
190
|
end
|
190
191
|
|
192
|
+
def cluster_config
|
193
|
+
return @cluster_config if @cluster_config
|
194
|
+
|
195
|
+
uri = URI("https://#{config()["ARVADOS_API_HOST"]}/arvados/v1/config")
|
196
|
+
cc = JSON.parse(Net::HTTP.get(uri))
|
197
|
+
|
198
|
+
@cluster_config = cc
|
199
|
+
end
|
200
|
+
|
191
201
|
class Model
|
192
202
|
def self.arvados_api
|
193
203
|
arvados.arvados_api
|
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.
|
4
|
+
version: 2.5.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: 2022-
|
11
|
+
date: 2022-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -132,7 +132,7 @@ dependencies:
|
|
132
132
|
- - "<"
|
133
133
|
- !ruby/object:Gem::Version
|
134
134
|
version: '2'
|
135
|
-
description: Arvados client library, git commit
|
135
|
+
description: Arvados client library, git commit 29a6508d68cc93c376a8ba28559b7404933b5546
|
136
136
|
email: packaging@arvados.org
|
137
137
|
executables: []
|
138
138
|
extensions: []
|