arvados 1.3.1.20190122164002 → 1.3.1.20190301212059
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/arvados/collection.rb +9 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75ee4bc64a9ae7ef17f8b4fbd28d2d1d56e55cc7
|
4
|
+
data.tar.gz: d79295256fcc27d4eb80ccb4a2c5f6388ba4333f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e138cb5f6a47b363c66c1f6726f875ab99c8b9aeb650f10e3d4ffb3e2ec8e2efaec59c17e0744bc9cb32599c8b2e9c7acfd8bacb97fe30508b02f25a5f6e1246
|
7
|
+
data.tar.gz: 78db6cea4d4be4ac7a6a7c936a54ca244522eb042dca18fe53c0706d3b1908510bb64d40ac183f0a3ac0cc0b0d4e8624a0e8cfb31c05a948a53153c5dac92c57
|
data/lib/arvados/collection.rb
CHANGED
@@ -369,7 +369,11 @@ module Arv
|
|
369
369
|
end
|
370
370
|
|
371
371
|
def add_copy(src_item, key)
|
372
|
-
|
372
|
+
if key == "."
|
373
|
+
self[key] = src_item.copy_named("#{path}")
|
374
|
+
else
|
375
|
+
self[key] = src_item.copy_named("#{path}/#{key}")
|
376
|
+
end
|
373
377
|
end
|
374
378
|
|
375
379
|
def merge(src_item, key)
|
@@ -457,6 +461,10 @@ module Arv
|
|
457
461
|
items["."] = CollectionStream.new(".")
|
458
462
|
end
|
459
463
|
|
464
|
+
def add_copy(src_item, key)
|
465
|
+
items["."].add_copy(src_item, key)
|
466
|
+
end
|
467
|
+
|
460
468
|
def raise_root_write_error(key)
|
461
469
|
raise ArgumentError.new("can't write to %p at collection root" % key)
|
462
470
|
end
|
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: 1.3.1.
|
4
|
+
version: 1.3.1.20190301212059
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arvados Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01
|
11
|
+
date: 2019-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -118,7 +118,7 @@ dependencies:
|
|
118
118
|
- - ">="
|
119
119
|
- !ruby/object:Gem::Version
|
120
120
|
version: 0.1.5
|
121
|
-
description: Arvados client library, git commit
|
121
|
+
description: Arvados client library, git commit fd86f7f461bdca63ba500570094a9a452d28eb57
|
122
122
|
email: gem-dev@curoverse.com
|
123
123
|
executables: []
|
124
124
|
extensions: []
|