arvados 0.1.20150312153553 → 0.1.20150313191637
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: f7777c7fd0f5fae868ca7e621a86dd806d69b5d1
|
4
|
+
data.tar.gz: 09b5ef89cac47dd878b60d84e00992067aafc48f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 007a16243ec11d714042476f9e2a89e26cad56b4c97b49f18c72dedbf5ee56931ddb5413b30393e2aaac9071c5c42f10638af999d15e5240fae9264e699bcb27
|
7
|
+
data.tar.gz: 0ed415e276280b11c7abddb09259d018e25bf3a3916fa8b0b13d9cd2e2af5ae3cdafd4eef05479d2eb313ba682968b3bb7de4f20b095c6674da7d3a9fdd490f1
|
data/lib/arvados/keep.rb
CHANGED
@@ -191,6 +191,11 @@ module Keep
|
|
191
191
|
seen_files.size
|
192
192
|
end
|
193
193
|
|
194
|
+
def files_size
|
195
|
+
# Return the total size of all files in this manifest.
|
196
|
+
files.reduce(0) { |total, (_, _, size)| total + size }
|
197
|
+
end
|
198
|
+
|
194
199
|
def exact_file_count?(want_count)
|
195
200
|
files_count(want_count + 1) == want_count
|
196
201
|
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: 0.1.
|
4
|
+
version: 0.1.20150313191637
|
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-03-
|
11
|
+
date: 2015-03-13 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 71c4fdc3352ad5ca34c2f260fe43fa1150868a04
|
108
108
|
email: gem-dev@curoverse.com
|
109
109
|
executables: []
|
110
110
|
extensions: []
|