ghazel-erubis_rails_helper 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. data/README.rdoc +66 -0
  2. data/lib/erubis_rails_helper/erubis/generator.rb +100 -0
  3. data/lib/erubis_rails_helper/template_handlers/erubis.rb +260 -0
  4. data/lib/erubis_rails_helper.rb +20 -0
  5. data/test/abstract_unit.rb +51 -0
  6. data/test/controller/action_pack_assertions_test.rb +516 -0
  7. data/test/controller/addresses_render_test.rb +37 -0
  8. data/test/controller/assert_select_test.rb +734 -0
  9. data/test/controller/base_test.rb +217 -0
  10. data/test/controller/benchmark_test.rb +32 -0
  11. data/test/controller/caching_test.rb +690 -0
  12. data/test/controller/capture_test.rb +66 -0
  13. data/test/controller/content_type_test.rb +168 -0
  14. data/test/controller/controller_fixtures/app/controllers/admin/user_controller.rb +0 -0
  15. data/test/controller/controller_fixtures/app/controllers/user_controller.rb +0 -0
  16. data/test/controller/controller_fixtures/vendor/plugins/bad_plugin/lib/plugin_controller.rb +0 -0
  17. data/test/controller/cookie_test.rb +111 -0
  18. data/test/controller/deprecation/deprecated_base_methods_test.rb +32 -0
  19. data/test/controller/dispatcher_test.rb +103 -0
  20. data/test/controller/fake_controllers.rb +33 -0
  21. data/test/controller/fake_models.rb +19 -0
  22. data/test/controller/filter_params_test.rb +49 -0
  23. data/test/controller/filters_test.rb +885 -0
  24. data/test/controller/flash_test.rb +142 -0
  25. data/test/controller/header_test.rb +14 -0
  26. data/test/controller/helper_test.rb +224 -0
  27. data/test/controller/html-scanner/cdata_node_test.rb +15 -0
  28. data/test/controller/html-scanner/document_test.rb +148 -0
  29. data/test/controller/html-scanner/node_test.rb +89 -0
  30. data/test/controller/html-scanner/sanitizer_test.rb +273 -0
  31. data/test/controller/html-scanner/tag_node_test.rb +238 -0
  32. data/test/controller/html-scanner/text_node_test.rb +50 -0
  33. data/test/controller/html-scanner/tokenizer_test.rb +131 -0
  34. data/test/controller/http_basic_authentication_test.rb +88 -0
  35. data/test/controller/http_digest_authentication_test.rb +178 -0
  36. data/test/controller/integration_test.rb +417 -0
  37. data/test/controller/layout_test.rb +204 -0
  38. data/test/controller/logging_test.rb +46 -0
  39. data/test/controller/middleware_stack_test.rb +90 -0
  40. data/test/controller/mime_responds_test.rb +536 -0
  41. data/test/controller/mime_type_test.rb +93 -0
  42. data/test/controller/polymorphic_routes_test.rb +293 -0
  43. data/test/controller/rack_test.rb +294 -0
  44. data/test/controller/record_identifier_test.rb +139 -0
  45. data/test/controller/redirect_test.rb +282 -0
  46. data/test/controller/render_test.rb +1752 -0
  47. data/test/controller/request/json_params_parsing_test.rb +45 -0
  48. data/test/controller/request/multipart_params_parsing_test.rb +223 -0
  49. data/test/controller/request/query_string_parsing_test.rb +120 -0
  50. data/test/controller/request/url_encoded_params_parsing_test.rb +184 -0
  51. data/test/controller/request/xml_params_parsing_test.rb +88 -0
  52. data/test/controller/request_forgery_protection_test.rb +246 -0
  53. data/test/controller/request_test.rb +407 -0
  54. data/test/controller/rescue_test.rb +536 -0
  55. data/test/controller/resources_test.rb +1341 -0
  56. data/test/controller/routing_test.rb +2557 -0
  57. data/test/controller/selector_test.rb +628 -0
  58. data/test/controller/send_file_test.rb +161 -0
  59. data/test/controller/session/cookie_store_test.rb +239 -0
  60. data/test/controller/session/mem_cache_store_test.rb +127 -0
  61. data/test/controller/session/test_session_test.rb +58 -0
  62. data/test/controller/test_test.rb +692 -0
  63. data/test/controller/translation_test.rb +26 -0
  64. data/test/controller/url_rewriter_test.rb +359 -0
  65. data/test/controller/verification_test.rb +270 -0
  66. data/test/controller/view_paths_test.rb +141 -0
  67. data/test/controller/webservice_test.rb +260 -0
  68. data/test/fixtures/alternate_helpers/foo_helper.rb +3 -0
  69. data/test/fixtures/company.rb +10 -0
  70. data/test/fixtures/developer.rb +9 -0
  71. data/test/fixtures/helpers/abc_helper.rb +5 -0
  72. data/test/fixtures/helpers/fun/games_helper.rb +3 -0
  73. data/test/fixtures/helpers/fun/pdf_helper.rb +3 -0
  74. data/test/fixtures/mascot.rb +3 -0
  75. data/test/fixtures/project.rb +3 -0
  76. data/test/fixtures/reply.rb +7 -0
  77. data/test/fixtures/topic.rb +3 -0
  78. data/test/template/asset_tag_helper_test.rb +713 -0
  79. data/test/template/atom_feed_helper_test.rb +286 -0
  80. data/test/template/benchmark_helper_test.rb +86 -0
  81. data/test/template/compiled_templates_test.rb +203 -0
  82. data/test/template/date_helper_i18n_test.rb +120 -0
  83. data/test/template/date_helper_test.rb +2469 -0
  84. data/test/template/erb_util_test.rb +24 -0
  85. data/test/template/form_helper_test.rb +1176 -0
  86. data/test/template/form_options_helper_test.rb +751 -0
  87. data/test/template/form_tag_helper_test.rb +327 -0
  88. data/test/template/javascript_helper_test.rb +106 -0
  89. data/test/template/number_helper_i18n_test.rb +69 -0
  90. data/test/template/number_helper_test.rb +128 -0
  91. data/test/template/prototype_helper_test.rb +639 -0
  92. data/test/template/record_tag_helper_test.rb +58 -0
  93. data/test/template/render_test.rb +291 -0
  94. data/test/template/sanitize_helper_test.rb +48 -0
  95. data/test/template/scriptaculous_helper_test.rb +90 -0
  96. data/test/template/tag_helper_test.rb +97 -0
  97. data/test/template/test_test.rb +54 -0
  98. data/test/template/text_helper_test.rb +520 -0
  99. data/test/template/translation_helper_test.rb +32 -0
  100. data/test/template/url_helper_test.rb +614 -0
  101. data/test/test_erubis_rails_helper.rb +4 -0
  102. data/test/testing_sandbox.rb +15 -0
  103. data/test/view/test_case_test.rb +8 -0
  104. metadata +174 -0
