arvados 2.4.4 → 2.5.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/lib/arvados/keep.rb +1 -1
  3. data/lib/arvados.rb +10 -0
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5bc09d02ef6f53621a81c4a28408ca71250cae060565dc2d0696be12fd3e9e3c
4
- data.tar.gz: 0514bd3ea2484ed7899e5b3c66bf22b1b72933126d3d81341e047b45aadada0a
3
+ metadata.gz: 55b7d68c9b9b72c7abc1189d6225086ba68172d4c43966e26f90033b3f96b8bc
4
+ data.tar.gz: 532d6e678cd7a93d06fc4da8dad3fc90937bea21c197e16ad37825eebf6195a0
5
5
  SHA512:
6
- metadata.gz: '080dfe42e4e8abda1c74e163203eb3ce7fc3dd1dbb91a79b12770e3a15fa837e05acbd6eb686900847cd743a9a987c7dfb6f39c4631e3e6ea53f01d8ed31c69f'
7
- data.tar.gz: ce08c5932f0c24c3e043a7bd68cf21bcfa31bb66b3f1337fb93e726c3a9c2b553e2e22feee5d0efe815a4ce84d5ee71679476b0236f689f1550543ccf49f8f9a
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.4
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-02-08 00:00:00.000000000 Z
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 f4554a781a3f6806783cbc6f116c3d7e974c6952
135
+ description: Arvados client library, git commit 29a6508d68cc93c376a8ba28559b7404933b5546
136
136
  email: packaging@arvados.org
137
137
  executables: []
138
138
  extensions: []