mongrel2 0.3.1 → 0.4.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
@@ -1,3 +1,9 @@
1
+ == v0.4.0 [2011-09-27] Michael Granger <ged@FaerieMUD.org>
2
+
3
+ Additions:
4
+ - Added Mongrel2::Config::Server.by_uuid( uuid )
5
+
6
+
1
7
  == v0.3.1 [2011-09-27] Michael Granger <ged@FaerieMUD.org>
2
8
 
3
9
  Bugfix:
@@ -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.3.1'
17
+ VERSION = '0.4.0'
18
18
 
19
19
  # Version-control revision constant
20
- REVISION = %q$Revision: dff90858f4cd $
20
+ REVISION = %q$Revision: 3fb74e2ce308 $
21
21
 
22
22
 
23
23
  require 'mongrel2/logging'
@@ -22,6 +22,13 @@ class Mongrel2::Config::Server < Mongrel2::Config( :server )
22
22
 
23
23
  one_to_many :hosts
24
24
 
25
+ ##
26
+ # Look up a server by its +uuid+.
27
+ # :singleton-method: by_uuid
28
+ # :call-seq:
29
+ # by_uuid( uuid )
30
+ def_dataset_method( :by_uuid ) {|uuid| filter(:uuid => uuid).first }
31
+
25
32
 
26
33
  #
27
34
  # :section: Validation Callbacks
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.3.1
4
+ version: 0.4.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -48,11 +48,11 @@ cert_chain:
48
48
  -----END CERTIFICATE-----
49
49
 
50
50
  '
51
- date: 2011-09-27 00:00:00.000000000Z
51
+ date: 2011-09-28 00:00:00.000000000Z
52
52
  dependencies:
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: nokogiri
55
- requirement: &70313120993700 !ruby/object:Gem::Requirement
55
+ requirement: &70232129053820 !ruby/object:Gem::Requirement
56
56
  none: false
57
57
  requirements:
58
58
  - - ~>
@@ -60,10 +60,10 @@ dependencies:
60
60
  version: '1.5'
61
61
  type: :runtime
62
62
  prerelease: false
63
- version_requirements: *70313120993700
63
+ version_requirements: *70232129053820
64
64
  - !ruby/object:Gem::Dependency
65
65
  name: sequel
66
- requirement: &70313120992860 !ruby/object:Gem::Requirement
66
+ requirement: &70232129053360 !ruby/object:Gem::Requirement
67
67
  none: false
68
68
  requirements:
69
69
  - - ~>
@@ -71,10 +71,10 @@ dependencies:
71
71
  version: '3.26'
72
72
  type: :runtime
73
73
  prerelease: false
74
- version_requirements: *70313120992860
74
+ version_requirements: *70232129053360
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: amalgalite
77
- requirement: &70313120991440 !ruby/object:Gem::Requirement
77
+ requirement: &70232129052900 !ruby/object:Gem::Requirement
78
78
  none: false
79
79
  requirements:
80
80
  - - ~>
@@ -82,10 +82,10 @@ dependencies:
82
82
  version: '1.1'
83
83
  type: :runtime
84
84
  prerelease: false
85
- version_requirements: *70313120991440
85
+ version_requirements: *70232129052900
86
86
  - !ruby/object:Gem::Dependency
87
87
  name: tnetstring
88
- requirement: &70313120989920 !ruby/object:Gem::Requirement
88
+ requirement: &70232129052460 !ruby/object:Gem::Requirement
89
89
  none: false
90
90
  requirements:
91
91
  - - ~>
@@ -93,10 +93,10 @@ dependencies:
93
93
  version: '0.3'
94
94
  type: :runtime
95
95
  prerelease: false
96
- version_requirements: *70313120989920
96
+ version_requirements: *70232129052460
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: yajl-ruby
99
- requirement: &70313120988900 !ruby/object:Gem::Requirement
99
+ requirement: &70232129052040 !ruby/object:Gem::Requirement
100
100
  none: false
