runify 0.1.6 → 1.0.0

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: 699fbb15201cfa343ef41caa3eba410e9013d320
4
- data.tar.gz: 1f39c543383d8742c50b990eb4ea7db4bf8e2488
3
+ metadata.gz: 217e728a08c8b966f6496dae4508a5445d5f815f
4
+ data.tar.gz: 1805ac360c9c49d4b3377a18c063cc9899819b36
5
5
  SHA512:
6
- metadata.gz: e424a4a1e4ed42bc812ac0e01c447aa1303646292480afe07512224576a70039ff328cdcc5fd12b5179932c344d49768206d43f6fd4a664b23a6c094b7f884b8
7
- data.tar.gz: e48677757f85bea2d4c70661dd20ab397a182ede6965b1aa85cfdeafc0055a1b49aa48c9fcd8725a6a3611fd03948bcaacd4c671089bef29dda1db3a357e762f
6
+ metadata.gz: 0b8561d99a21caedc3f208c1c9e78731bde2593ca60969b53e4386de17ff7a50b63c338257304d2ae025864e7633ef620291a44d8405dfc358eae1d947179ad1
7
+ data.tar.gz: 7a948c2fd02a219cba0b198cfbfb30a6945aab8e4cc6a1e9ca5ddd2b13fe21ca1c5cc174b9dba607cff0a18da3c7ede30d898f468d82ea0e5d2eaa06650d54c1
@@ -7,28 +7,28 @@ require 'thread'
7
7
  # Internal Includes
8
8
  require 'runify/version'
9
9
 
10
- # Runify Module
11
- # Root Module for Runify
10
+ # Runify Module:
11
+ # Root Module for Runify.
12
12
  module Runify
13
13
 
14
- # Startup
15
- # Spawns a new Thread around the _run_ method
14
+ # Startup:
15
+ # Spawns a new Thread around the _run_ method.
16
16
  def startup
17
17
  return if @thread
18
18
  @stop = nil
19
19
  @thread = Thread.new { run }
20
20
  end
21
21
 
22
- # Shutdown
23
- # Requests the _run_ method to complete and blocks until it returns
22
+ # Shutdown:
23
+ # Requests the _run_ method to complete and blocks until it returns.
24
24
  def shutdown
25
25
  @stop = true
26
26
  @thread.join if @thread
27
27
  @thread = nil
28
28
  end
29
29
 
30
- # Restart
31
- # Calls _shutdown_, immediately followed by _startup_
30
+ # Restart:
31
+ # Calls _shutdown_, immediately followed by _startup_.
32
32
  def restart
33
33
  shutdown
34
34
  startup
@@ -5,5 +5,5 @@
5
5
  module Runify
6
6
 
7
7
  # Version
8
- VERSION = '0.1.6'
8
+ VERSION = '1.0.0'
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-01 00:00:00.000000000 Z
11
+ date: 2017-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  version: '0'
89
89
  requirements: []
90
90
  rubyforge_project:
91
- rubygems_version: 2.6.10
91
+ rubygems_version: 2.5.1
92
92
  signing_key:
93
93
  specification_version: 4
94
94
  summary: Easily turn any object into a service