thin 1.2.8-x86-mingw32 → 1.2.9-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ == 1.2.9 Black Keys Extra Plus Wow
2
+ * Improve fat binary loading.
3
+
1
4
  == 1.2.8 Black Keys
2
5
  * Allow the connection to remain open for 1xx statuses [timshadel]
3
6
 
@@ -24,6 +27,7 @@
24
27
  --ssl-key-file PATH Path to private key
25
28
  --ssl-cert-file PATH Path to certificate
26
29
  --ssl-verify Enables SSL certificate verification
30
+
27
31
  * Expose peer SSL certificate in env (rack.peer_cert) [fd]
28
32
  * Adjusting unix socket permissions to be more open [mbj]
29
33
 
Binary file
@@ -39,14 +39,12 @@ require "#{Thin::ROOT}/thin/version"
39
39
  require "#{Thin::ROOT}/thin/statuses"
40
40
  require "#{Thin::ROOT}/rack/adapter/loader"
41
41
 
42
- # support multiple Ruby version (fat binaries under windows)
43
- begin
42
+ if Thin.win?
43
+ # Select proper binary under Windows
44
+ major_ruby_version = RUBY_VERSION[/^(\d+\.\d+)/]
45
+ require "#{Thin::ROOT}/#{major_ruby_version}/thin_parser"
46
+ else
44
47
  require "#{Thin::ROOT}/thin_parser"
45
- rescue LoadError
46
- if RUBY_PLATFORM =~ /mingw|mswin/ then
47
- RUBY_VERSION =~ /(\d+.\d+)/
48
- require "#{Thin::ROOT}/#{$1}/thin_parser"
49
- end
50
48
  end
51
49
 
52
50
  module Rack
@@ -6,11 +6,11 @@ module Thin
6
6
  module VERSION #:nodoc:
7
7
  MAJOR = 1
8
8
  MINOR = 2
9
- TINY = 8
9
+ TINY = 9
10
10
 
11
11
  STRING = [MAJOR, MINOR, TINY].join('.')
12
12
 
13
- CODENAME = "Black Keys".freeze
13
+ CODENAME = "Black Keys Extra Plus Wow".freeze
14
14
 
15
15
  RACK = [1, 0].freeze # Rack protocol version
16
16
  end
File without changes
@@ -1,4 +1,4 @@
1
- Hey all,
1
+ Hey,
2
2
 
3
3
  Thin version <%= Thin::VERSION::STRING %> (codename <%= Thin::VERSION::CODENAME %>) is out!
4
4
 
