thin_service 0.0.6 → 0.0.7

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: 3d6b03ed194c68f52e4aba354354633405acf109
4
- data.tar.gz: 25d0685fd474f864e4b51ca51c5ec5cdd930ad3c
3
+ metadata.gz: b79a074a51cd22dd7bebf589417ad1d3450496ec
4
+ data.tar.gz: 91dba973330e8f37159b3af3c79b59f31d2f8644
5
5
  SHA512:
6
- metadata.gz: b5bae20decb35aee1d69ec8f406f1a3c7f3cd2d40f11debf380ddec177fd681237a1352524438d6ee59619be451e690ef5c812e984eb270ed7987cdc9b95a464
7
- data.tar.gz: 55e971f07db0e2c3c16750faf46dcec032d0c23adc4424aa3449bb94f885a3fdc608351f3f29a89599e12027e6eac1accd023729591f00bf582ff03ec4413194
6
+ metadata.gz: c73da936b373125df37de988d1c5f4e487a740ccbe0be04c25e26fd119ace9ce0ca38ddcf30357fe8eb320ecbc39a0bfac56f605f49d7efb992cba6e9487c48a
7
+ data.tar.gz: f34156626d98fbc4f682c6bb58b0a44602613833a5da4348081c69a24dded47ddc9c9f37cad2b4bec177b13a96a000b66b4f84a4322e71eca98109e3a15fe527
@@ -1,4 +1,10 @@
1
1
 
2
+ # 0.0.7
3
+ * Fix logging problem for mingw
4
+
5
+ # 0.0.6
6
+ * Fix problems running under Windows 8
7
+
2
8
  # 0.0.5
3
9
  * Add ability to run any rake task as a service
4
10
 
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ThinService
2
2
 
3
- Run Thin as a Windows Service - based on mongrel_service by Luis Lavena
3
+ Run Thin or any rake task as a Windows Service - based on mongrel_service by Luis Lavena
4
4
 
5
5
  ## Installation
6
6
 
@@ -24,3 +24,6 @@ Use the following commands to get more help:
24
24
  thin_service remove --help
25
25
 
26
26
 
27
+ To install a rake task, such as a background processor, as a service:
28
+
29
+ thin_service installdaemon -N service_name -t"rake my_background_task RAILS_ENV=production" -c"full path to my rails app"
@@ -219,7 +219,7 @@ module ThinService
219
219
  # now the options
220
220
  argv << "-e #{@environment}" if @environment
221
221
  argv << "-p #{@port}"
222
- argv << "-a #{@host}" if @host
222
+ argv << "-a #{@address}" if @address
223
223
  argv << "-c \"#{@cwd}\"" if @cwd
224
224
  argv << "-t #{@timeout}" if @timeout
225
225
  argv << "-D" if @debug
@@ -421,4 +421,4 @@ module ThinService
421
421
 
422
422
  end
423
423
  end
424
- end
424
+ end
@@ -18,7 +18,7 @@ module ThinService
18
18
  @logger = initialize_io(log)
19
19
  @log_level = Levels[:name][log_level] || 7
20
20
 
21
- if !RUBY_PLATFORM.match(/java|mswin/) && !(@log == STDOUT) &&
21
+ if !RUBY_PLATFORM.match(/java|mswin|mingw/) && !(@log == STDOUT) &&
22
22
  @log.respond_to?(:write_nonblock)
23
23
  @aio = true
24
24
  end
@@ -1,3 +1,3 @@
1
1
  module ThinService
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thin_service
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garth Smedley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-12 00:00:00.000000000 Z
11
+ date: 2014-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake