mongrel2 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
data/ChangeLog CHANGED
@@ -1,8 +1,103 @@
1
+ 2012-02-27 Michael Granger <ged@FaerieMUD.org>
2
+
3
+ * .hgtags:
4
+ Added tag v0.14.0 for changeset 5a2a21415dff
5
+ [aa9c635b978f] [tip]
6
+
7
+ * .hgsigs:
8
+ Added signature for changeset e50e20d73e34
9
+ [5a2a21415dff] [v0.14.0]
10
+
11
+ * History.rdoc, README.rdoc, data/mongrel2/bootstrap.html,
12
+ lib/mongrel2.rb:
13
+ Update copyright dates, bump version, update history
14
+ [e50e20d73e34]
15
+
16
+ * lib/mongrel2/httpresponse.rb, lib/mongrel2/request.rb:
17
+ Add an alias for #headers -> #header to Mongrel2::Request and
18
+ Mongrel2::HTTPResponse.
19
+ [209d7f923328]
20
+
21
+ * lib/mongrel2/testing.rb:
22
+ Add an OPTIONS request factory method to the RequestFactory
23
+ [5140dd4f5dc4]
24
+
25
+ 2012-02-24 Michael Granger <ged@FaerieMUD.org>
26
+
27
+ * .hgtags:
28
+ Added tag v0.13.0 for changeset e71a3b89bd85
29
+ [8747d72ce480]
30
+
31
+ * .hgsigs:
32
+ Added signature for changeset 612156a7bc00
33
+ [e71a3b89bd85] [v0.13.0]
34
+
35
+ * History.rdoc, lib/mongrel2.rb:
36
+ Bump the minor version, update history.
37
+ [612156a7bc00]
38
+
39
+ * lib/mongrel2/connection.rb, spec/mongrel2/connection_spec.rb:
40
+ Fix the ZMQ socket identifier used by Connection.
41
+ [5cc36193325e]
42
+
43
+ * lib/mongrel2/httpresponse.rb:
44
+ Whitespace fix
45
+ [2825344a0497]
46
+
47
+ * lib/mongrel2/config/server.rb, spec/mongrel2/config/server_spec.rb:
48
+ Add missing slash in the control socket URI
49
+ [f76172f3a314]
50
+
51
+ * examples/helloworld-handler.rb:
52
+ Add an argument so the helloworld handler can use another config DB
53
+ [edfcfa826e72]
54
+
55
+ 2012-02-20 Michael Granger <ged@FaerieMUD.org>
56
+
57
+ * .tm_properties, lib/mongrel2/httpresponse.rb,
58
+ spec/mongrel2/httpresponse_spec.rb:
59
+ Fix handling of NO CONTENT (204) responses.
60
+
61
+ - Don't set a Content-type header
62
+ - Omit the body even if there is one
63
+ - Set the content-length to 0
64
+ [cdb39968287a] [github/master]
65
+
1
66
  2012-02-17 Michael Granger <ged@FaerieMUD.org>
2
67
 
68
+ * .hgtags:
69
+ Added tag v0.12.0 for changeset 9c29d703bd31
70
+ [45f70e1856f2]
71
+
72
+ * .hgsigs:
73
+ Added signature for changeset 7cd687a35c4c
74
+ [9c29d703bd31] [v0.12.0]
75
+
76
+ * History.rdoc, lib/mongrel2.rb:
77
+ Bump the minor version, update history.
78
+ [7cd687a35c4c]
79
+
80
+ * lib/mongrel2/constants.rb, lib/mongrel2/httpresponse.rb,
81
+ spec/mongrel2/httpresponse_spec.rb:
82
+ Add bodiless response predicate to Mongrel2::HTTPResponse.
83
+ [a0739bccbc8d]
84
+
85
+ * .rvmrc:
86
+ Update rvmrc
87
+ [9e873265cdab]
88
+
89
+ * lib/mongrel2/testing.rb:
90
+ Add #put and #delete factory methods to the
91
+ Mongrel2::RequestFactory.
92
+ [5773b09ae5fc]
93
+
94
+ * examples/admin.rb:
95
+ Remove the admin example config
96
+ [54fe52624b71]
97
+
3
98
  * .rvmrc:
4
99
  Remove patchlevel from gemset spec
5
- [fc0c896f4bb1] [github/master, tip]
100
+ [fc0c896f4bb1]
6
101
 
7
102
  2012-02-15 Michael Granger <ged@FaerieMUD.org>
8
103
 
@@ -1,3 +1,9 @@
1
+ == v0.15.0 [2012-02-27] Michael Granger <ged@FaerieMUD.org>
2
+
3
+ - Fix the Mongrel2::Config::Server.by_uuid dataset method to return a
4
+ dataset instead of the instance.
5
+
6
+
1
7
  == v0.14.0 [2012-02-27] Michael Granger <ged@FaerieMUD.org>
