rbg 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/rbg +16 -5
- 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: 50caba94804ca4d3750507e90b6fa5ee13837485
|
4
|
+
data.tar.gz: 13dbe53c54fe2e56f2ef42386d098d6f1f26c8bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27be0cc0477c7e1e1aacbad125fafdbe9add8d091cec72f6493462ab37ef613ec76cf3636437ec1ba634a5fc734c57d4d5d5826765ec52b0278be528d831ef30
|
7
|
+
data.tar.gz: 35fc0b3b352a262b198df34515edf42235ce4ed16ac527596f4a1be0fc8a837d7fa37016847b4c5fbef21095fe3d6c11680918db6b121cb5b9849d32af3a7388
|
data/bin/rbg
CHANGED
@@ -7,15 +7,28 @@ def die
|
|
7
7
|
end
|
8
8
|
|
9
9
|
begin
|
10
|
-
|
10
|
+
args = []
|
11
|
+
config_file = nil
|
12
|
+
environment = nil
|
13
|
+
|
11
14
|
while arg = ARGV.shift
|
12
15
|
case arg
|
13
16
|
when '-c'
|
14
17
|
config_file = ARGV.shift
|
15
|
-
when '-E'
|
18
|
+
when '-E', '-e'
|
16
19
|
environment = ARGV.shift
|
17
20
|
else
|
18
|
-
|
21
|
+
args << arg
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
command = args[0]
|
26
|
+
if config_file.nil? && args[1]
|
27
|
+
[args[1], "./proceses/#{args[1]}.rb", "./config/processes/#{args[1]}.rb"].each do |loc|
|
28
|
+
if File.exist?(loc)
|
29
|
+
config_file = loc
|
30
|
+
break
|
31
|
+
end
|
19
32
|
end
|
20
33
|
end
|
21
34
|
|
@@ -27,8 +40,6 @@ begin
|
|
27
40
|
end
|
28
41
|
end
|
29
42
|
|
30
|
-
|
31
|
-
|
32
43
|
die unless config_file
|
33
44
|
|
34
45
|
case command
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charlie Smurthwaite
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mono_logger
|