101
101
  requirements:
102
102
  - - ~>
@@ -104,10 +104,10 @@ dependencies:
104
104
  version: '0.8'
105
105
  type: :runtime
106
106
  prerelease: false
107
- version_requirements: *70313120988900
107
+ version_requirements: *70232129052040
108
108
  - !ruby/object:Gem::Dependency
109
109
  name: zmq
110
- requirement: &70313120987840 !ruby/object:Gem::Requirement
110
+ requirement: &70232129051580 !ruby/object:Gem::Requirement
111
111
  none: false
112
112
  requirements:
113
113
  - - ~>
@@ -115,10 +115,10 @@ dependencies:
115
115
  version: 2.1.4
116
116
  type: :runtime
117
117
  prerelease: false
118
- version_requirements: *70313120987840
118
+ version_requirements: *70232129051580
119
119
  - !ruby/object:Gem::Dependency
120
120
  name: hoe-mercurial
121
- requirement: &70313120986520 !ruby/object:Gem::Requirement
121
+ requirement: &70232129051160 !ruby/object:Gem::Requirement
122
122
  none: false
123
123
  requirements:
124
124
  - - ~>
@@ -126,10 +126,10 @@ dependencies:
126
126
  version: 1.3.0
127
127
  type: :development
128
128
  prerelease: false
129
- version_requirements: *70313120986520
129
+ version_requirements: *70232129051160
130
130
  - !ruby/object:Gem::Dependency
131
131
  name: hoe-highline
132
- requirement: &70313120985540 !ruby/object:Gem::Requirement
132
+ requirement: &70232129050660 !ruby/object:Gem::Requirement
133
133
  none: false
134
134
  requirements:
135
135
  - - ~>
@@ -137,10 +137,10 @@ dependencies:
137
137
  version: 0.0.1
138
138
  type: :development
139
139
  prerelease: false
140
- version_requirements: *70313120985540
140
+ version_requirements: *70232129050660
141
141
  - !ruby/object:Gem::Dependency
142
142
  name: configurability
143
- requirement: &70313120984540 !ruby/object:Gem::Requirement
143
+ requirement: &70232129050160 !ruby/object:Gem::Requirement
144
144
  none: false
145
145
  requirements:
146
146
  - - ~>
@@ -148,10 +148,10 @@ dependencies:
148
148
  version: '1.0'
149
149
  type: :development
150
150
  prerelease: false
151
- version_requirements: *70313120984540
151
+ version_requirements: *70232129050160
152
152
  - !ruby/object:Gem::Dependency
153
153
  name: rspec
154
- requirement: &70313120983260 !ruby/object:Gem::Requirement
154
+ requirement: &70232129049740 !ruby/object:Gem::Requirement
155
155
  none: false
156
156
  requirements:
157
157
  - - ~>
@@ -159,10 +159,10 @@ dependencies:
159
159
  version: '2.4'
160
160
  type: :development
161
161
  prerelease: false
162
- version_requirements: *70313120983260
162
+ version_requirements: *70232129049740
163
163
  - !ruby/object:Gem::Dependency
164
164
  name: hoe
165
- requirement: &70313120963540 !ruby/object:Gem::Requirement
165
+ requirement: &70232129049200 !ruby/object:Gem::Requirement
166
166
  none: false
167
167
  requirements:
168
168
  - - ~>
@@ -170,7 +170,7 @@ dependencies:
170
170
  version: '2.12'
171
171
  type: :development
172
172
  prerelease: false
173
- version_requirements: *70313120963540
173
+ version_requirements: *70232129049200
174
174
  description: ! "Ruby-Mongrel2 is a complete Ruby (1.9-only) connector for \nMongrel2[http://mongrel2.org/].\n\nThis
175
175
  library includes configuration-database ORM classes, a Ruby\nimplementation of the
176
176
  'm2sh' tool, a configuration DSL for generating config\ndatabases in pure Ruby,
metadata.gz.sig CHANGED
Binary file