thin 1.3.0 → 1.3.1

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.
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ == 1.3.1 Triple Espresso
2
+ * Fix service not working pre 1.9.
3
+
1
4
  == 1.3.0 Double Espresso
2
5
  * BREAKING CHANGE: Thin no longer ships with fat Windows binaries.
3
6
  From now on, to install on Windows, install https://github.com/oneclick/rubyinstaller/wiki/Development-Kit.
@@ -5,7 +5,7 @@ module Thin
5
5
  # System service controller to launch all servers which
6
6
  # config files are in a directory.
7
7
  class Service < Controller
8
- INITD_PATH = Dir.exist?('/etc/rc.d') ? '/etc/rc.d/thin' : '/etc/init.d/thin'
8
+ INITD_PATH = File.directory?('/etc/rc.d') ? '/etc/rc.d/thin' : '/etc/init.d/thin'
9
9
  DEFAULT_CONFIG_PATH = '/etc/thin'
10
10
  TEMPLATE = File.dirname(__FILE__) + '/service.sh.erb'
11
11
 
@@ -6,11 +6,11 @@ module Thin
6
6
  module VERSION #:nodoc:
7
7
  MAJOR = 1
8
8
  MINOR = 3
9
- TINY = 0
9
+ TINY = 1
10
10
 
11
11
  STRING = [MAJOR, MINOR, TINY].join('.')
12
12
 
13
- CODENAME = "Double Espresso".freeze
13
+ CODENAME = "Triple Espresso".freeze
14
14
 
15
15
  RACK = [1, 0].freeze # Rack protocol version
16
16
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: thin
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.3.0
5
+ version: 1.3.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Marc-Andre Cournoyer
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-11-11 00:00:00 -05:00
13
+ date: 2011-11-14 00:00:00 -05:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency