runify 0.1.5 → 0.1.6

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -0
  3. data/lib/runify/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f993b09741e71ca6b4d9d779ea099b9c82d6fc1b
4
- data.tar.gz: 12d0fa1c0aafe65d3a6e9b56a98df5f0f6586bf5
3
+ metadata.gz: 699fbb15201cfa343ef41caa3eba410e9013d320
4
+ data.tar.gz: 1f39c543383d8742c50b990eb4ea7db4bf8e2488
5
5
  SHA512:
6
- metadata.gz: 937388d091306a019171081155c7af7a5957d0e27167290a9d04bbc97d5a6b63be6b803df33b86c01ab8d4e44188d4735a655b219619445ac36949b1a0077876
7
- data.tar.gz: ca1ac2923cf6438ccc0ee664818568cfa9c5a78f3b030f479adcf01d2f472dac1d033b4b3570e534a66cf7399f54f566e0ed1d03a9a55d0f2e71b9fdf83f28c2
6
+ metadata.gz: e424a4a1e4ed42bc812ac0e01c447aa1303646292480afe07512224576a70039ff328cdcc5fd12b5179932c344d49768206d43f6fd4a664b23a6c094b7f884b8
7
+ data.tar.gz: e48677757f85bea2d4c70661dd20ab397a182ede6965b1aa85cfdeafc0055a1b49aa48c9fcd8725a6a3611fd03948bcaacd4c671089bef29dda1db3a357e762f
data/README.md CHANGED
@@ -36,6 +36,7 @@ Once this method returns, the service has completely terminated.
36
36
  #### *restart*
37
37
 
38
38
  The _restart_ method is nothing more than a shortcut to shutdown and startup:
39
+
39
40
  ```ruby
40
41
  def restart
41
42
  shutdown
@@ -49,6 +50,7 @@ Any class that includes the runify module should check the *@stop* instance vari
49
50
  Runify will set @stop to _true_ to indicate execution should end and the _run_ method should return when a shutdown is requested.
50
51
 
51
52
  A typical _run_ method will usually be implemented as such:
53
+
52
54
  ```ruby
53
55
  def run
54
56
  update until @stop
@@ -5,5 +5,5 @@
5
5
  module Runify
6
6
 
7
7
  # Version
8
- VERSION = '0.1.5'
8
+ VERSION = '0.1.6'
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse