merb-helpers 1.0.12 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Rakefile CHANGED
@@ -31,7 +31,7 @@ spec = Gem::Specification.new do |s|
31
31
  s.author = GEM_AUTHOR
32
32
  s.email = GEM_EMAIL
33
33
  s.homepage = PROJECT_URL
34
- s.add_dependency('merb-core', ">= #{Merb::VERSION}")
34
+ s.add_dependency('merb-core', "~> #{Merb::VERSION}")
35
35
  s.require_path = 'lib'
36
36
  s.files = %w(LICENSE README Rakefile TODO) + Dir.glob("{lib,spec}/**/*")
37
37
  end
@@ -131,7 +131,7 @@ module Merb::Helpers::Form::Builder
131
131
  attrs[:method] = :post unless attrs[:method] == :get
132
132
  # Use a fake PUT if the object is not new, otherwise use the method
133
133
  # passed in. Defaults to :post if no method is set.
134
- method ||= (@obj.respond_to?(:new_record?) && !@obj.new_record?) || (@obj.respond_to?(:new?) && !@obj.new?) ? :put : :post
134
+ method ||= (@obj.respond_to?(:new?) && !@obj.new?) || (@obj.respond_to?(:new_record?) && !@obj.new_record?) ? :put : :post
135
135
 
136
136
  attrs[:enctype] = "multipart/form-data" if attrs.delete(:multipart) || @multipart
137
137
 
@@ -164,7 +164,7 @@ module Merb::Helpers::Form::Builder
164
164
  def update_bound_select(method, attrs)
165
165
  attrs[:value_method] ||= method
166
166
  attrs[:text_method] ||= attrs[:value_method] || :to_s
167
- attrs[:selected] ||= control_value(attrs[:value_method])
167
+ attrs[:selected] ||= control_value(method)
168
168
  end
169
169
 
170
170
  def update_unbound_controls(attrs, type)
@@ -374,8 +374,10 @@ module Merb::Helpers::Form::Builder
374
374
  end
375
375
 
376
376
  def update_unbound_controls(attrs, type)
377
- attrs.merge!(:id => attrs[:name]) if attrs[:name] && !attrs[:id]
378
-
377
+ if attrs[:name] && !attrs[:id]
378
+ # '[' and ']' are illegal in HTML id attributes
379
+ attrs.merge!(:id => attrs[:name].to_s.gsub(/(\[|\])/, '_'))
380
+ end
379
381
  case type
380
382
  when "text", "radio", "password", "hidden", "checkbox", "file"
381
383
  add_css_class(attrs, type)
@@ -0,0 +1,3 @@
1
+ <%= form_for @obj do %>
2
+ <%= select( :bar, :collection => @collection, :text_method => :bar, :value_method => :foo ) %>
3
+ <% end =%>
@@ -0,0 +1 @@
1
+ <%= select(:name => "foo", :collection => %w(one two three), :selected => "three", :label => 'LABEL') %>
@@ -979,6 +979,19 @@ describe "bound_select" do
979
979
  form.should have_selector("label[for=fake_model_foo]:contains('LABEL')")
980
980
  end
981
981
 
982
+ it "should render a select tag with correct field selected" do
983
+ a = FakeModel3.new; a.bar = "A"; a.foo = 4
984
+ b = FakeModel3.new; b.bar = "B"; b.foo = 2
985
+ c = FakeModel3.new; c.bar = "C"; c.foo = 7
986
+
987
+ @c.instance_variable_set(:@collection, [a,b,c])
988
+
989
+ r = @c.render :selected
990
+ r.should_not have_selector("select[id=fake_model_bar] option[selected]:contains('A')")
991
+ r.should_not have_selector("select[id=fake_model_bar] option[selected]:contains('B')")
992
+ r.should have_selector("select[id=fake_model_bar] option[selected]:contains('C')")
993
+ end
994
+
982
995
  # Not sure how this makes any sense
983
996
  # ---------------------------------
984
997
  #
