merb-helpers 0.9.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (192) hide show
  1. data/LICENSE +20 -0
  2. data/README +180 -0
  3. data/Rakefile +77 -0
  4. data/TODO +5 -0
  5. data/lib/merb-helpers.rb +38 -0
  6. data/lib/merb-helpers/core_ext.rb +57 -0
  7. data/lib/merb-helpers/core_ext/numeric.rb +388 -0
  8. data/lib/merb-helpers/date_time_formatting.rb +127 -0
  9. data/lib/merb-helpers/date_time_helpers.rb +190 -0
  10. data/lib/merb-helpers/form/builder.rb +410 -0
  11. data/lib/merb-helpers/form/helpers.rb +448 -0
  12. data/lib/merb-helpers/form_helpers.rb +24 -0
  13. data/lib/merb-helpers/tag_helpers.rb +61 -0
  14. data/lib/merb-helpers/text_helpers.rb +61 -0
  15. data/lib/merb-helpers/time_dsl.rb +59 -0
  16. data/spec/core_ext_spec.rb +19 -0
  17. data/spec/fixture/app/controllers/application.rb +4 -0
  18. data/spec/fixture/app/controllers/bound_check_box.rb +2 -0
  19. data/spec/fixture/app/controllers/bound_file_field.rb +2 -0
  20. data/spec/fixture/app/controllers/bound_hidden_field.rb +2 -0
  21. data/spec/fixture/app/controllers/bound_option_tag.rb +2 -0
  22. data/spec/fixture/app/controllers/bound_password_field.rb +2 -0
  23. data/spec/fixture/app/controllers/bound_radio_button.rb +2 -0
  24. data/spec/fixture/app/controllers/bound_radio_group.rb +2 -0
  25. data/spec/fixture/app/controllers/bound_select.rb +2 -0
  26. data/spec/fixture/app/controllers/bound_text_area.rb +2 -0
  27. data/spec/fixture/app/controllers/bound_text_field.rb +2 -0
  28. data/spec/fixture/app/controllers/button.rb +2 -0
  29. data/spec/fixture/app/controllers/check_box.rb +2 -0
  30. data/spec/fixture/app/controllers/custom_builder.rb +2 -0
  31. data/spec/fixture/app/controllers/delete_button.rb +2 -0
  32. data/spec/fixture/app/controllers/exceptions.rb +25 -0
  33. data/spec/fixture/app/controllers/field_set.rb +2 -0
  34. data/spec/fixture/app/controllers/fields_for.rb +3 -0
  35. data/spec/fixture/app/controllers/file_field.rb +2 -0
  36. data/spec/fixture/app/controllers/foo.rb +23 -0
  37. data/spec/fixture/app/controllers/form.rb +2 -0
  38. data/spec/fixture/app/controllers/form_for.rb +2 -0
  39. data/spec/fixture/app/controllers/hidden_field.rb +2 -0
  40. data/spec/fixture/app/controllers/label.rb +3 -0
  41. data/spec/fixture/app/controllers/numeric_ext.rb +3 -0
  42. data/spec/fixture/app/controllers/option_tag.rb +2 -0
  43. data/spec/fixture/app/controllers/password_field.rb +2 -0
  44. data/spec/fixture/app/controllers/radio_button.rb +2 -0
  45. data/spec/fixture/app/controllers/radio_group.rb +2 -0
  46. data/spec/fixture/app/controllers/select.rb +2 -0
  47. data/spec/fixture/app/controllers/specs_controller.rb +11 -0
  48. data/spec/fixture/app/controllers/submit.rb +2 -0
  49. data/spec/fixture/app/controllers/tag_helper.rb +21 -0
  50. data/spec/fixture/app/controllers/text_area.rb +2 -0
  51. data/spec/fixture/app/controllers/text_field.rb +3 -0
  52. data/spec/fixture/app/helpers/global_helpers.rb +8 -0
  53. data/spec/fixture/app/models/fake_dm_model.rb +25 -0
  54. data/spec/fixture/app/models/first_generic_fake_model.rb +57 -0
  55. data/spec/fixture/app/models/second_generic_fake_model.rb +18 -0
  56. data/spec/fixture/app/models/third_generic_fake_model.rb +3 -0
  57. data/spec/fixture/app/views/bound_check_box_specs/basic.html.erb +4 -0
  58. data/spec/fixture/app/views/bound_check_box_specs/checked.html.erb +4 -0
  59. data/spec/fixture/app/views/bound_check_box_specs/errors.html.erb +4 -0
  60. data/spec/fixture/app/views/bound_check_box_specs/label.html.erb +3 -0
  61. data/spec/fixture/app/views/bound_check_box_specs/on_and_off.html.erb +3 -0
  62. data/spec/fixture/app/views/bound_check_box_specs/raise_value_error.html.erb +3 -0
  63. data/spec/fixture/app/views/bound_file_field_specs/additional_attributes.html.erb +3 -0
  64. data/spec/fixture/app/views/bound_file_field_specs/takes_string.html.erb +3 -0
  65. data/spec/fixture/app/views/bound_file_field_specs/with_label.html.erb +3 -0
  66. data/spec/fixture/app/views/bound_hidden_field_specs/basic.html.erb +3 -0
  67. data/spec/fixture/app/views/bound_hidden_field_specs/errors.html.erb +3 -0
  68. data/spec/fixture/app/views/bound_hidden_field_specs/hidden_error.html.erb +3 -0
  69. data/spec/fixture/app/views/bound_hidden_field_specs/label.html.erb +3 -0
  70. data/spec/fixture/app/views/bound_option_tag_specs/grouped.html.erb +3 -0
  71. data/spec/fixture/app/views/bound_option_tag_specs/nested.html.erb +3 -0
  72. data/spec/fixture/app/views/bound_option_tag_specs/text_and_value.html.erb +4 -0
  73. data/spec/fixture/app/views/bound_password_field_specs/attributes.html.erb +3 -0
  74. data/spec/fixture/app/views/bound_password_field_specs/basic.html.erb +3 -0
  75. data/spec/fixture/app/views/bound_password_field_specs/label.html.erb +3 -0
  76. data/spec/fixture/app/views/bound_radio_button_specs/basic.html.erb +3 -0
  77. data/spec/fixture/app/views/bound_radio_group_specs/basic.html.erb +3 -0
  78. data/spec/fixture/app/views/bound_radio_group_specs/hashes.html.erb +3 -0
  79. data/spec/fixture/app/views/bound_radio_group_specs/mixed.html.erb +4 -0
  80. data/spec/fixture/app/views/bound_radio_group_specs/override_id.html.erb +3 -0
  81. data/spec/fixture/app/views/bound_select_specs/basic.html.erb +3 -0
  82. data/spec/fixture/app/views/bound_select_specs/blank.html.erb +3 -0
  83. data/spec/fixture/app/views/bound_select_specs/multiple.html.erb +3 -0
  84. data/spec/fixture/app/views/bound_select_specs/prompt.html.erb +3 -0
  85. data/spec/fixture/app/views/bound_select_specs/with_options.html.erb +3 -0
  86. data/spec/fixture/app/views/bound_select_specs/with_options_with_blank.html.erb +3 -0
  87. data/spec/fixture/app/views/bound_text_area_specs/basic.html.erb +3 -0
  88. data/spec/fixture/app/views/bound_text_field_specs/basic.html.erb +3 -0
  89. data/spec/fixture/app/views/button_specs/button_with_label.html.erb +1 -0
  90. data/spec/fixture/app/views/button_specs/button_with_values.html.erb +1 -0
  91. data/spec/fixture/app/views/button_specs/disabled_button.html.erb +1 -0
  92. data/spec/fixture/app/views/check_box_specs/basic.html.erb +1 -0
  93. data/spec/fixture/app/views/check_box_specs/boolean.html.erb +1 -0
  94. data/spec/fixture/app/views/check_box_specs/disabled.html.erb +1 -0
  95. data/spec/fixture/app/views/check_box_specs/label.html.erb +1 -0
  96. data/spec/fixture/app/views/check_box_specs/on_off_is_boolean.html.erb +1 -0
  97. data/spec/fixture/app/views/check_box_specs/raise_unless_both_on_and_off.html.erb +2 -0
  98. data/spec/fixture/app/views/check_box_specs/raises_error_if_not_boolean.html.erb +1 -0
  99. data/spec/fixture/app/views/check_box_specs/raises_error_if_on_off_and_boolean_false.html.erb +1 -0
  100. data/spec/fixture/app/views/check_box_specs/simple.html.erb +1 -0
  101. data/spec/fixture/app/views/check_box_specs/to_string.html.erb +8 -0
  102. data/spec/fixture/app/views/check_box_specs/unchecked.html.erb +2 -0
  103. data/spec/fixture/app/views/custom_builder_specs/everything.html.erb +10 -0
  104. data/spec/fixture/app/views/delete_button_specs/delete_with_explicit_url.html.erb +1 -0
  105. data/spec/fixture/app/views/delete_button_specs/delete_with_extra_params.html.erb +1 -0
  106. data/spec/fixture/app/views/delete_button_specs/delete_with_label.html.erb +1 -0
  107. data/spec/fixture/app/views/delete_button_specs/simple_delete.html.erb +1 -0
  108. data/spec/fixture/app/views/exeptions/client_error.html.erb +37 -0
  109. data/spec/fixture/app/views/exeptions/internal_server_error.html.erb +216 -0
  110. data/spec/fixture/app/views/exeptions/not_acceptable.html.erb +38 -0
  111. data/spec/fixture/app/views/exeptions/not_found.html.erb +40 -0
  112. data/spec/fixture/app/views/fields_for_specs/basic.html.erb +3 -0
  113. data/spec/fixture/app/views/fields_for_specs/midstream.html.erb +7 -0
  114. data/spec/fixture/app/views/fields_for_specs/nil.html.erb +3 -0
  115. data/spec/fixture/app/views/fieldset_specs/legend.html.erb +3 -0
  116. data/spec/fixture/app/views/file_field_specs/disabled.html.erb +1 -0
  117. data/spec/fixture/app/views/file_field_specs/makes_multipart.html.erb +3 -0
  118. data/spec/fixture/app/views/file_field_specs/with_label.html.erb +1 -0
  119. data/spec/fixture/app/views/file_field_specs/with_values.html.erb +1 -0
  120. data/spec/fixture/app/views/foo/bar.html.erb +0 -0
  121. data/spec/fixture/app/views/form_for_specs/basic.html.erb +3 -0
  122. data/spec/fixture/app/views/form_specs/create_a_form.html.erb +3 -0
  123. data/spec/fixture/app/views/form_specs/create_a_multipart_form.html.erb +3 -0
  124. data/spec/fixture/app/views/form_specs/fake_delete_if_set.html.erb +3 -0
  125. data/spec/fixture/app/views/form_specs/fake_put_if_set.html.erb +3 -0
  126. data/spec/fixture/app/views/form_specs/get_if_set.html.erb +3 -0
  127. data/spec/fixture/app/views/form_specs/post_by_default.html.erb +3 -0
  128. data/spec/fixture/app/views/form_specs/resourceful_form.html.erb +3 -0
  129. data/spec/fixture/app/views/hidden_field_specs/basic.html.erb +1 -0
  130. data/spec/fixture/app/views/hidden_field_specs/disabled.html.erb +1 -0
  131. data/spec/fixture/app/views/hidden_field_specs/label.html.erb +1 -0
  132. data/spec/fixture/app/views/label_specs/basic.html.erb +1 -0
  133. data/spec/fixture/app/views/layout/application.html.erb +11 -0
  134. data/spec/fixture/app/views/numeric_ext_specs/minutes_to_hours.html.erb +1 -0
  135. data/spec/fixture/app/views/numeric_ext_specs/to_concurrency_default.html.erb +1 -0
  136. data/spec/fixture/app/views/numeric_ext_specs/two_digits.html.erb +1 -0
  137. data/spec/fixture/app/views/option_tag_specs/array.html.erb +1 -0
  138. data/spec/fixture/app/views/option_tag_specs/clean.html.erb +1 -0
  139. data/spec/fixture/app/views/option_tag_specs/collection.html.erb +1 -0
  140. data/spec/fixture/app/views/option_tag_specs/multiple_selects.html.erb +1 -0
  141. data/spec/fixture/app/views/option_tag_specs/no_extra_attributes.html.erb +1 -0
  142. data/spec/fixture/app/views/option_tag_specs/optgroups.html.erb +1 -0
  143. data/spec/fixture/app/views/option_tag_specs/selected.html.erb +1 -0
  144. data/spec/fixture/app/views/option_tag_specs/with_blank.html.erb +1 -0
  145. data/spec/fixture/app/views/option_tag_specs/with_prompt.html.erb +1 -0
  146. data/spec/fixture/app/views/password_field_specs/basic.html.erb +1 -0
  147. data/spec/fixture/app/views/password_field_specs/disabled.html.erb +1 -0
  148. data/spec/fixture/app/views/radio_button_specs/basic.html.erb +1 -0
  149. data/spec/fixture/app/views/radio_button_specs/disabled.html.erb +1 -0
  150. data/spec/fixture/app/views/radio_button_specs/label.html.erb +1 -0
  151. data/spec/fixture/app/views/radio_group_specs/attributes.html.erb +1 -0
  152. data/spec/fixture/app/views/radio_group_specs/basic.html.erb +1 -0
  153. data/spec/fixture/app/views/radio_group_specs/hash.html.erb +1 -0
  154. data/spec/fixture/app/views/radio_group_specs/specific_attributes.html.erb +1 -0
  155. data/spec/fixture/app/views/select_specs/blank.html.erb +1 -0
  156. data/spec/fixture/app/views/select_specs/multiple.html.erb +1 -0
  157. data/spec/fixture/app/views/submit_specs/disabled_submit.html.erb +1 -0
  158. data/spec/fixture/app/views/submit_specs/submit_with_label.html.erb +1 -0
  159. data/spec/fixture/app/views/submit_specs/submit_with_values.html.erb +1 -0
  160. data/spec/fixture/app/views/tag_helper/nested_tags.html.erb +5 -0
  161. data/spec/fixture/app/views/tag_helper/tag_with_attributes.html.erb +1 -0
  162. data/spec/fixture/app/views/tag_helper/tag_with_content.html.erb +1 -0
  163. data/spec/fixture/app/views/tag_helper/tag_with_content_in_the_block.html.erb +3 -0
  164. data/spec/fixture/app/views/text_area_specs/basic.html.erb +1 -0
  165. data/spec/fixture/app/views/text_area_specs/disabled.html.erb +1 -0
  166. data/spec/fixture/app/views/text_area_specs/label.html.erb +1 -0
  167. data/spec/fixture/app/views/text_area_specs/nil.html.erb +1 -0
  168. data/spec/fixture/app/views/text_field_specs/basic.html.erb +1 -0
  169. data/spec/fixture/app/views/text_field_specs/class.html.erb +1 -0
  170. data/spec/fixture/app/views/text_field_specs/disabled.html.erb +1 -0
  171. data/spec/fixture/app/views/text_field_specs/label.html.erb +1 -0
  172. data/spec/fixture/config/environments/development.rb +6 -0
  173. data/spec/fixture/config/environments/production.rb +5 -0
  174. data/spec/fixture/config/environments/test.rb +6 -0
  175. data/spec/fixture/config/init.rb +46 -0
  176. data/spec/fixture/config/rack.rb +11 -0
  177. data/spec/fixture/config/router.rb +36 -0
  178. data/spec/fixture/log/merb.main.pid +1 -0
  179. data/spec/fixture/log/merb_test.log +624 -0
  180. data/spec/fixture/public/images/merb.jpg +0 -0
  181. data/spec/fixture/public/merb.fcgi +4 -0
  182. data/spec/fixture/public/stylesheets/master.css +119 -0
  183. data/spec/merb_helpers_config_spec.rb +82 -0
  184. data/spec/merb_helpers_date_time_spec.rb +257 -0
  185. data/spec/merb_helpers_form_spec.rb +1266 -0
  186. data/spec/merb_helpers_tag_helper_spec.rb +46 -0
  187. data/spec/merb_helpers_text_spec.rb +67 -0
  188. data/spec/numeric_extlib_spec.rb +135 -0
  189. data/spec/ordinalize_spec.rb +51 -0
  190. data/spec/spec_helper.rb +149 -0
  191. data/spec/time_dsl_spec.rb +43 -0
  192. metadata +303 -0
