mongrel2 0.31.1 → 0.32.0
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/ChangeLog +21 -3
- data/History.rdoc +6 -0
- data/Rakefile +5 -5
- data/bin/m2sh.rb +16 -1
- data/lib/mongrel2.rb +2 -2
- metadata +12 -12
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/ChangeLog
CHANGED
@@ -1,8 +1,26 @@
|
|
1
|
+
2012-08-20 Michael Granger <ged@FaerieMUD.org>
|
2
|
+
|
3
|
+
* .hgtags:
|
4
|
+
Added tag v0.31.1 for changeset 54464cda5795
|
5
|
+
[933a499629d1] [tip]
|
6
|
+
|
7
|
+
* .hgsigs:
|
8
|
+
Added signature for changeset a66bb80de490
|
9
|
+
[54464cda5795] [v0.31.1]
|
10
|
+
|
11
|
+
* History.rdoc, lib/mongrel2.rb:
|
12
|
+
Bump the patch version.
|
13
|
+
[a66bb80de490]
|
14
|
+
|
15
|
+
* bin/m2sh.rb:
|
16
|
+
Fix an error message in m2sh.rb.
|
17
|
+
[ad92bd336353]
|
18
|
+
|
1
19
|
2012-07-30 Michael Granger <ged@FaerieMUD.org>
|
2
20
|
|
3
21
|
* .hgtags:
|
4
22
|
Added tag v0.31.0 for changeset b58221438f3a
|
5
|
-
[c268a5309eee]
|
23
|
+
[c268a5309eee]
|
6
24
|
|
7
25
|
* .hgsigs:
|
8
26
|
Added signature for changeset 6e11a9a95c81
|
@@ -27,7 +45,7 @@
|
|
27
45
|
|
28
46
|
* .hgtags:
|
29
47
|
Added tag v0.30.1 for changeset 01750f74082c
|
30
|
-
[8208fbbc6641]
|
48
|
+
[8208fbbc6641]
|
31
49
|
|
32
50
|
* .hgsigs:
|
33
51
|
Added signature for changeset 4ebef57dc78c
|
@@ -321,7 +339,7 @@
|
|
321
339
|
examples/config.rb, lib/mongrel2/config.rb,
|
322
340
|
lib/mongrel2/httprequest.rb, spec/mongrel2/config_spec.rb:
|
323
341
|
Change Config.settings to a Table, small fixups for async upload.
|
324
|
-
[e2384875455d]
|
342
|
+
[e2384875455d]
|
325
343
|
|
326
344
|
* .tm_properties, data/mongrel2/bootstrap.html, examples/.env,
|
327
345
|
examples/Procfile, examples/async-upload.rb, examples/config.rb,
|
data/History.rdoc
CHANGED
data/Rakefile
CHANGED
@@ -26,16 +26,16 @@ hoespec = Hoe.spec 'mongrel2' do
|
|
26
26
|
self.developer 'Michael Granger', 'ged@FaerieMUD.org'
|
27
27
|
|
28
28
|
self.dependency 'nokogiri', '~> 1.5'
|
29
|
-
self.dependency 'sequel', '~> 3.
|
29
|
+
self.dependency 'sequel', '~> 3.39'
|
30
30
|
self.dependency 'tnetstring', '~> 0.3'
|
31
31
|
self.dependency 'yajl-ruby', '~> 1.0'
|
32
|
-
self.dependency 'trollop', '~>
|
33
|
-
self.dependency 'sysexits', '~> 1.
|
32
|
+
self.dependency 'trollop', '~> 2.0'
|
33
|
+
self.dependency 'sysexits', '~> 1.1'
|
34
34
|
self.dependency 'zmq', '~> 2.1'
|
35
|
-
self.dependency 'loggability','~> 0.
|
35
|
+
self.dependency 'loggability','~> 0.5'
|
36
36
|
self.dependency 'sqlite3', '~> 1.3'
|
37
37
|
|
38
|
-
self.dependency 'configurability', '~> 1.
|
38
|
+
self.dependency 'configurability', '~> 1.2', :developer
|
39
39
|
self.dependency 'simplecov', '~> 0.6', :developer
|
40
40
|
self.dependency 'hoe-deveiate', '~> 0.1', :developer
|
41
41
|
|
data/bin/m2sh.rb
CHANGED
@@ -5,6 +5,7 @@ require 'pathname'
|
|
5
5
|
require 'fileutils'
|
6
6
|
require 'tnetstring'
|
7
7
|
require 'loggability'
|
8
|
+
require 'shellwords'
|
8
9
|
|
9
10
|
require 'trollop'
|
10
11
|
require 'highline'
|
@@ -450,9 +451,12 @@ class Mongrel2::M2SHCommand
|
|
450
451
|
|
451
452
|
# Change into the server's chroot directory so paths line up whether or not
|
452
453
|
# it's started as root
|
454
|
+
|
455
|
+
header "Starting mongrel2 at: #{url}."
|
453
456
|
Dir.chdir( server.chroot ) do
|
457
|
+
message " changed PWD to: #{Dir.pwd}"
|
454
458
|
Mongrel2::Config.log_action( "Starting server: #{server}", self.options.why )
|
455
|
-
|
459
|
+
self.log.debug " command is: #{Shellwords.shelljoin(cmd)}"
|
456
460
|
exec( *cmd )
|
457
461
|
end
|
458
462
|
|
@@ -588,6 +592,17 @@ class Mongrel2::M2SHCommand
|
|
588
592
|
usage :quickstart
|
589
593
|
|
590
594
|
|
595
|
+
### The 'settings' command
|
596
|
+
def settings_command( *args )
|
597
|
+
header "Advanced Server Settings"
|
598
|
+
Mongrel2::Config.settings.each do |key,val|
|
599
|
+
message( %{<%= color "#{key}:", :subheader %> #{val}} )
|
600
|
+
end
|
601
|
+
end
|
602
|
+
help :settings, "Show the 'advanced' server settings."
|
603
|
+
usage :settings
|
604
|
+
|
605
|
+
|
591
606
|
### The 'version' command
|
592
607
|
def version_command( *args )
|
593
608
|
message( "<%= color 'Version:', :header %> " + Mongrel2.version_string(true) )
|
data/lib/mongrel2.rb
CHANGED
@@ -20,10 +20,10 @@ module Mongrel2
|
|
20
20
|
abort "\n\n>>> Mongrel2 requires Ruby 1.9.2 or later. <<<\n\n" if RUBY_VERSION < '1.9.2'
|
21
21
|
|
22
22
|
# Library version constant
|
23
|
-
VERSION = '0.
|
23
|
+
VERSION = '0.32.0'
|
24
24
|
|
25
25
|
# Version-control revision constant
|
26
|
-
REVISION = %q$Revision:
|
26
|
+
REVISION = %q$Revision: ebfb060e8c65 $
|
27
27
|
|
28
28
|
|
29
29
|
require 'mongrel2/constants'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongrel2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.32.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -36,7 +36,7 @@ cert_chain:
|
|
36
36
|
YUhDS0xaZFNLai9SSHVUT3QrZ2JsUmV4OEZBaDhOZUEKY21saFhlNDZwWk5K
|
37
37
|
Z1dLYnhaYWg4NWpJang5NWhSOHZPSStOQU01aUg5a09xSzEzRHJ4YWNUS1Bo
|
38
38
|
cWo1UGp3RgotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
|
39
|
-
date: 2012-
|
39
|
+
date: 2012-09-18 00:00:00.000000000 Z
|
40
40
|
dependencies:
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: nokogiri
|
@@ -61,7 +61,7 @@ dependencies:
|
|
61
61
|
requirements:
|
62
62
|
- - ~>
|
63
63
|
- !ruby/object:Gem::Version
|
64
|
-
version: '3.
|
64
|
+
version: '3.39'
|
65
65
|
type: :runtime
|
66
66
|
prerelease: false
|
67
67
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -69,7 +69,7 @@ dependencies:
|
|
69
69
|
requirements:
|
70
70
|
- - ~>
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: '3.
|
72
|
+
version: '3.39'
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: tnetstring
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
@@ -109,7 +109,7 @@ dependencies:
|
|
109
109
|
requirements:
|
110
110
|
- - ~>
|
111
111
|
- !ruby/object:Gem::Version
|
112
|
-
version: '
|
112
|
+
version: '2.0'
|
113
113
|
type: :runtime
|
114
114
|
prerelease: false
|
115
115
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -117,7 +117,7 @@ dependencies:
|
|
117
117
|
requirements:
|
118
118
|
- - ~>
|
119
119
|
- !ruby/object:Gem::Version
|
120
|
-
version: '
|
120
|
+
version: '2.0'
|
121
121
|
- !ruby/object:Gem::Dependency
|
122
122
|
name: sysexits
|
123
123
|
requirement: !ruby/object:Gem::Requirement
|
@@ -125,7 +125,7 @@ dependencies:
|
|
125
125
|
requirements:
|
126
126
|
- - ~>
|
127
127
|
- !ruby/object:Gem::Version
|
128
|
-
version: '1.
|
128
|
+
version: '1.1'
|
129
129
|
type: :runtime
|
130
130
|
prerelease: false
|
131
131
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -133,7 +133,7 @@ dependencies:
|
|
133
133
|
requirements:
|
134
134
|
- - ~>
|
135
135
|
- !ruby/object:Gem::Version
|
136
|
-
version: '1.
|
136
|
+
version: '1.1'
|
137
137
|
- !ruby/object:Gem::Dependency
|
138
138
|
name: zmq
|
139
139
|
requirement: !ruby/object:Gem::Requirement
|
@@ -157,7 +157,7 @@ dependencies:
|
|
157
157
|
requirements:
|
158
158
|
- - ~>
|
159
159
|
- !ruby/object:Gem::Version
|
160
|
-
version: '0.
|
160
|
+
version: '0.5'
|
161
161
|
type: :runtime
|
162
162
|
prerelease: false
|
163
163
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -165,7 +165,7 @@ dependencies:
|
|
165
165
|
requirements:
|
166
166
|
- - ~>
|
167
167
|
- !ruby/object:Gem::Version
|
168
|
-
version: '0.
|
168
|
+
version: '0.5'
|
169
169
|
- !ruby/object:Gem::Dependency
|
170
170
|
name: sqlite3
|
171
171
|
requirement: !ruby/object:Gem::Requirement
|
@@ -237,7 +237,7 @@ dependencies:
|
|
237
237
|
requirements:
|
238
238
|
- - ~>
|
239
239
|
- !ruby/object:Gem::Version
|
240
|
-
version: '1.
|
240
|
+
version: '1.2'
|
241
241
|
type: :development
|
242
242
|
prerelease: false
|
243
243
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -245,7 +245,7 @@ dependencies:
|
|
245
245
|
requirements:
|
246
246
|
- - ~>
|
247
247
|
- !ruby/object:Gem::Version
|
248
|
-
version: '1.
|
248
|
+
version: '1.2'
|
249
249
|
- !ruby/object:Gem::Dependency
|
250
250
|
name: simplecov
|
251
251
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
Binary file
|