richard-cli 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/richard +7 -2
- data/lib/richard/version.rb +1 -1
- 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: 37d14bcabd6661e0b156bf3cd1878c3ad476ff42
|
4
|
+
data.tar.gz: 617718c1375b5db9d6dbec3c8bcaedf5618a8599
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d985c9a7f8cf4f9e00eddfb3ef889b1479cc1108a6821e14049bbdd3de4bfef001658ebf116c553642aa323ea874782840c0c33a22d41bb22dec5c66aec9591
|
7
|
+
data.tar.gz: d2bb7fa9b743f0497010038e1a547ff8740ece3bfeb56792c159c0bf175d6113a2c37d8c86ee3180fcde785615169ac739b5045eb39778a5fbe3db6dc6587cd2
|
data/bin/richard
CHANGED
@@ -18,10 +18,15 @@ EOS
|
|
18
18
|
end
|
19
19
|
|
20
20
|
|
21
|
-
|
22
|
-
|
21
|
+
def server
|
22
|
+
config = Richard::ConfigRepository.find_or_create
|
23
|
+
return Richard::Server.new(config.url, config.api_key)
|
24
|
+
end
|
23
25
|
|
24
26
|
case ARGV[0]
|
27
|
+
when '--version', 'version'
|
28
|
+
puts Richard::VERSION
|
29
|
+
|
25
30
|
when 'list'
|
26
31
|
server.list
|
27
32
|
|
data/lib/richard/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: richard-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Kerr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|