arvados 0.1.20150413172135 → 0.1.20150421171838
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 +5 -0
- 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: a25c44b03acbf2dcf5d81815745323041dadef06
|
4
|
+
data.tar.gz: 13f7e04848bce28b04aeb44fb8589f3bc4220c17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1291e066620c01abe18888c58f60c5d74f5f12483ef9ccb6778b0bbd8a4136059eae228c7d4b86064aa490afd9cd43fa27ce9e0de1ad4df1433f6f846e7edf0f
|
7
|
+
data.tar.gz: 7225d796be41cc5a384abbce723936f026ed9643b5c0aae887894177bf1b5e49f4a8e2885ba51fed0f0303c06fa6c3d11f310b35b75c5e31630ad60115ddec1a
|
data/lib/arvados/keep.rb
CHANGED
@@ -165,6 +165,11 @@ module Keep
|
|
165
165
|
if @files.nil?
|
166
166
|
file_sizes = Hash.new(0)
|
167
167
|
each_file_spec do |streamname, _, filesize, filename|
|
168
|
+
if filename.include?('/')
|
169
|
+
parts = filename.rpartition('/')
|
170
|
+
streamname = streamname + parts[1] + parts[0] # ./dir_parts
|
171
|
+
filename = parts[2]
|
172
|
+
end
|
168
173
|
file_sizes[[streamname, filename]] += filesize
|
169
174
|
end
|
170
175
|
@files = file_sizes.each_pair.map do |(streamname, filename), size|
|
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: 0.1.
|
4
|
+
version: 0.1.20150421171838
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arvados Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-api-client
|
@@ -104,7 +104,7 @@ dependencies:
|
|
104
104
|
- - "<"
|
105
105
|
- !ruby/object:Gem::Version
|
106
106
|
version: 1.0.0
|
107
|
-
description: Arvados client library, git commit
|
107
|
+
description: Arvados client library, git commit da705110826943b04151f959e059b5f4ffcc4c5e
|
108
108
|
email: gem-dev@curoverse.com
|
109
109
|
executables: []
|
110
110
|
extensions: []
|