thin-rails 1.0.0 → 1.0.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.
@@ -1,15 +1 @@
1
- module ThinRails
2
- require "thin-rails/version"
3
- end
4
-
5
- require "thin"
6
- require "rack"
7
- require "rack/handler"
8
-
9
- module Rack
10
- module Handler
11
- def self.default(options = {})
12
- Rack::Handler::Thin
13
- end
14
- end
15
- end
1
+ require "thin/rails"
@@ -0,0 +1,17 @@
1
+ require "thin"
2
+ require "rack"
3
+ require "rack/handler"
4
+
5
+ module Thin
6
+ module Rails
7
+ require "thin/rails/version"
8
+ end
9
+ end
10
+
11
+ module Rack
12
+ module Handler
13
+ def self.default(options = {})
14
+ Rack::Handler::Thin
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,5 @@
1
+ module Thin
2
+ module Rails
3
+ VERSION = "1.0.1"
4
+ end
5
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thin-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-01 00:00:00.000000000 Z
12
+ date: 2013-01-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: thin
16
- requirement: &70254416006460 !ruby/object:Gem::Requirement
15
+ name: rack
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70254416006460
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
25
30
  - !ruby/object:Gem::Dependency
26
- name: rack
27
- requirement: &70254416005840 !ruby/object:Gem::Requirement
31
+ name: thin
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,23 +37,23 @@ dependencies:
32
37
  version: '0'
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *70254416005840
36
- description: ! 'thin-rails overrides the Rack::Handler.default method to return Rack::Handler::Thin
37
- which will cause rack (and rails) to use thin
38
-
39
- by default.
40
-
41
- '
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ description: thin-rails overrides the Rack::Handler.default method to return Rack::Handler::Thin
47
+ which will cause rack (and rails) to use thin by default.
42
48
  email:
43
49
  - samuel@kadolph.com
44
50
  executables: []
45
51
  extensions: []
46
52
  extra_rdoc_files: []
47
53
  files:
48
- - lib/thin-rails/version.rb
54
+ - lib/thin/rails/version.rb
55
+ - lib/thin/rails.rb
49
56
  - lib/thin-rails.rb
50
- - LICENSE
51
- - README.md
52
57
  homepage: https://github.com/samuelkadolph/thin-rails
53
58
  licenses: []
54
59
  post_install_message:
@@ -60,7 +65,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
60
65
  requirements:
61
66
  - - ! '>='
62
67
  - !ruby/object:Gem::Version
63
- version: '0'
68
+ version: 1.8.7
64
69
  required_rubygems_version: !ruby/object:Gem::Requirement
65
70
  none: false
66
71
  requirements:
@@ -69,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
74
  version: '0'
70
75
  requirements: []
71
76
  rubyforge_project:
72
- rubygems_version: 1.8.6
77
+ rubygems_version: 1.8.24
73
78
  signing_key:
74
79
  specification_version: 3
75
80
  summary: thin-rails is a simple gem that sets the default server for rack (and rails)
data/LICENSE DELETED
@@ -1,19 +0,0 @@
1
- Copyright (C) 2011 by Samuel Kadolph
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy
4
- of this software and associated documentation files (the "Software"), to deal
5
- in the Software without restriction, including without limitation the rights
6
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
- copies of the Software, and to permit persons to whom the Software is
8
- furnished to do so, subject to the following conditions:
9
-
10
- The above copyright notice and this permission notice shall be included in
11
- all copies or substantial portions of the Software.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
- THE SOFTWARE.
data/README.md DELETED
@@ -1,22 +0,0 @@
1
- # thin-rails
2
-
3
- `thin-rails` is a simple gem that sets the default server for rack (and rails) to thin.
4
-
5
- ## Installing
6
-
7
- ### Recommended
8
-
9
- ```
10
- gem install thin-rails
11
- ```
12
-
13
- ### Edge
14
-
15
- ```
16
- git clone https://github.com/samuelkadolph/thin-rails
17
- cd thin-rails && rake install
18
- ```
19
-
20
- ## Usage
21
-
22
- Add `gem "thin-rails"` to your Gemfile and then run `rails s` and it will use thin by default.
@@ -1,3 +0,0 @@
1
- module ThinRails
2
- VERSION = "1.0.0"
3
- end