arvados 0.1.20150614013129 → 0.1.20150615153345
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 +4 -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: f093ab2ae7ac20c25288c8b1c479668fb8b8f4c0
|
4
|
+
data.tar.gz: 6bbad3bfc8a885de3250ae9153ed806d143acfdd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d63b3e1ea31d83f134d0e9426c6b7fa1968cb761b80fc4bb7a881f92052448bc8ef69c24b7d5653222f602a0ebb0d88284bab6bf2d9caef6c8da554aecb845c
|
7
|
+
data.tar.gz: d5e347079ba82be4420b90ed1c6f391af811c9853aaa85b953790182043b47ee3f3bd37c4e17a2513bb79091312c18766add04bd866dfc310889669c6e7dd68e
|
data/lib/arvados/keep.rb
CHANGED
@@ -231,6 +231,10 @@ module Keep
|
|
231
231
|
# Verify that a given manifest is valid according to
|
232
232
|
# https://arvados.org/projects/arvados/wiki/Keep_manifest_format
|
233
233
|
def self.validate! manifest
|
234
|
+
raise ArgumentError.new "No manifest found" if !manifest
|
235
|
+
|
236
|
+
return true if manifest.empty?
|
237
|
+
|
234
238
|
raise ArgumentError.new "Invalid manifest: does not end with newline" if !manifest.end_with?("\n")
|
235
239
|
line_count = 0
|
236
240
|
manifest.each_line do |line|
|
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.20150615153345
|
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-06-
|
11
|
+
date: 2015-06-15 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 771dae6fa850973dd5ae979c939d814bc45b8ab3
|
108
108
|
email: gem-dev@curoverse.com
|
109
109
|
executables: []
|
110
110
|
extensions: []
|