serve 0.11.6 → 0.11.7

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,5 +1,9 @@
1
1
  = Change Log
2
2
 
3
+ == 0.11.6 (June 13, 2010)
4
+
5
+ * Support for activesupport 3.x [railsjedi]
6
+
3
7
  == 0.11.5 (June 5, 2010)
4
8
 
5
9
  * Add support for static asset processing (HTML, XML, etc..); directories with index.html files should now resolve. Yay! [jlong]
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.11.6
1
+ 0.11.7
@@ -165,8 +165,10 @@ module Serve
165
165
  Rack::Directory.new(root)
166
166
  ])
167
167
  end
168
- webrick = Rack::Handler.get('webrick')
169
- webrick.run app, :Port => options[:port], :BindAddress => options[:address]
168
+ mongrel = Rack::Handler.get('mongrel')
169
+ mongrel.run app, :Port => options[:port], :Host => options[:address] do |server|
170
+ puts "Mongrel #{Mongrel::Const::MONGREL_VERSION} available at #{options[:address]}:#{options[:port]}"
171
+ end
170
172
  end
171
173
  end
172
174
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serve
3
3
  version: !ruby/object:Gem::Version
4
- hash: 63
4
+ hash: 61
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 11
9
- - 6
10
- version: 0.11.6
9
+ - 7
10
+ version: 0.11.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - John W. Long
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-06-13 00:00:00 -04:00
19
+ date: 2010-07-22 00:00:00 -04:00
20
20
  default_executable: serve
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -25,14 +25,14 @@ dependencies:
25
25
  requirement: &id001 !ruby/object:Gem::Requirement
26
26
  none: false
27
27
  requirements:
28
- - - "="
28
+ - - ">="
29
29
  - !ruby/object:Gem::Version
30
- hash: 19
30
+ hash: 29
31
31
  segments:
32
32
  - 1
33
+ - 2
33
34
  - 1
34
- - 0
35
- version: 1.1.0
35
+ version: 1.2.1
36
36
  type: :runtime
37
37
  version_requirements: *id001
38
38
  - !ruby/object:Gem::Dependency