2
8
 
3
9
  - Add an alias for #headers -> #header to Mongrel2::Request and
@@ -14,10 +14,10 @@ module Mongrel2
14
14
  abort "\n\n>>> Mongrel2 requires Ruby 1.9.2 or later. <<<\n\n" if RUBY_VERSION < '1.9.2'
15
15
 
16
16
  # Library version constant
17
- VERSION = '0.14.0'
17
+ VERSION = '0.15.0'
18
18
 
19
19
  # Version-control revision constant
20
- REVISION = %q$Revision: e50e20d73e34 $
20
+ REVISION = %q$Revision: 43a5d2cb1865 $
21
21
 
22
22
 
23
23
  require 'mongrel2/logging'
@@ -28,11 +28,11 @@ class Mongrel2::Config::Server < Mongrel2::Config( :server )
28
28
 
29
29
 
30
30
  ##
31
- # Look up a server by its +uuid+.
31
+ # Return the dataset for looking up a server by its UUID.
32
32
  # :singleton-method: by_uuid
33
33
  # :call-seq:
34
34
  # by_uuid( uuid )
35
- def_dataset_method( :by_uuid ) {|uuid| filter(:uuid => uuid).first }
35
+ def_dataset_method( :by_uuid ) {|uuid| filter(:uuid => uuid).limit(1) }
36
36
 
37
37
 
38
38
  ### Return the URI for its control socket.
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.14.0
4
+ version: 0.15.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -40,7 +40,7 @@ date: 2012-02-27 00:00:00.000000000 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: nokogiri
43
- requirement: &70116835606280 !ruby/object:Gem::Requirement
43
+ requirement: &70183892949060 !ruby/object:Gem::Requirement
44
44
  none: false
45
45
  requirements:
46
46
  - - ~>
@@ -48,10 +48,10 @@ dependencies:
48
48
  version: '1.5'
49
49
  type: :runtime
50
50
  prerelease: false
51
- version_requirements: *70116835606280
51
+ version_requirements: *70183892949060
52
52
  - !ruby/object:Gem::Dependency
53
53
  name: sequel
54
- requirement: &70116835605800 !ruby/object:Gem::Requirement
54
+ requirement: &70183892948300 !ruby/object:Gem::Requirement
55
55
  none: false
56
56
  requirements:
57
57
  - - ~>
@@ -59,10 +59,10 @@ dependencies:
59
59
  version: '3.31'
60
60
  type: :runtime
61
61
  prerelease: false
62
- version_requirements: *70116835605800
62
+ version_requirements: *70183892948300
63
63
  - !ruby/object:Gem::Dependency
64
64
  name: amalgalite
65
- requirement: &70116835605280 !ruby/object:Gem::Requirement
65
+ requirement: &70183892947260 !ruby/object:Gem::Requirement
66
66
  none: false
67
67
  requirements:
68
68
  - - ~>
@@ -70,10 +70,10 @@ dependencies:
70
70
  version: '1.1'
71
71
  type: :runtime
72
72
  prerelease: false
73
- version_requirements: *70116835605280
73
+ version_requirements: *70183892947260
74
74
  - !ruby/object:Gem::Dependency
75
75
  name: tnetstring
76
- requirement: &70116835583500 !ruby/object:Gem::Requirement
76
+ requirement: &70183892946540 !ruby/object:Gem::Requirement
77
77
  none: false
78
78
  requirements:
79
79
  - - ~>
@@ -81,10 +81,10 @@ dependencies:
81
81
  version: '0.3'
82
82
  type: :runtime
83
83
  prerelease: false
84
- version_requirements: *70116835583500
84
+ version_requirements: *70183892946540
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: yajl-ruby
87
- requirement: &70116835583020 !ruby/object:Gem::Requirement
87
+ requirement: &70183892945340 !ruby/object:Gem::Requirement
88
88
  none: false
89
89
  requirements:
90
90
  - - ~>
@@ -92,10 +92,10 @@ dependencies:
92
92
  version: '1.0'
93
93
  type: :runtime
94
94
  prerelease: false
95
- version_requirements: *70116835583020
95
+ version_requirements: *70183892945340
96
96
  - !ruby/object:Gem::Dependency
97
97
  name: trollop
98
- requirement: &70116835582500 !ruby/object:Gem::Requirement
98
+ requirement: &70183897140160 !ruby/object:Gem::Requirement
99
99
  none: false
100
100
  requirements:
101
101
  - - ~>
@@ -103,10 +103,10 @@ dependencies:
103
103
  version: '1.16'
104
104
  type: :runtime
105
105
  prerelease: false