@@ -0,0 +1,504 @@
1
+ ~ Compiling routes...
2
+ ~ Started request handling: 2009-09-25 18:43:07 +0100
3
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content", "id"=>nil, "format"=>nil}
4
+ ~ {:before_filters_time=>1.3e-05, :after_filters_time=>1.3e-05, :action_time=>0.000761, :dispatch_time=>0.001199}
5
+ ~
6
+
7
+ ~ Started request handling: 2009-09-25 18:43:08 +0100
8
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content_in_the_block", "id"=>nil, "format"=>nil}
9
+ ~ {:before_filters_time=>9.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000335, :dispatch_time=>0.000779}
10
+ ~
11
+
12
+ ~ Started request handling: 2009-09-25 18:43:08 +0100
13
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_attributes", "id"=>nil, "format"=>nil}
14
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000345, :dispatch_time=>0.000692}
15
+ ~
16
+
17
+ ~ Started request handling: 2009-09-25 18:43:08 +0100
18
+ ~ Params: {"controller"=>"tag_helper", "action"=>"nested_tags", "id"=>nil, "format"=>nil}
19
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000407, :dispatch_time=>0.000743}
20
+ ~
21
+
22
+ ~ Compiling routes...
23
+ ~ Started request handling: 2009-09-25 19:17:23 +0100
24
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content", "id"=>nil, "format"=>nil}
25
+ ~ {:before_filters_time=>1.4e-05, :after_filters_time=>1.4e-05, :action_time=>0.00078, :dispatch_time=>0.001221}
26
+ ~
27
+
28
+ ~ Started request handling: 2009-09-25 19:17:23 +0100
29
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content_in_the_block", "id"=>nil, "format"=>nil}
30
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>9.0e-06, :action_time=>0.000334, :dispatch_time=>0.000752}
31
+ ~
32
+
33
+ ~ Started request handling: 2009-09-25 19:17:23 +0100
34
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_attributes", "id"=>nil, "format"=>nil}
35
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>8.0e-06, :action_time=>0.00039, :dispatch_time=>0.000803}
36
+ ~
37
+
38
+ ~ Started request handling: 2009-09-25 19:17:23 +0100
39
+ ~ Params: {"controller"=>"tag_helper", "action"=>"nested_tags", "id"=>nil, "format"=>nil}
40
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>9.0e-06, :action_time=>0.000452, :dispatch_time=>0.000874}
41
+ ~
42
+
43
+ ~ Compiling routes...
44
+ ~ Started request handling: 2009-09-27 12:42:22 +0100
45
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content", "id"=>nil, "format"=>nil}
46
+ ~ {:before_filters_time=>1.3e-05, :after_filters_time=>1.2e-05, :action_time=>0.000762, :dispatch_time=>0.001199}
47
+ ~
48
+
49
+ ~ Started request handling: 2009-09-27 12:42:22 +0100
50
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content_in_the_block", "id"=>nil, "format"=>nil}
51
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.000405, :dispatch_time=>0.000868}
52
+ ~
53
+
54
+ ~ Started request handling: 2009-09-27 12:42:22 +0100
55
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_attributes", "id"=>nil, "format"=>nil}
56
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000366, :dispatch_time=>0.00072}
57
+ ~
58
+
59
+ ~ Started request handling: 2009-09-27 12:42:22 +0100
60
+ ~ Params: {"controller"=>"tag_helper", "action"=>"nested_tags", "id"=>nil, "format"=>nil}
61
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000462, :dispatch_time=>0.000871}
62
+ ~
63
+
64
+ ~ Compiling routes...
65
+ ~ Started request handling: 2009-09-27 13:01:47 +0100
66
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content", "id"=>nil, "format"=>nil}
67
+ ~ {:before_filters_time=>1.3e-05, :after_filters_time=>1.2e-05, :action_time=>0.00076, :dispatch_time=>0.001219}
68
+ ~
69
+
70
+ ~ Started request handling: 2009-09-27 13:01:47 +0100
71
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content_in_the_block", "id"=>nil, "format"=>nil}
72
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.000335, :dispatch_time=>0.000758}
73
+ ~
74
+
75
+ ~ Started request handling: 2009-09-27 13:01:47 +0100
76
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_attributes", "id"=>nil, "format"=>nil}
77
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000339, :dispatch_time=>0.000677}
78
+ ~
79
+
80
+ ~ Started request handling: 2009-09-27 13:01:47 +0100
81
+ ~ Params: {"controller"=>"tag_helper", "action"=>"nested_tags", "id"=>nil, "format"=>nil}
82
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000413, :dispatch_time=>0.000812}
83
+ ~
84
+
85
+ ~ Compiling routes...
86
+ ~ Started request handling: 2009-09-27 13:08:14 +0100
87
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content", "id"=>nil, "format"=>nil}
88
+ ~ {:before_filters_time=>1.3e-05, :after_filters_time=>1.3e-05, :action_time=>0.000827, :dispatch_time=>0.001267}
89
+ ~
90
+
91
+ ~ Started request handling: 2009-09-27 13:08:14 +0100
92
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content_in_the_block", "id"=>nil, "format"=>nil}
93
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000333, :dispatch_time=>0.000753}
94
+ ~
95
+
96
+ ~ Started request handling: 2009-09-27 13:08:14 +0100
97
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_attributes", "id"=>nil, "format"=>nil}
98
+ ~ {:before_filters_time=>9.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000383, :dispatch_time=>0.000747}
99
+ ~
100
+
101
+ ~ Started request handling: 2009-09-27 13:08:14 +0100
102
+ ~ Params: {"controller"=>"tag_helper", "action"=>"nested_tags", "id"=>nil, "format"=>nil}
103
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000408, :dispatch_time=>0.000748}
104
+ ~
105
+
106
+ ~ Compiling routes...
107
+ ~ Started request handling: 2009-09-27 14:04:13 +0100
108
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content", "id"=>nil, "format"=>nil}
109
+ ~ {:before_filters_time=>1.3e-05, :after_filters_time=>1.2e-05, :action_time=>0.000804, :dispatch_time=>0.00126}
110
+ ~
111
+
112
+ ~ Started request handling: 2009-09-27 14:04:13 +0100
113
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content_in_the_block", "id"=>nil, "format"=>nil}
114
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.000421, :dispatch_time=>0.000876}
115
+ ~
116
+
117
+ ~ Started request handling: 2009-09-27 14:04:14 +0100
118
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_attributes", "id"=>nil, "format"=>nil}
119
+ ~ {:before_filters_time=>9.0e-06, :after_filters_time=>8.0e-06, :action_time=>0.000608, :dispatch_time=>0.001126}
120
+ ~
121
+
122
+ ~ Started request handling: 2009-09-27 14:04:14 +0100
123
+ ~ Params: {"controller"=>"tag_helper", "action"=>"nested_tags", "id"=>nil, "format"=>nil}
124
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000444, :dispatch_time=>0.000813}
125
+ ~
126
+
127
+ ~ Compiling routes...
128
+ ~ Started request handling: 2009-09-27 14:10:27 +0100
129
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content", "id"=>nil, "format"=>nil}
130
+ ~ {:before_filters_time=>1.2e-05, :after_filters_time=>1.1e-05, :action_time=>0.00075, :dispatch_time=>0.001189}
131
+ ~
132
+
133
+ ~ Started request handling: 2009-09-27 14:10:27 +0100
134
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content_in_the_block", "id"=>nil, "format"=>nil}
135
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000345, :dispatch_time=>0.000768}
136
+ ~
137
+
138
+ ~ Started request handling: 2009-09-27 14:10:27 +0100
139
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_attributes", "id"=>nil, "format"=>nil}
140
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>4.0e-06, :action_time=>0.000348, :dispatch_time=>0.000693}
141
+ ~
142
+
143
+ ~ Started request handling: 2009-09-27 14:10:27 +0100
144
+ ~ Params: {"controller"=>"tag_helper", "action"=>"nested_tags", "id"=>nil, "format"=>nil}
145
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000401, :dispatch_time=>0.000738}
146
+ ~
147
+
148
+ ~ Compiling routes...
149
+ ~ Started request handling: 2009-09-27 14:14:06 +0100
150
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content", "id"=>nil, "format"=>nil}
151
+ ~ {:before_filters_time=>1.2e-05, :after_filters_time=>1.1e-05, :action_time=>0.000767, :dispatch_time=>0.001204}
152
+ ~
153
+
154
+ ~ Started request handling: 2009-09-27 14:14:06 +0100
155
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content_in_the_block", "id"=>nil, "format"=>nil}
156
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.00033, :dispatch_time=>0.000764}
157
+ ~
158
+
159
+ ~ Started request handling: 2009-09-27 14:14:06 +0100
160
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_attributes", "id"=>nil, "format"=>nil}
161
+ ~ {:before_filters_time=>4.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000347, :dispatch_time=>0.000728}
162
+ ~
163
+
164
+ ~ Started request handling: 2009-09-27 14:14:06 +0100
165
+ ~ Params: {"controller"=>"tag_helper", "action"=>"nested_tags", "id"=>nil, "format"=>nil}
166
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>9.0e-06, :action_time=>0.000454, :dispatch_time=>0.000793}
167
+ ~
168
+
169
+ ~ Compiling routes...
170
+ ~ Started request handling: 2009-09-27 14:15:52 +0100
171
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content", "id"=>nil, "format"=>nil}
172
+ ~ {:before_filters_time=>1.3e-05, :after_filters_time=>1.2e-05, :action_time=>0.000799, :dispatch_time=>0.001236}
173
+ ~
174
+
175
+ ~ Started request handling: 2009-09-27 14:15:52 +0100
176
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content_in_the_block", "id"=>nil, "format"=>nil}
177
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000338, :dispatch_time=>0.000805}
178
+ ~
179
+
180
+ ~ Started request handling: 2009-09-27 14:15:52 +0100
181
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_attributes", "id"=>nil, "format"=>nil}
182
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000345, :dispatch_time=>0.000681}
183
+ ~
184
+
185
+ ~ Started request handling: 2009-09-27 14:15:52 +0100
186
+ ~ Params: {"controller"=>"tag_helper", "action"=>"nested_tags", "id"=>nil, "format"=>nil}
187
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000414, :dispatch_time=>0.000758}
188
+ ~
189
+
190
+ ~ Compiling routes...
191
+ ~ Started request handling: 2009-09-27 14:16:46 +0100
192
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content", "id"=>nil, "format"=>nil}
193
+ ~ {:before_filters_time=>1.1e-05, :after_filters_time=>1.2e-05, :action_time=>0.000765, :dispatch_time=>0.001199}
194
+ ~
195
+
196
+ ~ Started request handling: 2009-09-27 14:16:47 +0100
197
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content_in_the_block", "id"=>nil, "format"=>nil}
198
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000316, :dispatch_time=>0.000716}
199
+ ~
200
+
201
+ ~ Started request handling: 2009-09-27 14:16:47 +0100
202
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_attributes", "id"=>nil, "format"=>nil}
203
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.000345, :dispatch_time=>0.000684}
204
+ ~
205
+
206
+ ~ Started request handling: 2009-09-27 14:16:47 +0100
207
+ ~ Params: {"controller"=>"tag_helper", "action"=>"nested_tags", "id"=>nil, "format"=>nil}
208
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>4.0e-06, :action_time=>0.000389, :dispatch_time=>0.000714}
209
+ ~
210
+
211
+ ~ Compiling routes...
212
+ ~ Started request handling: 2009-09-27 14:33:24 +0100
213
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content", "id"=>nil, "format"=>nil}
214
+ ~ {:before_filters_time=>1.2e-05, :after_filters_time=>1.2e-05, :action_time=>0.000761, :dispatch_time=>0.001202}
215
+ ~
216
+
217
+ ~ Started request handling: 2009-09-27 14:33:24 +0100
218
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content_in_the_block", "id"=>nil, "format"=>nil}
219
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000336, :dispatch_time=>0.000764}
220
+ ~
221
+
222
+ ~ Started request handling: 2009-09-27 14:33:24 +0100
223
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_attributes", "id"=>nil, "format"=>nil}
224
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000358, :dispatch_time=>0.000678}
225
+ ~
226
+
227
+ ~ Started request handling: 2009-09-27 14:33:24 +0100
228
+ ~ Params: {"controller"=>"tag_helper", "action"=>"nested_tags", "id"=>nil, "format"=>nil}
229
+ ~ {:before_filters_time=>4.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000395, :dispatch_time=>0.000723}
230
+ ~
231
+
232
+ ~ Compiling routes...
233
+ ~ Started request handling: 2009-09-27 14:38:00 +0100
234
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content", "id"=>nil, "format"=>nil}
235
+ ~ {:before_filters_time=>1.3e-05, :after_filters_time=>1.1e-05, :action_time=>0.000782, :dispatch_time=>0.00122}
236
+ ~
237
+
238
+ ~ Started request handling: 2009-09-27 14:38:00 +0100
239
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content_in_the_block", "id"=>nil, "format"=>nil}
240
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000354, :dispatch_time=>0.000798}
241
+ ~
242
+
243
+ ~ Started request handling: 2009-09-27 14:38:00 +0100
244
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_attributes", "id"=>nil, "format"=>nil}
245
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000401, :dispatch_time=>0.000785}
246
+ ~
247
+
248
+ ~ Started request handling: 2009-09-27 14:38:00 +0100
249
+ ~ Params: {"controller"=>"tag_helper", "action"=>"nested_tags", "id"=>nil, "format"=>nil}
250
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000482, :dispatch_time=>0.000868}
251
+ ~
252
+
253
+ ~ Compiling routes...
254
+ ~ Started request handling: 2009-09-27 14:42:40 +0100
255
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content", "id"=>nil, "format"=>nil}
256
+ ~ {:before_filters_time=>1.2e-05, :after_filters_time=>1.2e-05, :action_time=>0.000792, :dispatch_time=>0.001252}
257
+ ~
258
+
259
+ ~ Started request handling: 2009-09-27 14:42:40 +0100
260
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content_in_the_block", "id"=>nil, "format"=>nil}
261
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000326, :dispatch_time=>0.000743}
262
+ ~
263
+
264
+ ~ Started request handling: 2009-09-27 14:42:40 +0100
265
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_attributes", "id"=>nil, "format"=>nil}
266
+ ~ {:before_filters_time=>4.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000323, :dispatch_time=>0.000633}
267
+ ~
268
+
269
+ ~ Started request handling: 2009-09-27 14:42:40 +0100
270
+ ~ Params: {"controller"=>"tag_helper", "action"=>"nested_tags", "id"=>nil, "format"=>nil}
271
+ ~ {:before_filters_time=>9.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.000509, :dispatch_time=>0.001021}
272
+ ~
273
+
274
+ ~ Compiling routes...
275
+ ~ Started request handling: 2009-09-27 14:50:45 +0100
276
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content", "id"=>nil, "format"=>nil}
277
+ ~ {:before_filters_time=>1.5e-05, :after_filters_time=>1.3e-05, :action_time=>0.0008, :dispatch_time=>0.001301}
278
+ ~
279
+
280
+ ~ Started request handling: 2009-09-27 14:50:45 +0100
281
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content_in_the_block", "id"=>nil, "format"=>nil}
282
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.00034, :dispatch_time=>0.000781}
283
+ ~
284
+
285
+ ~ Started request handling: 2009-09-27 14:50:45 +0100
286
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_attributes", "id"=>nil, "format"=>nil}
287
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000346, :dispatch_time=>0.000678}
288
+ ~
289
+
290
+ ~ Started request handling: 2009-09-27 14:50:45 +0100
291
+ ~ Params: {"controller"=>"tag_helper", "action"=>"nested_tags", "id"=>nil, "format"=>nil}
292
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000399, :dispatch_time=>0.000723}
293
+ ~
294
+
295
+ ~ Compiling routes...
296
+ ~ Started request handling: 2009-09-27 14:56:58 +0100
297
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content", "id"=>nil, "format"=>nil}
298
+ ~ {:before_filters_time=>1.6e-05, :after_filters_time=>1.4e-05, :action_time=>0.000869, :dispatch_time=>0.001402}
299
+ ~
300
+
301
+ ~ Started request handling: 2009-09-27 14:56:58 +0100
302
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content_in_the_block", "id"=>nil, "format"=>nil}
303
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000328, :dispatch_time=>0.000747}
304
+ ~
305
+
306
+ ~ Started request handling: 2009-09-27 14:56:58 +0100
307
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_attributes", "id"=>nil, "format"=>nil}
308
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000343, :dispatch_time=>0.000679}
309
+ ~
310
+
311
+ ~ Started request handling: 2009-09-27 14:56:58 +0100
312
+ ~ Params: {"controller"=>"tag_helper", "action"=>"nested_tags", "id"=>nil, "format"=>nil}
313
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000414, :dispatch_time=>0.000782}
314
+ ~
315
+
316
+ ~ Compiling routes...
317
+ ~ Started request handling: 2009-10-17 13:38:00 +0100
318
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content", "id"=>nil, "format"=>nil}
319
+ ~ {:before_filters_time=>1.4e-05, :after_filters_time=>1.5e-05, :action_time=>0.000769, :dispatch_time=>0.001223}
320
+ ~
321
+
322
+ ~ Started request handling: 2009-10-17 13:38:00 +0100
323
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content_in_the_block", "id"=>nil, "format"=>nil}
324
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000326, :dispatch_time=>0.00076}
325
+ ~
326
+
327
+ ~ Started request handling: 2009-10-17 13:38:00 +0100
328
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_attributes", "id"=>nil, "format"=>nil}
329
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000347, :dispatch_time=>0.0007}
330
+ ~
331
+
332
+ ~ Started request handling: 2009-10-17 13:38:00 +0100
333
+ ~ Params: {"controller"=>"tag_helper", "action"=>"nested_tags", "id"=>nil, "format"=>nil}
334
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.000421, :dispatch_time=>0.000852}
335
+ ~
336
+
337
+ ~ Compiling routes...
338
+ ~ Started request handling: 2009-10-17 13:44:39 +0100
339
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content", "id"=>nil, "format"=>nil}
340
+ ~ {:before_filters_time=>1.3e-05, :after_filters_time=>1.3e-05, :action_time=>0.000808, :dispatch_time=>0.001323}
341
+ ~
342
+
343
+ ~ Started request handling: 2009-10-17 13:44:39 +0100
344
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content_in_the_block", "id"=>nil, "format"=>nil}
345
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000389, :dispatch_time=>0.000837}
346
+ ~
347
+
348
+ ~ Started request handling: 2009-10-17 13:44:39 +0100
349
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_attributes", "id"=>nil, "format"=>nil}
350
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>4.0e-06, :action_time=>0.000343, :dispatch_time=>0.000678}
351
+ ~
352
+
353
+ ~ Started request handling: 2009-10-17 13:44:39 +0100
354
+ ~ Params: {"controller"=>"tag_helper", "action"=>"nested_tags", "id"=>nil, "format"=>nil}
355
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000396, :dispatch_time=>0.000721}
356
+ ~
357
+
358
+ ~ Compiling routes...
359
+ ~ Started request handling: 2009-10-17 15:50:25 +0100
360
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content", "id"=>nil, "format"=>nil}
361
+ ~ {:before_filters_time=>1.4e-05, :after_filters_time=>1.2e-05, :action_time=>0.000825, :dispatch_time=>0.001329}
362
+ ~
363
+
364
+ ~ Started request handling: 2009-10-17 15:50:25 +0100
365
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content_in_the_block", "id"=>nil, "format"=>nil}
366
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.000325, :dispatch_time=>0.000746}
367
+ ~
368
+
369
+ ~ Started request handling: 2009-10-17 15:50:26 +0100
370
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_attributes", "id"=>nil, "format"=>nil}
371
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.00035, :dispatch_time=>0.000707}
372
+ ~
373
+
374
+ ~ Started request handling: 2009-10-17 15:50:26 +0100
375
+ ~ Params: {"controller"=>"tag_helper", "action"=>"nested_tags", "id"=>nil, "format"=>nil}
376
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000391, :dispatch_time=>0.000724}
377
+ ~
378
+
379
+ ~ Compiling routes...
380
+ ~ Started request handling: 2009-10-17 18:26:19 +0100
381
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content", "id"=>nil, "format"=>nil}
382
+ ~ {:before_filters_time=>1.6e-05, :after_filters_time=>1.4e-05, :action_time=>0.00098, :dispatch_time=>0.001815}
383
+ ~
384
+
385
+ ~ Started request handling: 2009-10-17 18:26:19 +0100
386
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content_in_the_block", "id"=>nil, "format"=>nil}
387
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000337, :dispatch_time=>0.000755}
388
+ ~
389
+
390
+ ~ Started request handling: 2009-10-17 18:26:19 +0100
391
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_attributes", "id"=>nil, "format"=>nil}
392
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000353, :dispatch_time=>0.000686}
393
+ ~
394
+
395
+ ~ Started request handling: 2009-10-17 18:26:19 +0100
396
+ ~ Params: {"controller"=>"tag_helper", "action"=>"nested_tags", "id"=>nil, "format"=>nil}
397
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000419, :dispatch_time=>0.000764}
398
+ ~
399
+
400
+ ~ Compiling routes...
401
+ ~ Started request handling: 2009-10-17 20:50:21 +0100
402
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content", "id"=>nil, "format"=>nil}
403
+ ~ {:before_filters_time=>1.2e-05, :after_filters_time=>1.3e-05, :action_time=>0.000814, :dispatch_time=>0.001254}
404
+ ~
405
+
406
+ ~ Started request handling: 2009-10-17 20:50:21 +0100
407
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content_in_the_block", "id"=>nil, "format"=>nil}
408
+ ~ {:before_filters_time=>9.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.000362, :dispatch_time=>0.000906}
409
+ ~
410
+
411
+ ~ Started request handling: 2009-10-17 20:50:21 +0100
412
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_attributes", "id"=>nil, "format"=>nil}
413
+ ~ {:before_filters_time=>1.3e-05, :after_filters_time=>6.0e-06, :action_time=>0.000506, :dispatch_time=>0.000903}
414
+ ~
415
+
416
+ ~ Started request handling: 2009-10-17 20:50:21 +0100
417
+ ~ Params: {"controller"=>"tag_helper", "action"=>"nested_tags", "id"=>nil, "format"=>nil}
418
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000411, :dispatch_time=>0.000756}
419
+ ~
420
+
421
+ ~ Compiling routes...
422
+ ~ Started request handling: 2009-10-17 20:58:54 +0100
423
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content", "id"=>nil, "format"=>nil}
424
+ ~ {:before_filters_time=>1.3e-05, :after_filters_time=>1.2e-05, :action_time=>0.000754, :dispatch_time=>0.0012}
425
+ ~
426
+
427
+ ~ Started request handling: 2009-10-17 20:58:54 +0100
428
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content_in_the_block", "id"=>nil, "format"=>nil}
429
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000403, :dispatch_time=>0.000911}
430
+ ~
431
+
432
+ ~ Started request handling: 2009-10-17 20:58:54 +0100
433
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_attributes", "id"=>nil, "format"=>nil}
434
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000351, :dispatch_time=>0.000691}
435
+ ~
436
+
437
+ ~ Started request handling: 2009-10-17 20:58:54 +0100
438
+ ~ Params: {"controller"=>"tag_helper", "action"=>"nested_tags", "id"=>nil, "format"=>nil}
439
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000424, :dispatch_time=>0.000762}
440
+ ~
441
+
442
+ ~ Compiling routes...
443
+ ~ Started request handling: 2009-10-17 21:00:36 +0100
444
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content", "id"=>nil, "format"=>nil}
445
+ ~ {:before_filters_time=>1.4e-05, :after_filters_time=>1.4e-05, :action_time=>0.000768, :dispatch_time=>0.00124}
446
+ ~
447
+
448
+ ~ Started request handling: 2009-10-17 21:00:36 +0100
449
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content_in_the_block", "id"=>nil, "format"=>nil}
450
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000338, :dispatch_time=>0.000817}
451
+ ~
452
+
453
+ ~ Started request handling: 2009-10-17 21:00:36 +0100
454
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_attributes", "id"=>nil, "format"=>nil}
455
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.00036, :dispatch_time=>0.00071}
456
+ ~
457
+
458
+ ~ Started request handling: 2009-10-17 21:00:36 +0100
459
+ ~ Params: {"controller"=>"tag_helper", "action"=>"nested_tags", "id"=>nil, "format"=>nil}
460
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000407, :dispatch_time=>0.000734}
461
+ ~
462
+
463
+ ~ Compiling routes...
464
+ ~ Started request handling: 2009-10-17 21:01:01 +0100
465
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content", "id"=>nil, "format"=>nil}
466
+ ~ {:before_filters_time=>1.2e-05, :after_filters_time=>1.3e-05, :action_time=>0.001165, :dispatch_time=>0.001889}
467
+ ~
468
+
469
+ ~ Started request handling: 2009-10-17 21:01:01 +0100
470
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content_in_the_block", "id"=>nil, "format"=>nil}
471
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000326, :dispatch_time=>0.000739}
472
+ ~
473
+
474
+ ~ Started request handling: 2009-10-17 21:01:01 +0100
475
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_attributes", "id"=>nil, "format"=>nil}
476
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000361, :dispatch_time=>0.000732}
477
+ ~
478
+
479
+ ~ Started request handling: 2009-10-17 21:01:01 +0100
480
+ ~ Params: {"controller"=>"tag_helper", "action"=>"nested_tags", "id"=>nil, "format"=>nil}
481
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000397, :dispatch_time=>0.000722}
482
+ ~
483
+
484
+ ~ Compiling routes...
485
+ ~ Started request handling: 2009-10-17 21:27:46 +0100
486
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content", "id"=>nil, "format"=>nil}
487
+ ~ {:before_filters_time=>1.2e-05, :after_filters_time=>1.2e-05, :action_time=>0.000749, :dispatch_time=>0.001197}
488
+ ~
489
+
490
+ ~ Started request handling: 2009-10-17 21:27:46 +0100
491
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_content_in_the_block", "id"=>nil, "format"=>nil}
492
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000352, :dispatch_time=>0.000842}
493
+ ~
494
+
495
+ ~ Started request handling: 2009-10-17 21:27:46 +0100
496
+ ~ Params: {"controller"=>"tag_helper", "action"=>"tag_with_attributes", "id"=>nil, "format"=>nil}
497
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>4.0e-06, :action_time=>0.000333, :dispatch_time=>0.000664}
498
+ ~
499
+
500
+ ~ Started request handling: 2009-10-17 21:27:46 +0100
501
+ ~ Params: {"controller"=>"tag_helper", "action"=>"nested_tags", "id"=>nil, "format"=>nil}
502
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000437, :dispatch_time=>0.000826}
503
+ ~
504
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: merb-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.12
4
+ version: 1.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael D. Ivey
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-30 00:00:00 -07:00
12
+ date: 2009-11-03 00:00:00 +00:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -18,9 +18,9 @@ dependencies:
18
18
  version_requirement:
