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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/arvados/collection.rb +9 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 25ac83805db00c44064eb97894356c9b8ea23d16
4
- data.tar.gz: 026e2819b842fa224330d1c4e003286311ec4246
3
+ metadata.gz: 75ee4bc64a9ae7ef17f8b4fbd28d2d1d56e55cc7
4
+ data.tar.gz: d79295256fcc27d4eb80ccb4a2c5f6388ba4333f
5
5
  SHA512:
6
- metadata.gz: 1671d023aada7472cb66571ca0d5c7bbf460cbc08a441c2731999cb4b5117ae30d83ac6d54b801e68a4d2ca86569983bff6986321b9bb03c61651cb019451d0c
7
- data.tar.gz: d42b9e36979cea15e04120950d30617c50b0f8c4926e70059e8b369daa45dccc2b54826e00533338446b277f7ec7fca73ffb83aba6720f968bad8975524afa5b
6
+ metadata.gz: e138cb5f6a47b363c66c1f6726f875ab99c8b9aeb650f10e3d4ffb3e2ec8e2efaec59c17e0744bc9cb32599c8b2e9c7acfd8bacb97fe30508b02f25a5f6e1246
7
+ data.tar.gz: 78db6cea4d4be4ac7a6a7c936a54ca244522eb042dca18fe53c0706d3b1908510bb64d40ac183f0a3ac0cc0b0d4e8624a0e8cfb31c05a948a53153c5dac92c57
@@ -369,7 +369,11 @@ module Arv
369
369
  end
370
370
 
371
371
  def add_copy(src_item, key)
372
- self[key] = src_item.copy_named("#{path}/#{key}")
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.20190122164002
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-22 00:00:00.000000000 Z
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 7337b18bf7b6996a7fe4df0aba5356a03bda452d
121
+ description: Arvados client library, git commit fd86f7f461bdca63ba500570094a9a452d28eb57
122
122
  email: gem-dev@curoverse.com
123
123
  executables: []
124
124
  extensions: []