arvados 0.1.20150128223752 → 0.1.20150210011250

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/keep.rb +4 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 233fa50a34cf6c9c5195cef6b0fb6a1d5744a4de
4
- data.tar.gz: 89bec26cdbc1a2c646ffa8d666ddbf9f5b70805b
3
+ metadata.gz: 165798510cf1b6ceaef394e4c4e98b8d5ad51625
4
+ data.tar.gz: 8ead76da6443dab01eb91997e250e1e26cdbb8a5
5
5
  SHA512:
6
- metadata.gz: 685d2babbaa167b408bf87e555d92c2b981fda8b4c1dcf2ed007d758d88649694e3d8ca483d20134f1a3bc40cbfb54f2fff66ad67974130c685d427444556ff9
7
- data.tar.gz: f8ade0a881674e7e81e13193ca2ee95278f5fc6f5887ddb4ea4cee52bbd535f03995643f74965ee4a6ef5b14c03dba9122ed0655bb00c5392ee96e550945f258
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
- [start_pos.to_i, filesize.to_i, filename]
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.20150128223752
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-01-28 00:00:00.000000000 Z
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 0fb26747fa229d6b19ec911b907259a8e84acd83
107
+ description: Arvados client library, git commit 9b61792d905324a98b24224d45347082efbe5205
108
108
  email: gem-dev@curoverse.com
109
109
  executables: []
110
110
  extensions: []