arvados-cli 0.1.20130710104038 → 0.1.20130710180225
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/bin/arv +16 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc735c880fc5e78a7ada44c50f45be16cebcd1fe
|
4
|
+
data.tar.gz: 7fedb2e734217b0c6de2f1b302d2c67782be8955
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c3b94695f2d5a52b855fe237f239b81a1dd96d09a7c08d76ef6acf22fbd647cbe1b275892310482f5bac2056dd27de0f8aa44a248a40ef2255a42342cdfed71
|
7
|
+
data.tar.gz: 549c83dc48f5d0e350972e67b920d47f18edc6406d87a1e7aa4ecd45c998e099520774d1485a27bd7e6104de06f2f07e0163ae1c03c971ea5ac86f4d97d5184f
|
data/bin/arv
CHANGED
@@ -10,6 +10,22 @@ if RUBY_VERSION < '1.9.3' then
|
|
10
10
|
EOS
|
11
11
|
end
|
12
12
|
|
13
|
+
if ARGV[0] == 'keep'
|
14
|
+
if ARGV[1] == 'ls' then
|
15
|
+
ARGV.shift
|
16
|
+
ARGV.shift
|
17
|
+
@cmd_args = []
|
18
|
+
@cmd_args << `which whls`.strip
|
19
|
+
@cmd_args << ARGV
|
20
|
+
|
21
|
+
@output = `#{@cmd_args.join(' ')} 2>&1`
|
22
|
+
puts @output.gsub(/\/usr\/bin\/whls/,"#{$0} keep ls").gsub(/ whls /," #{$0} keep ls ")
|
23
|
+
else
|
24
|
+
puts "Usage: #{$0} keep ls [--help] [options] HASH"
|
25
|
+
end
|
26
|
+
exit
|
27
|
+
end
|
28
|
+
|
13
29
|
ENV['ARVADOS_API_VERSION'] ||= 'v1'
|
14
30
|
|
15
31
|
if not ENV.include?('ARVADOS_API_HOST') or not ENV.include?('ARVADOS_API_TOKEN') then
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arvados-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.20130710180225
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arvados Authors
|
@@ -94,7 +94,7 @@ dependencies:
|
|
94
94
|
- - '>='
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: 2.0.3
|
97
|
-
description: This is the Arvados SDK CLI gem, git revision
|
97
|
+
description: This is the Arvados SDK CLI gem, git revision 589cca9639b989aacc4a3961703aecd47834bcda
|
98
98
|
email: gem-dev@clinicalfuture.com
|
99
99
|
executables:
|
100
100
|
- arv
|