@@ -0,0 +1,43 @@
1
+ require File.dirname(__FILE__) + '/spec_helper'
2
+
3
+ describe "TimeDSL" do
4
+ it "Should do second/seconds" do
5
+ 10.seconds.should == 10
6
+ 1.second.should == 1
7
+ end
8
+
9
+ it "Should do minute/minutes" do
10
+ 22.minutes.should == 22 * 60
11
+ 1.minute.should == 60
12
+ end
13
+
14
+ it "Should do hour/hours" do
15
+ 24.hours.should == 24 * 3600
16
+ 1.hour.should == 3600
17
+ end
18
+
19
+ it "Should do day/days" do
20
+ 7.days.should == 7 * 24 * 3600
21
+ 1.day.should == 24 * 3600
22
+ end
23
+
24
+ it "Should do month/months" do
25
+ 9.months.should == 9 * 30 * 24 * 3600
26
+ 1.month.should == 30 * 24 * 3600
27
+ end
28
+
29
+ it "Should do year/years" do
30
+ 3.years.should == 3 * 364.25 * 24 * 3600
31
+ 1.year.should == 364.25 * 24 * 3600
32
+ end
33
+
34
+ it "Should do ago/until" do
35
+ 5.seconds.ago.should be_close(Time.now - 5, 0.5)
36
+ 8.minutes.until(3.minute.from_now).should be_close(3.minutes.from_now - 8 * 60, 0.5)
37
+ end
38
+
39
+ it "Should do from_now/since" do
40
+ 3.seconds.from_now.should be_close(Time.now + 3, 0.5)
41
+ 2.minutes.since(2.minutes.ago).should be_close(2.minutes.ago + 2 * 60, 0.5)
42
+ end
43
+ end
metadata ADDED
@@ -0,0 +1,303 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: merb-helpers
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.9.8
5
+ platform: ruby
6
+ authors:
7
+ - Michael D. Ivey
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-10-06 00:00:00 +03:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: merb-core
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 0.9.8
24
+ version:
25
+ description: Helper support for Merb
26
+ email: ivey@gweezlebur.com
27
+ executables: []
28
+
29
+ extensions: []
30
+
31
+ extra_rdoc_files:
32
+ - README
33
+ - LICENSE
34
+ - TODO
35
+ files:
36
+ - LICENSE
37
+ - README
38
+ - Rakefile
39
+ - TODO
40
+ - lib/merb-helpers
41
+ - lib/merb-helpers/core_ext
42
+ - lib/merb-helpers/core_ext/numeric.rb
43
+ - lib/merb-helpers/core_ext.rb
44
+ - lib/merb-helpers/date_time_formatting.rb
45
+ - lib/merb-helpers/date_time_helpers.rb
46
+ - lib/merb-helpers/form
47
+ - lib/merb-helpers/form/builder.rb
48
+ - lib/merb-helpers/form/helpers.rb
49
+ - lib/merb-helpers/form_helpers.rb
50
+ - lib/merb-helpers/tag_helpers.rb
51
+ - lib/merb-helpers/text_helpers.rb
52
+ - lib/merb-helpers/time_dsl.rb
53
+ - lib/merb-helpers.rb
54
+ - spec/core_ext_spec.rb
55
+ - spec/fixture
56
+ - spec/fixture/app
57
+ - spec/fixture/app/controllers
58
+ - spec/fixture/app/controllers/application.rb
59
+ - spec/fixture/app/controllers/bound_check_box.rb
60
+ - spec/fixture/app/controllers/bound_file_field.rb
61
+ - spec/fixture/app/controllers/bound_hidden_field.rb
62
+ - spec/fixture/app/controllers/bound_option_tag.rb
63
+ - spec/fixture/app/controllers/bound_password_field.rb
64
+ - spec/fixture/app/controllers/bound_radio_button.rb
65
+ - spec/fixture/app/controllers/bound_radio_group.rb
66
+ - spec/fixture/app/controllers/bound_select.rb
67
+ - spec/fixture/app/controllers/bound_text_area.rb
68
+ - spec/fixture/app/controllers/bound_text_field.rb
69
+ - spec/fixture/app/controllers/button.rb
70
+ - spec/fixture/app/controllers/check_box.rb
71
+ - spec/fixture/app/controllers/custom_builder.rb
72
+ - spec/fixture/app/controllers/delete_button.rb
73
+ - spec/fixture/app/controllers/exceptions.rb
74
+ - spec/fixture/app/controllers/field_set.rb
75
+ - spec/fixture/app/controllers/fields_for.rb
76
+ - spec/fixture/app/controllers/file_field.rb
77
+ - spec/fixture/app/controllers/foo.rb
78
+ - spec/fixture/app/controllers/form.rb
79
+ - spec/fixture/app/controllers/form_for.rb
80
+ - spec/fixture/app/controllers/hidden_field.rb
81
+ - spec/fixture/app/controllers/label.rb
82
+ - spec/fixture/app/controllers/numeric_ext.rb
83
+ - spec/fixture/app/controllers/option_tag.rb
84
+ - spec/fixture/app/controllers/password_field.rb
85
+ - spec/fixture/app/controllers/radio_button.rb
86
+ - spec/fixture/app/controllers/radio_group.rb
87
+ - spec/fixture/app/controllers/select.rb
88
+ - spec/fixture/app/controllers/specs_controller.rb
89
+ - spec/fixture/app/controllers/submit.rb
90
+ - spec/fixture/app/controllers/tag_helper.rb
91
+ - spec/fixture/app/controllers/text_area.rb
92
+ - spec/fixture/app/controllers/text_field.rb
93
+ - spec/fixture/app/helpers
94
+ - spec/fixture/app/helpers/global_helpers.rb
95
+ - spec/fixture/app/models
96
+ - spec/fixture/app/models/fake_dm_model.rb
97
+ - spec/fixture/app/models/first_generic_fake_model.rb
98
+ - spec/fixture/app/models/second_generic_fake_model.rb
99
+ - spec/fixture/app/models/third_generic_fake_model.rb
100
+ - spec/fixture/app/views
101
+ - spec/fixture/app/views/bound_check_box_specs
102
+ - spec/fixture/app/views/bound_check_box_specs/basic.html.erb
103
+ - spec/fixture/app/views/bound_check_box_specs/checked.html.erb
104
+ - spec/fixture/app/views/bound_check_box_specs/errors.html.erb
105
+ - spec/fixture/app/views/bound_check_box_specs/label.html.erb
106
+ - spec/fixture/app/views/bound_check_box_specs/on_and_off.html.erb
107
+ - spec/fixture/app/views/bound_check_box_specs/raise_value_error.html.erb
108
+ - spec/fixture/app/views/bound_file_field_specs
109
+ - spec/fixture/app/views/bound_file_field_specs/additional_attributes.html.erb
110
+ - spec/fixture/app/views/bound_file_field_specs/takes_string.html.erb
111
+ - spec/fixture/app/views/bound_file_field_specs/with_label.html.erb
112
+ - spec/fixture/app/views/bound_hidden_field_specs
113
+ - spec/fixture/app/views/bound_hidden_field_specs/basic.html.erb
114
+ - spec/fixture/app/views/bound_hidden_field_specs/errors.html.erb
115
+ - spec/fixture/app/views/bound_hidden_field_specs/hidden_error.html.erb
116
+ - spec/fixture/app/views/bound_hidden_field_specs/label.html.erb
117
+ - spec/fixture/app/views/bound_option_tag_specs
118
+ - spec/fixture/app/views/bound_option_tag_specs/grouped.html.erb
119
+ - spec/fixture/app/views/bound_option_tag_specs/nested.html.erb
120
+ - spec/fixture/app/views/bound_option_tag_specs/text_and_value.html.erb
121
+ - spec/fixture/app/views/bound_password_field_specs
122
+ - spec/fixture/app/views/bound_password_field_specs/attributes.html.erb
123
+ - spec/fixture/app/views/bound_password_field_specs/basic.html.erb
124
+ - spec/fixture/app/views/bound_password_field_specs/label.html.erb
125
+ - spec/fixture/app/views/bound_radio_button_specs
126
+ - spec/fixture/app/views/bound_radio_button_specs/basic.html.erb
127
+ - spec/fixture/app/views/bound_radio_group_specs
128
+ - spec/fixture/app/views/bound_radio_group_specs/basic.html.erb
129
+ - spec/fixture/app/views/bound_radio_group_specs/hashes.html.erb
130
+ - spec/fixture/app/views/bound_radio_group_specs/mixed.html.erb
131
+ - spec/fixture/app/views/bound_radio_group_specs/override_id.html.erb
132
+ - spec/fixture/app/views/bound_select_specs
133
+ - spec/fixture/app/views/bound_select_specs/basic.html.erb
134
+ - spec/fixture/app/views/bound_select_specs/blank.html.erb
135
+ - spec/fixture/app/views/bound_select_specs/multiple.html.erb
136
+ - spec/fixture/app/views/bound_select_specs/prompt.html.erb
137
+ - spec/fixture/app/views/bound_select_specs/with_options.html.erb
138
+ - spec/fixture/app/views/bound_select_specs/with_options_with_blank.html.erb
139
+ - spec/fixture/app/views/bound_text_area_specs
140
+ - spec/fixture/app/views/bound_text_area_specs/basic.html.erb
141
+ - spec/fixture/app/views/bound_text_field_specs
142
+ - spec/fixture/app/views/bound_text_field_specs/basic.html.erb
143
+ - spec/fixture/app/views/button_specs
144
+ - spec/fixture/app/views/button_specs/button_with_label.html.erb
145
+ - spec/fixture/app/views/button_specs/button_with_values.html.erb
146
+ - spec/fixture/app/views/button_specs/disabled_button.html.erb
147
+ - spec/fixture/app/views/check_box_specs
148
+ - spec/fixture/app/views/check_box_specs/basic.html.erb
149
+ - spec/fixture/app/views/check_box_specs/boolean.html.erb
150
+ - spec/fixture/app/views/check_box_specs/disabled.html.erb
151
+ - spec/fixture/app/views/check_box_specs/label.html.erb
152
+ - spec/fixture/app/views/check_box_specs/on_off_is_boolean.html.erb
153
+ - spec/fixture/app/views/check_box_specs/raise_unless_both_on_and_off.html.erb
154
+ - spec/fixture/app/views/check_box_specs/raises_error_if_not_boolean.html.erb
155
+ - spec/fixture/app/views/check_box_specs/raises_error_if_on_off_and_boolean_false.html.erb
156
+ - spec/fixture/app/views/check_box_specs/simple.html.erb
157
+ - spec/fixture/app/views/check_box_specs/to_string.html.erb
158
+ - spec/fixture/app/views/check_box_specs/unchecked.html.erb
159
+ - spec/fixture/app/views/custom_builder_specs
160
+ - spec/fixture/app/views/custom_builder_specs/everything.html.erb
161
+ - spec/fixture/app/views/delete_button_specs
162
+ - spec/fixture/app/views/delete_button_specs/delete_with_explicit_url.html.erb
163
+ - spec/fixture/app/views/delete_button_specs/delete_with_extra_params.html.erb
164
+ - spec/fixture/app/views/delete_button_specs/delete_with_label.html.erb
165
+ - spec/fixture/app/views/delete_button_specs/simple_delete.html.erb
166
+ - spec/fixture/app/views/exeptions
167
+ - spec/fixture/app/views/exeptions/client_error.html.erb
168
+ - spec/fixture/app/views/exeptions/internal_server_error.html.erb
169
+ - spec/fixture/app/views/exeptions/not_acceptable.html.erb
170
+ - spec/fixture/app/views/exeptions/not_found.html.erb
171
+ - spec/fixture/app/views/fields_for_specs
172
+ - spec/fixture/app/views/fields_for_specs/basic.html.erb
173
+ - spec/fixture/app/views/fields_for_specs/midstream.html.erb
174
+ - spec/fixture/app/views/fields_for_specs/nil.html.erb
175
+ - spec/fixture/app/views/fieldset_specs
176
+ - spec/fixture/app/views/fieldset_specs/legend.html.erb
177
+ - spec/fixture/app/views/file_field_specs
178
+ - spec/fixture/app/views/file_field_specs/disabled.html.erb
179
+ - spec/fixture/app/views/file_field_specs/makes_multipart.html.erb
180
+ - spec/fixture/app/views/file_field_specs/with_label.html.erb
181
+ - spec/fixture/app/views/file_field_specs/with_values.html.erb
182
+ - spec/fixture/app/views/foo
183
+ - spec/fixture/app/views/foo/bar.html.erb
184
+ - spec/fixture/app/views/form_for_specs
185
+ - spec/fixture/app/views/form_for_specs/basic.html.erb
186
+ - spec/fixture/app/views/form_specs
187
+ - spec/fixture/app/views/form_specs/create_a_form.html.erb
188
+ - spec/fixture/app/views/form_specs/create_a_multipart_form.html.erb
189
+ - spec/fixture/app/views/form_specs/fake_delete_if_set.html.erb
190
+ - spec/fixture/app/views/form_specs/fake_put_if_set.html.erb
191
+ - spec/fixture/app/views/form_specs/get_if_set.html.erb
192
+ - spec/fixture/app/views/form_specs/post_by_default.html.erb
193
+ - spec/fixture/app/views/form_specs/resourceful_form.html.erb
194
+ - spec/fixture/app/views/hidden_field_specs
195
+ - spec/fixture/app/views/hidden_field_specs/basic.html.erb
196
+ - spec/fixture/app/views/hidden_field_specs/disabled.html.erb
197
+ - spec/fixture/app/views/hidden_field_specs/label.html.erb
198
+ - spec/fixture/app/views/label_specs
199
+ - spec/fixture/app/views/label_specs/basic.html.erb
200
+ - spec/fixture/app/views/layout
201
+ - spec/fixture/app/views/layout/application.html.erb
202
+ - spec/fixture/app/views/numeric_ext_specs
203
+ - spec/fixture/app/views/numeric_ext_specs/minutes_to_hours.html.erb
204
+ - spec/fixture/app/views/numeric_ext_specs/to_concurrency_default.html.erb
205
+ - spec/fixture/app/views/numeric_ext_specs/two_digits.html.erb
206
+ - spec/fixture/app/views/option_tag_specs
207
+ - spec/fixture/app/views/option_tag_specs/array.html.erb
208
+ - spec/fixture/app/views/option_tag_specs/clean.html.erb
209
+ - spec/fixture/app/views/option_tag_specs/collection.html.erb
210
+ - spec/fixture/app/views/option_tag_specs/multiple_selects.html.erb
211
+ - spec/fixture/app/views/option_tag_specs/no_extra_attributes.html.erb
212
+ - spec/fixture/app/views/option_tag_specs/optgroups.html.erb
213
+ - spec/fixture/app/views/option_tag_specs/selected.html.erb
214
+ - spec/fixture/app/views/option_tag_specs/with_blank.html.erb
215
+ - spec/fixture/app/views/option_tag_specs/with_prompt.html.erb
216
+ - spec/fixture/app/views/password_field_specs
217
+ - spec/fixture/app/views/password_field_specs/basic.html.erb
218
+ - spec/fixture/app/views/password_field_specs/disabled.html.erb
219
+ - spec/fixture/app/views/radio_button_specs
220
+ - spec/fixture/app/views/radio_button_specs/basic.html.erb
221
+ - spec/fixture/app/views/radio_button_specs/disabled.html.erb
222
+ - spec/fixture/app/views/radio_button_specs/label.html.erb
223
+ - spec/fixture/app/views/radio_group_specs
224
+ - spec/fixture/app/views/radio_group_specs/attributes.html.erb
225
+ - spec/fixture/app/views/radio_group_specs/basic.html.erb
226
+ - spec/fixture/app/views/radio_group_specs/hash.html.erb
227
+ - spec/fixture/app/views/radio_group_specs/specific_attributes.html.erb
228
+ - spec/fixture/app/views/select_specs
229
+ - spec/fixture/app/views/select_specs/blank.html.erb
230
+ - spec/fixture/app/views/select_specs/multiple.html.erb
231
+ - spec/fixture/app/views/submit_specs
232
+ - spec/fixture/app/views/submit_specs/disabled_submit.html.erb
233
+ - spec/fixture/app/views/submit_specs/submit_with_label.html.erb
234
+ - spec/fixture/app/views/submit_specs/submit_with_values.html.erb
235
+ - spec/fixture/app/views/tag_helper
236
+ - spec/fixture/app/views/tag_helper/nested_tags.html.erb
237
+ - spec/fixture/app/views/tag_helper/tag_with_attributes.html.erb
238
+ - spec/fixture/app/views/tag_helper/tag_with_content.html.erb
239
+ - spec/fixture/app/views/tag_helper/tag_with_content_in_the_block.html.erb
240
+ - spec/fixture/app/views/text_area_specs
241
+ - spec/fixture/app/views/text_area_specs/basic.html.erb
242
+ - spec/fixture/app/views/text_area_specs/disabled.html.erb
243
+ - spec/fixture/app/views/text_area_specs/label.html.erb
244
+ - spec/fixture/app/views/text_area_specs/nil.html.erb
245
+ - spec/fixture/app/views/text_field_specs
246
+ - spec/fixture/app/views/text_field_specs/basic.html.erb
247
+ - spec/fixture/app/views/text_field_specs/class.html.erb
248
+ - spec/fixture/app/views/text_field_specs/disabled.html.erb
249
+ - spec/fixture/app/views/text_field_specs/label.html.erb
250
+ - spec/fixture/config
251
+ - spec/fixture/config/environments
252
+ - spec/fixture/config/environments/development.rb
253
+ - spec/fixture/config/environments/production.rb
254
+ - spec/fixture/config/environments/test.rb
255
+ - spec/fixture/config/init.rb
256
+ - spec/fixture/config/rack.rb
257
+ - spec/fixture/config/router.rb
258
+ - spec/fixture/log
259
+ - spec/fixture/log/merb.main.pid
260
+ - spec/fixture/log/merb_test.log
261
+ - spec/fixture/public
262
+ - spec/fixture/public/images
263
+ - spec/fixture/public/images/merb.jpg
264
+ - spec/fixture/public/merb.fcgi
265
+ - spec/fixture/public/stylesheets
266
+ - spec/fixture/public/stylesheets/master.css
267
+ - spec/merb_helpers_config_spec.rb
268
+ - spec/merb_helpers_date_time_spec.rb
269
+ - spec/merb_helpers_form_spec.rb
270
+ - spec/merb_helpers_tag_helper_spec.rb
271
+ - spec/merb_helpers_text_spec.rb
272
+ - spec/numeric_extlib_spec.rb
273
+ - spec/ordinalize_spec.rb
274
+ - spec/spec_helper.rb
275
+ - spec/time_dsl_spec.rb
276
+ has_rdoc: true
277
+ homepage: http://merbivore.com
278
+ post_install_message:
279
+ rdoc_options: []
280
+
281
+ require_paths:
282
+ - lib
283
+ required_ruby_version: !ruby/object:Gem::Requirement
284
+ requirements:
285
+ - - ">="
286
+ - !ruby/object:Gem::Version
287
+ version: "0"
288
+ version:
289
+ required_rubygems_version: !ruby/object:Gem::Requirement
290
+ requirements:
291
+ - - ">="
292
+ - !ruby/object:Gem::Version
293
+ version: "0"
294
+ version:
295
+ requirements: []
296
+
297
+ rubyforge_project: merb
298
+ rubygems_version: 1.2.0
299
+ signing_key:
300
+ specification_version: 2
301
+ summary: Helper support for Merb
302
+ test_files: []
303
+