@@ -8,21 +8,18 @@ Thin version <%= Thin::VERSION::STRING %> (codename <%= Thin::VERSION::CODENAME
8
8
 
9
9
  == Get it!
10
10
 
11
- Install Thin from RubyForge:
11
+ Install Thin from RubyGems:
12
12
 
13
13
  gem install thin
14
-
15
- Or using my mirror:
16
-
17
- gem install thin --source http://code.macournoyer.com
18
14
 
19
15
  == Contribute
20
16
 
21
- Site: http://code.macournoyer.com/thin/
22
- Group: http://groups.google.com/group/thin-ruby/topics
23
- Bugs: http://thin.lighthouseapp.com/projects/7212-thin
24
- Code: http://github.com/macournoyer/thin
25
- IRC: #thin on freenode
17
+ Site: http://code.macournoyer.com/thin/
18
+ Group: http://groups.google.com/group/thin-ruby/topics
19
+ Issues: https://github.com/macournoyer/thin/issues
20
+ Security issues: macournoyer+thinsecurity@gmail.com
21
+ Code: http://github.com/macournoyer/thin
22
+ IRC: #thin on freenode
26
23
 
27
24
  Thanks to all the people who contributed to Thin, EventMachine, Rack and Mongrel.
28
25
 
@@ -29,7 +29,7 @@ Thin::GemSpec = Gem::Specification.new do |s|
29
29
  Dir.glob("ext/**/*.{h,c,rb,rl}")
30
30
 
31
31
  if WIN
32
- s.files += ["lib/thin_parser.#{Config::CONFIG['DLEXT']}"]
32
+ s.files += FileList["lib/*/thin_parser.*"].to_a
33
33
  else
34
34
  s.extensions = FileList["ext/**/extconf.rb"].to_a
35
35
  end
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.8
4
+ hash: 13
5
+ prerelease: false
6
+ segments:
7
+ - 1
8
+ - 2
9
+ - 9
10
+ version: 1.2.9
5
11
  platform: x86-mingw32
6
12
  authors:
7
13
  - Marc-Andre Cournoyer
@@ -9,39 +15,57 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2011-02-25 00:00:00 -05:00
18
+ date: 2011-03-23 00:00:00 -04:00
13
19
  default_executable:
14
20
  dependencies:
15
21
  - !ruby/object:Gem::Dependency
16
22
  name: rack
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
20
26
  requirements:
21
27
  - - ">="
22
28
  - !ruby/object:Gem::Version
29
+ hash: 23
30
+ segments:
31
+ - 1
32
+ - 0
33
+ - 0
23
34
  version: 1.0.0
24
- version:
35
+ type: :runtime
36
+ version_requirements: *id001
25
37
  - !ruby/object:Gem::Dependency
26
38
  name: eventmachine
27
- type: :runtime
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
30
42
  requirements:
31
43
  - - ">="
32
44
  - !ruby/object:Gem::Version
45
+ hash: 35
46
+ segments:
47
+ - 0
48
+ - 12
49
+ - 6
33
50
  version: 0.12.6
34
- version:
51
+ type: :runtime
52
+ version_requirements: *id002
35
53
  - !ruby/object:Gem::Dependency
36
54
  name: daemons
37
- type: :runtime
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
55
+ prerelease: false
56
+ requirement: &id003 !ruby/object:Gem::Requirement
57
+ none: false
40
58
  requirements:
41
59
  - - ">="
42
60
  - !ruby/object:Gem::Version
61
+ hash: 5
62
+ segments:
63
+ - 1
64
+ - 0
65
+ - 9
43
66
  version: 1.0.9
44
- version:
67
+ type: :runtime
68
+ version_requirements: *id003
45
69
  description: A thin and fast web server
46
70
  email: macournoyer@gmail.com
47
71
  executables:
@@ -96,7 +120,7 @@ files:
96
120
  - lib/thin/statuses.rb
97
121
  - lib/thin/version.rb
98
122
  - lib/thin.rb
99
- - lib/thin_parser.so
123
+ - lib/thin_parser.rb
100
124
  - spec/backends/swiftiply_client_spec.rb
101
125
  - spec/backends/tcp_server_spec.rb
102
126
  - spec/backends/unix_server_spec.rb
@@ -187,6 +211,8 @@ files:
187
211
  - ext/thin_parser/extconf.rb
188
212
  - ext/thin_parser/common.rl
189
213
  - ext/thin_parser/parser.rl
214
+ - lib/1.8/thin_parser.so
215
+ - lib/1.9/thin_parser.so
190
216
  has_rdoc: true
191
217
  homepage: http://code.macournoyer.com/thin/
192
218
  licenses: []
@@ -197,21 +223,29 @@ rdoc_options: []
197
223
  require_paths:
198
224
  - lib
199
225
  required_ruby_version: !ruby/object:Gem::Requirement
226
+ none: false
200
227
  requirements:
201
228
  - - ">="
202
229
  - !ruby/object:Gem::Version
230
+ hash: 61
231
+ segments:
232
+ - 1
233
+ - 8
234
+ - 5
203
235
  version: 1.8.5
204
- version:
205
236
  required_rubygems_version: !ruby/object:Gem::Requirement
237
+ none: false
206
238
  requirements:
207
239
  - - ">="
208
240
  - !ruby/object:Gem::Version
241
+ hash: 3
242
+ segments:
243
+ - 0
209
244
  version: "0"
210
- version:
211
245
  requirements: []
212
246
 
213
247
  rubyforge_project: thin
214
- rubygems_version: 1.3.5
248
+ rubygems_version: 1.3.7
215
249
  signing_key:
216
250
  specification_version: 3
217
251
  summary: A thin and fast web server