arvados 0.1.20170330012324 → 0.1.20170427165906
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/arvados.rb +12 -11
- data/lib/arvados/keep.rb +3 -3
- 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: db3e81843b8286d29a0a5c0c13bb68af50723730
|
4
|
+
data.tar.gz: 6b40bd476aba3976487ca9b686d32a978a7ad5f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 637ed391dc9eddd872bba153ba2e0da82b24d97c5e0c36a4959561109ace4534e015acc696ceb0456034fd33270a0c7957e70dd4bca6154a5f602d63acbef703
|
7
|
+
data.tar.gz: 7832a8c355d76fabed8f4823635d614109f2a573fbb3a8959e626c2fc53e45b54f9550d7691f0f382fe72d627cd4afa14cadadf3df0ea7493ff208cfc5b387f3
|
data/lib/arvados.rb
CHANGED
@@ -11,18 +11,7 @@ ActiveSupport::Inflector.inflections do |inflect|
|
|
11
11
|
inflect.irregular 'human', 'humans'
|
12
12
|
end
|
13
13
|
|
14
|
-
module Kernel
|
15
|
-
def suppress_warnings
|
16
|
-
original_verbosity = $VERBOSE
|
17
|
-
$VERBOSE = nil
|
18
|
-
result = yield
|
19
|
-
$VERBOSE = original_verbosity
|
20
|
-
return result
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
14
|
class Arvados
|
25
|
-
|
26
15
|
class TransactionFailedError < StandardError
|
27
16
|
end
|
28
17
|
|
@@ -262,4 +251,16 @@ class Arvados
|
|
262
251
|
@attributes = j
|
263
252
|
end
|
264
253
|
end
|
254
|
+
|
255
|
+
protected
|
256
|
+
|
257
|
+
def suppress_warnings
|
258
|
+
original_verbosity = $VERBOSE
|
259
|
+
begin
|
260
|
+
$VERBOSE = nil
|
261
|
+
yield
|
262
|
+
ensure
|
263
|
+
$VERBOSE = original_verbosity
|
264
|
+
end
|
265
|
+
end
|
265
266
|
end
|
data/lib/arvados/keep.rb
CHANGED
@@ -35,7 +35,7 @@ module Keep
|
|
35
35
|
def self.parse(tok)
|
36
36
|
begin
|
37
37
|
Locator.parse!(tok)
|
38
|
-
rescue ArgumentError
|
38
|
+
rescue ArgumentError
|
39
39
|
nil
|
40
40
|
end
|
41
41
|
end
|
@@ -112,7 +112,7 @@ module Keep
|
|
112
112
|
stream_name = nil
|
113
113
|
block_tokens = []
|
114
114
|
file_tokens = []
|
115
|
-
line.scan
|
115
|
+
line.scan(/\S+/) do |token|
|
116
116
|
if stream_name.nil?
|
117
117
|
stream_name = unescape token
|
118
118
|
elsif file_tokens.empty? and Locator.valid? token
|
@@ -152,7 +152,7 @@ module Keep
|
|
152
152
|
@text.each_line do |line|
|
153
153
|
stream_name = nil
|
154
154
|
in_file_tokens = false
|
155
|
-
line.scan
|
155
|
+
line.scan(/\S+/) do |token|
|
156
156
|
if stream_name.nil?
|
157
157
|
stream_name = unescape token
|
158
158
|
elsif in_file_tokens or not Locator.valid? token
|
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.20170427165906
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arvados Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -124,7 +124,7 @@ dependencies:
|
|
124
124
|
- - ">="
|
125
125
|
- !ruby/object:Gem::Version
|
126
126
|
version: 0.1.5
|
127
|
-
description: Arvados client library, git commit
|
127
|
+
description: Arvados client library, git commit 318c49002aea966128a9d37ab29e601a104d79bb
|
128
128
|
email: gem-dev@curoverse.com
|
129
129
|
executables: []
|
130
130
|
extensions: []
|