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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ed38d3ad472c3617454780095ffbc75051d9c9dd
4
- data.tar.gz: da39132e53d2ec826a14264a3ec538f6fec6f527
3
+ metadata.gz: 1b6a73edd8939b6be7ce1e8b517d5e8dd73b6004
4
+ data.tar.gz: 9b69d8c033e8b348a32ab594eae0e69b2b6cf134
5
5
  SHA512:
6
- metadata.gz: 97ef42ca39c93993318d627ffe10b8abc8b3248cc818fa27e99825246b748f0c8afd072a9bb3401ce6fe032a024c6447338cbd310b583e6e6643658fbd0fff55
7
- data.tar.gz: ba18c94c1b689ce8675e8e9461ff501b69318098f604ea05de8e519ae18c7bdf7824dbe79e9322f81e19cb964de5a0b99df510f9a59a6ec43dc45ebc24c995b6
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
+ [![Gem Version](https://badge.fury.io/rb/shutup.svg)](https://badge.fury.io/rb/shutup)
65
+
@@ -2,10 +2,11 @@ require "shutup/version"
2
2
  require "shutup/server"
3
3
 
4
4
  module Shutup
5
- ALLOWED_SERVICES = %w(server)
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
@@ -1,3 +1,3 @@
1
1
  module Shutup
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
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-17 00:00:00.000000000 Z
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.5.1
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