metadata ADDED
@@ -0,0 +1,174 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ghazel-erubis_rails_helper
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.9.5
5
+ platform: ruby
6
+ authors:
7
+ - Dave Elkins
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-06-19 00:00:00 -07:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: actionpack
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 2.2.2
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: erubis
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 2.6.2
34
+ version:
35
+ description: Drop in replacement for the Rails integration in the Erubis gem so that Erubis will work with Rails 2.3.
36
+ email: dave@elkinsware.com
37
+ executables: []
38
+
39
+ extensions: []
40
+
41
+ extra_rdoc_files:
42
+ - README.rdoc
43
+ files:
44
+ - lib/erubis_rails_helper.rb
45
+ - lib/erubis_rails_helper/erubis/generator.rb
46
+ - lib/erubis_rails_helper/template_handlers/erubis.rb
47
+ - README.rdoc
48
+ has_rdoc: true
49
+ homepage: http://github.com/elkinsware/erubis_rails_helper/tree/master
50
+ licenses:
51
+ post_install_message:
52
+ rdoc_options:
53
+ - --charset=UTF-8
54
+ require_paths:
55
+ - lib
56
+ required_ruby_version: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: "0"
61
+ version:
62
+ required_rubygems_version: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: "0"
67
+ version:
68
+ requirements: []
69
+
70
+ rubyforge_project:
71
+ rubygems_version: 1.3.5
72
+ signing_key:
73
+ specification_version: 2
74
+ summary: Drop in replacement for the Rails integration in the Erubis gem so that Erubis will work with Rails 2.3.
75
+ test_files:
76
+ - test/abstract_unit.rb
77
+ - test/controller/action_pack_assertions_test.rb
78
+ - test/controller/addresses_render_test.rb
79
+ - test/controller/assert_select_test.rb
80
+ - test/controller/base_test.rb
81
+ - test/controller/benchmark_test.rb
82
+ - test/controller/caching_test.rb
83
+ - test/controller/capture_test.rb
84
+ - test/controller/content_type_test.rb
85
+ - test/controller/controller_fixtures/app/controllers/admin/user_controller.rb
86
+ - test/controller/controller_fixtures/app/controllers/user_controller.rb
87
+ - test/controller/controller_fixtures/vendor/plugins/bad_plugin/lib/plugin_controller.rb
88
+ - test/controller/cookie_test.rb
89
+ - test/controller/deprecation/deprecated_base_methods_test.rb
90
+ - test/controller/dispatcher_test.rb
91
+ - test/controller/fake_controllers.rb
92
+ - test/controller/fake_models.rb
93
+ - test/controller/filters_test.rb
94
+ - test/controller/filter_params_test.rb
95
+ - test/controller/flash_test.rb
96
+ - test/controller/header_test.rb
97
+ - test/controller/helper_test.rb
98
+ - test/controller/html-scanner/cdata_node_test.rb
99
+ - test/controller/html-scanner/document_test.rb
100
+ - test/controller/html-scanner/node_test.rb
101
+ - test/controller/html-scanner/sanitizer_test.rb
102
+ - test/controller/html-scanner/tag_node_test.rb
103
+ - test/controller/html-scanner/text_node_test.rb
104
+ - test/controller/html-scanner/tokenizer_test.rb
105
+ - test/controller/http_basic_authentication_test.rb
106
+ - test/controller/http_digest_authentication_test.rb
107
+ - test/controller/integration_test.rb
108
+ - test/controller/layout_test.rb
109
+ - test/controller/logging_test.rb
110
+ - test/controller/middleware_stack_test.rb
111
+ - test/controller/mime_responds_test.rb
112
+ - test/controller/mime_type_test.rb
113
+ - test/controller/polymorphic_routes_test.rb
114
+ - test/controller/rack_test.rb
115
+ - test/controller/record_identifier_test.rb
116
+ - test/controller/redirect_test.rb
117
+ - test/controller/render_test.rb
118
+ - test/controller/request/json_params_parsing_test.rb
119
+ - test/controller/request/multipart_params_parsing_test.rb
120
+ - test/controller/request/query_string_parsing_test.rb
121
+ - test/controller/request/url_encoded_params_parsing_test.rb
122
+ - test/controller/request/xml_params_parsing_test.rb
123
+ - test/controller/request_forgery_protection_test.rb
124
+ - test/controller/request_test.rb
125
+ - test/controller/rescue_test.rb
126
+ - test/controller/resources_test.rb
127
+ - test/controller/routing_test.rb
128
+ - test/controller/selector_test.rb
129
+ - test/controller/send_file_test.rb
130
+ - test/controller/session/cookie_store_test.rb
131
+ - test/controller/session/mem_cache_store_test.rb
132
+ - test/controller/session/test_session_test.rb
133
+ - test/controller/test_test.rb
134
+ - test/controller/translation_test.rb
135
+ - test/controller/url_rewriter_test.rb
136
+ - test/controller/verification_test.rb
137
+ - test/controller/view_paths_test.rb
138
+ - test/controller/webservice_test.rb
139
+ - test/fixtures/alternate_helpers/foo_helper.rb
140
+ - test/fixtures/company.rb
141
+ - test/fixtures/developer.rb
142
+ - test/fixtures/helpers/abc_helper.rb
143
+ - test/fixtures/helpers/fun/games_helper.rb
144
+ - test/fixtures/helpers/fun/pdf_helper.rb
145
+ - test/fixtures/mascot.rb
146
+ - test/fixtures/project.rb
147
+ - test/fixtures/reply.rb
148
+ - test/fixtures/topic.rb
149
+ - test/template/asset_tag_helper_test.rb
150
+ - test/template/atom_feed_helper_test.rb
151
+ - test/template/benchmark_helper_test.rb
152
+ - test/template/compiled_templates_test.rb
153
+ - test/template/date_helper_i18n_test.rb
154
+ - test/template/date_helper_test.rb
155
+ - test/template/erb_util_test.rb
156
+ - test/template/form_helper_test.rb
157
+ - test/template/form_options_helper_test.rb
158
+ - test/template/form_tag_helper_test.rb
159
+ - test/template/javascript_helper_test.rb
160
+ - test/template/number_helper_i18n_test.rb
161
+ - test/template/number_helper_test.rb
162
+ - test/template/prototype_helper_test.rb
163
+ - test/template/record_tag_helper_test.rb
164
+ - test/template/render_test.rb
165
+ - test/template/sanitize_helper_test.rb
166
+ - test/template/scriptaculous_helper_test.rb
167
+ - test/template/tag_helper_test.rb
168
+ - test/template/test_test.rb
169
+ - test/template/text_helper_test.rb
170
+ - test/template/translation_helper_test.rb
171
+ - test/template/url_helper_test.rb
172
+ - test/testing_sandbox.rb
173
+ - test/test_erubis_rails_helper.rb
174
+ - test/view/test_case_test.rb