shutup 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/shutup +0 -2
- data/lib/shutup.rb +5 -2
- data/lib/shutup/server.rb +2 -2
- data/lib/shutup/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99fc73b3f503f67d0326d3f3b739b3d91d91d695
|
4
|
+
data.tar.gz: 04d20b920e2ec21cba61f605698ea7d958e42901
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a304610ef54d97a8a06cb4ceb48f8aed14666f454e507e2fd8ed78237dec5514de72f44ebb372bc25c312294c48ff597f9359d13c63b6697a00dee8b6a64bf2
|
7
|
+
data.tar.gz: 0544eb53e90da816136b239e08ad8015602fa7a1b2a927d9c01e176dc9c508e65c9bad80a48db89705144371ccbb4164b568da122e6972e859810311206d494c
|
data/exe/shutup
CHANGED
data/lib/shutup.rb
CHANGED
@@ -5,8 +5,11 @@ module Shutup
|
|
5
5
|
ALLOWED_SERVICES = %i(server)
|
6
6
|
|
7
7
|
def self.process(name:)
|
8
|
-
|
9
|
-
|
8
|
+
if ALLOWED_SERVICES.include?(name)
|
9
|
+
send(name)
|
10
|
+
else
|
11
|
+
puts "#{name.to_s}.pid not yet supported"
|
12
|
+
end
|
10
13
|
end
|
11
14
|
|
12
15
|
def self.server
|
data/lib/shutup/server.rb
CHANGED
data/lib/shutup/version.rb
CHANGED