shutup 0.1.0 → 0.1.1
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/README.md +7 -2
- data/lib/shutup.rb +3 -2
- data/lib/shutup/version.rb +1 -1
- 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: 1b6a73edd8939b6be7ce1e8b517d5e8dd73b6004
|
|
4
|
+
data.tar.gz: 9b69d8c033e8b348a32ab594eae0e69b2b6cf134
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b5e08ab6b707a356bf9b5df3adcf19d51854bcd9b7cb76b2112e81a445d129d4fa90f4260fdd883a74bb10a861718f5264b12256ff0d217382ec3abec6814143
|
|
7
|
+
data.tar.gz: c68f7b6553e5f2b145e57f72c181b000b983474d4b6decac725109f83ad8832672945cf13a25b6cfb4ead705ea01b33085b6606252f9802c06b1e08f990af168
|
data/README.md
CHANGED
|
@@ -20,11 +20,14 @@ But this is boring. And you have to do it all the times. This gems creates a sho
|
|
|
20
20
|
|
|
21
21
|
## Installation
|
|
22
22
|
|
|
23
|
-
Go in the root folder of your Rails project:
|
|
24
|
-
|
|
25
23
|
$ cd PROJECT_ROOT_FOLDER
|
|
26
24
|
$ gem install shutup
|
|
27
25
|
|
|
26
|
+
## Installation (if using rvm)
|
|
27
|
+
|
|
28
|
+
$ cd PROJECT_ROOT_FOLDER
|
|
29
|
+
$ rvm @global do gem install shutup
|
|
30
|
+
|
|
28
31
|
|
|
29
32
|
## Usage
|
|
30
33
|
|
|
@@ -58,3 +61,5 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/lorenz
|
|
|
58
61
|
|
|
59
62
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
|
60
63
|
|
|
64
|
+
[](https://badge.fury.io/rb/shutup)
|
|
65
|
+
|
data/lib/shutup.rb
CHANGED
|
@@ -2,10 +2,11 @@ require "shutup/version"
|
|
|
2
2
|
require "shutup/server"
|
|
3
3
|
|
|
4
4
|
module Shutup
|
|
5
|
-
ALLOWED_SERVICES = %
|
|
5
|
+
ALLOWED_SERVICES = %i(server)
|
|
6
6
|
|
|
7
7
|
def self.process(name:)
|
|
8
|
-
ALLOWED_SERVICES.include?(name) && send(name)
|
|
8
|
+
done = ALLOWED_SERVICES.include?(name) && send(name)
|
|
9
|
+
done || puts("#{name.to_s} not supported.")
|
|
9
10
|
end
|
|
10
11
|
|
|
11
12
|
def self.server
|
data/lib/shutup/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shutup
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lorenzo Sinisi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-11-
|
|
11
|
+
date: 2016-11-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
102
102
|
version: '0'
|
|
103
103
|
requirements: []
|
|
104
104
|
rubyforge_project:
|
|
105
|
-
rubygems_version: 2.
|
|
105
|
+
rubygems_version: 2.2.2
|
|
106
106
|
signing_key:
|
|
107
107
|
specification_version: 4
|
|
108
108
|
summary: Kill the Rails process running in the current folder
|