19
19
  version_requirements: !ruby/object:Gem::Requirement
20
20
  requirements:
21
- - - ">="
21
+ - - ~>
22
22
  - !ruby/object:Gem::Version
23
- version: 1.0.12
23
+ version: 1.0.13
24
24
  version:
25
25
  description: Helper support for Merb
26
26
  email: ivey@gweezlebur.com
@@ -123,6 +123,7 @@ files:
123
123
  - spec/fixture/app/views/bound_select_specs/label.html.erb
124
124
  - spec/fixture/app/views/bound_select_specs/multiple.html.erb
125
125
  - spec/fixture/app/views/bound_select_specs/prompt.html.erb
126
+ - spec/fixture/app/views/bound_select_specs/selected.html.erb
126
127
  - spec/fixture/app/views/bound_select_specs/with_options.html.erb
127
128
  - spec/fixture/app/views/bound_select_specs/with_options_with_blank.html.erb
128
129
  - spec/fixture/app/views/bound_text_area_specs/basic.html.erb
@@ -216,6 +217,7 @@ files:
216
217
  - spec/fixture/app/views/relative_date_specs/relative_yesterday.html.erb
217
218
  - spec/fixture/app/views/select_specs/basic.html.erb
218
219
  - spec/fixture/app/views/select_specs/blank.html.erb
220
+ - spec/fixture/app/views/select_specs/label.html.erb
219
221
  - spec/fixture/app/views/select_specs/multiple.html.erb
220
222
  - spec/fixture/app/views/select_specs/selected.html.erb
221
223
  - spec/fixture/app/views/submit_specs/disabled_submit.html.erb
@@ -248,6 +250,7 @@ files:
248
250
  - spec/merb_helpers_form_spec.rb
249
251
  - spec/merb_helpers_tag_helper_spec.rb
250
252
  - spec/merb_helpers_text_spec.rb
253
+ - spec/merb_test.log
251
254
  - spec/numeric_extlib_spec.rb
252
255
  - spec/ordinalize_spec.rb
253
256
  - spec/spec_helper.rb
@@ -276,7 +279,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
276
279
  requirements: []
277
280
 
278
281
  rubyforge_project: merb
279
- rubygems_version: 1.3.2
282
+ rubygems_version: 1.3.5
280
283
  signing_key:
281
284
  specification_version: 3
282
285
  summary: Helper support for Merb