106
- version_requirements: *70116835582500
106
+ version_requirements: *70183897140160
107
107
  - !ruby/object:Gem::Dependency
108
108
  name: sysexits
109
- requirement: &70116835582000 !ruby/object:Gem::Requirement
109
+ requirement: &70183897139300 !ruby/object:Gem::Requirement
110
110
  none: false
111
111
  requirements:
112
112
  - - ~>
@@ -114,10 +114,10 @@ dependencies:
114
114
  version: '1.0'
115
115
  type: :runtime
116
116
  prerelease: false
117
- version_requirements: *70116835582000
117
+ version_requirements: *70183897139300
118
118
  - !ruby/object:Gem::Dependency
119
119
  name: zmq
120
- requirement: &70116835581540 !ruby/object:Gem::Requirement
120
+ requirement: &70183897137840 !ruby/object:Gem::Requirement
121
121
  none: false
122
122
  requirements:
123
123
  - - ~>
@@ -125,10 +125,10 @@ dependencies:
125
125
  version: 2.1.4
126
126
  type: :runtime
127
127
  prerelease: false
128
- version_requirements: *70116835581540
128
+ version_requirements: *70183897137840
129
129
  - !ruby/object:Gem::Dependency
130
130
  name: hoe-mercurial
131
- requirement: &70116835580980 !ruby/object:Gem::Requirement
131
+ requirement: &70183897136860 !ruby/object:Gem::Requirement
132
132
  none: false
133
133
  requirements:
134
134
  - - ~>
@@ -136,10 +136,10 @@ dependencies:
136
136
  version: 1.3.1
137
137
  type: :development
138
138
  prerelease: false
139
- version_requirements: *70116835580980
139
+ version_requirements: *70183897136860
140
140
  - !ruby/object:Gem::Dependency
141
141
  name: hoe-highline
142
- requirement: &70116835580460 !ruby/object:Gem::Requirement
142
+ requirement: &70183897136040 !ruby/object:Gem::Requirement
143
143
  none: false
144
144
  requirements:
145
145
  - - ~>
@@ -147,10 +147,10 @@ dependencies:
147
147
  version: 0.0.1
148
148
  type: :development
149
149
  prerelease: false
150
- version_requirements: *70116835580460
150
+ version_requirements: *70183897136040
151
151
  - !ruby/object:Gem::Dependency
152
152
  name: configurability
153
- requirement: &70116835579960 !ruby/object:Gem::Requirement
153
+ requirement: &70183897135140 !ruby/object:Gem::Requirement
154
154
  none: false
155
155
  requirements:
156
156
  - - ~>
@@ -158,10 +158,10 @@ dependencies:
158
158
  version: '1.0'
159
159
  type: :development
160
160
  prerelease: false
161
- version_requirements: *70116835579960
161
+ version_requirements: *70183897135140
162
162
  - !ruby/object:Gem::Dependency
163
163
  name: rspec
164
- requirement: &70116835579400 !ruby/object:Gem::Requirement
164
+ requirement: &70183897134280 !ruby/object:Gem::Requirement
165
165
  none: false
166
166
  requirements:
167
167
  - - ~>
@@ -169,10 +169,10 @@ dependencies:
169
169
  version: '2.8'
170
170
  type: :development
171
171
  prerelease: false
172
- version_requirements: *70116835579400
172
+ version_requirements: *70183897134280
173
173
  - !ruby/object:Gem::Dependency
174
174
  name: rdoc
175
- requirement: &70116835578860 !ruby/object:Gem::Requirement
175
+ requirement: &70183897133440 !ruby/object:Gem::Requirement
176
176
  none: false
177
177
  requirements:
178
178
  - - ~>
@@ -180,10 +180,10 @@ dependencies:
180
180
  version: '3.10'
181
181
  type: :development
182
182
  prerelease: false
183
- version_requirements: *70116835578860
183
+ version_requirements: *70183897133440
184
184
  - !ruby/object:Gem::Dependency
185
185
  name: hoe
186
- requirement: &70116835578300 !ruby/object:Gem::Requirement
186
+ requirement: &70183897156460 !ruby/object:Gem::Requirement
187
187
  none: false
188
188
  requirements:
189
189
  - - ~>
@@ -191,7 +191,7 @@ dependencies:
191
191
  version: '2.13'
192
192
  type: :development
193
193
  prerelease: false
194
- version_requirements: *70116835578300
194
+ version_requirements: *70183897156460
195
195
  description: ! "Ruby-Mongrel2 is a complete Ruby (1.9-only) connector for \nMongrel2[http://mongrel2.org/].\n\nThis
196
196
  library includes configuration-database ORM classes, a Ruby\nimplementation of the
197
197
  'm2sh' tool, a configuration DSL for generating config\ndatabases in pure Ruby,
metadata.gz.sig CHANGED
Binary file