uzebba 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1e488f4a324b87ea438697e5e20f083e6eaffe62
4
- data.tar.gz: 76cf3fe89dee9f2ae2e2b90759a289022f394beb
3
+ metadata.gz: 1b5def8ac49abdabe2af413486276d099193624d
4
+ data.tar.gz: f90b3db93a0e566ff3480cdff5e365a364a263ad
5
5
  SHA512:
6
- metadata.gz: 6b3150c115089f56232fd196cec064efc3073bb85f07a9494f7d23fc53514117c074f526f35fab7eac285c4d28006db5a99602aa5f48e903a414e8b63c72b513
7
- data.tar.gz: 474c54cdbc2bfaa39f8fea604a4bd28b3a789370859a80d2de2c6679e5ff97ef581fd375c13a359ebf4bcfc06729540f27a1ea4a888a7a4b26733b3de9110e84
6
+ metadata.gz: 6bef3146287f60e3a86fccf851db4da0138295a6c75ecfd295e9a8cd485a039f662ca1f36297a62b3f969f6fef38910c760f9de4538ac583ed3d4d6f277fbee3
7
+ data.tar.gz: 025075af473cc3bfc149f5d85ea049e560f8b111a3201177b38a139c6b8112b33a939108acdc1280f3675590ecd68c5ae18327a043512c4e6a6dc834be536083
data/README.md CHANGED
@@ -49,7 +49,7 @@ mount Uzebba::Engine => "/uzebba"
49
49
 
50
50
  <p><strong><u>For Windows</u>: </strong> when you start the rails server, the gem will open a new cmd minimized on the taskbar. When you stop the rails server the application will also close the minimized cmd. This is the gem's way of imitating a Linux background process to handle the crono process.</p>
51
51
 
52
- <p><strong><u>For Linux</u>: </strong> when you start the rails server, the crono process will run in background. To stop the process via the terminal, you have to do <code>ps aux | grep crono</code> to view the crono pid, and <code>kill -s sigterm [pid]</code> to terminate the process.</p>
52
+ <p><strong><u>For Linux</u>: </strong> when you start the rails server, the crono process will run in background; and when you stop the rails server, the crono process should stop. [<strike>To stop the process via the terminal, you have to do <code>ps aux | grep crono</code> to view the crono pid, and <code>kill -s sigterm [pid]</code> to terminate the process.</strike>]</p>
53
53
 
54
54
  <p><strong>Do not use in production.</strong></p>
55
55
 
@@ -35,6 +35,9 @@ module Uzebba
35
35
  end
36
36
  at_exit { system 'taskkill /FI "WindowTitle eq uzebba19crono*" /T /F' }
37
37
  do_at_exit("***CRONO TERMINATED: ")
38
+ else
39
+ at_exit { Dir.chdir Rails.root
40
+ system 'rm tmp/pids/crono.pid' }
38
41
  end
39
42
 
40
43
  end
@@ -1,3 +1,3 @@
1
1
  module Uzebba
2
- VERSION = '0.1.4'
2
+ VERSION = '0.1.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uzebba
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - odion ohio
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-03 00:00:00.000000000 Z
11
+ date: 2018-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jquery-rails