arvados 0.1.20150128223752 → 0.1.20150210011250
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 -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: 165798510cf1b6ceaef394e4c4e98b8d5ad51625
|
4
|
+
data.tar.gz: 8ead76da6443dab01eb91997e250e1e26cdbb8a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab1ed1c325cb87102cc14c81223d108666929fb0cc65d9f45c1685b7d6b954c959b6f304c5685ed8aae2326f9a1a739eb32e49e4c844ad80b2d4d5f3e123cc68
|
7
|
+
data.tar.gz: 07aeb668a9ecb38eb7f907d7c9306357e7f288a318812b70269b29536d5987630c4998aec773bef83292d0705c28c3d0c0d6ea8fcf6a095d45aea4f7f5cdc7d4
|
data/lib/arvados/keep.rb
CHANGED
@@ -138,7 +138,10 @@ module Keep
|
|
138
138
|
|
139
139
|
def split_file_token token
|
140
140
|
start_pos, filesize, filename = token.split(':', 3)
|
141
|
-
|
141
|
+
if filename.nil?
|
142
|
+
raise ArgumentError.new "Invalid file token '#{token}'"
|
143
|
+
end
|
144
|
+
[start_pos.to_i, filesize.to_i, unescape(filename)]
|
142
145
|
end
|
143
146
|
|
144
147
|
def each_file_spec
|
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.20150210011250
|
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-
|
11
|
+
date: 2015-02-10 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 9b61792d905324a98b24224d45347082efbe5205
|
108
108
|
email: gem-dev@curoverse.com
|
109
109
|
executables: []
|
110
110
|
extensions: []
|