runify 0.1.4 → 0.1.5
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 +0 -3
- data/lib/runify/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: f993b09741e71ca6b4d9d779ea099b9c82d6fc1b
|
|
4
|
+
data.tar.gz: 12d0fa1c0aafe65d3a6e9b56a98df5f0f6586bf5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 937388d091306a019171081155c7af7a5957d0e27167290a9d04bbc97d5a6b63be6b803df33b86c01ab8d4e44188d4735a655b219619445ac36949b1a0077876
|
|
7
|
+
data.tar.gz: ca1ac2923cf6438ccc0ee664818568cfa9c5a78f3b030f479adcf01d2f472dac1d033b4b3570e534a66cf7399f54f566e0ed1d03a9a55d0f2e71b9fdf83f28c2
|
data/README.md
CHANGED
|
@@ -49,9 +49,7 @@ Any class that includes the runify module should check the *@stop* instance vari
|
|
|
49
49
|
Runify will set @stop to _true_ to indicate execution should end and the _run_ method should return when a shutdown is requested.
|
|
50
50
|
|
|
51
51
|
A typical _run_ method will usually be implemented as such:
|
|
52
|
-
|
|
53
52
|
```ruby
|
|
54
|
-
|
|
55
53
|
def run
|
|
56
54
|
update until @stop
|
|
57
55
|
end
|
|
@@ -62,7 +60,6 @@ end
|
|
|
62
60
|
### Runifying a simple service class
|
|
63
61
|
|
|
64
62
|
```ruby
|
|
65
|
-
|
|
66
63
|
require 'runify'
|
|
67
64
|
|
|
68
65
|
# Foo Service
|
data/lib/runify/version.rb
CHANGED