rad_core 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (258) hide show
  1. data/Rakefile +10 -0
  2. data/lib/rad/controller/abstract_controller/micelaneous.rb +31 -0
  3. data/lib/rad/controller/abstract_controller/render.rb +160 -0
  4. data/lib/rad/controller/abstract_controller/responder.rb +17 -0
  5. data/lib/rad/controller/abstract_controller.rb +64 -0
  6. data/lib/rad/controller/controller_context.rb +15 -0
  7. data/lib/rad/controller/http_controller.rb +48 -0
  8. data/lib/rad/controller/processors/controller_caller.rb +28 -0
  9. data/lib/rad/controller/processors/controller_error_handling.rb +51 -0
  10. data/lib/rad/controller/processors/controller_logger.rb +12 -0
  11. data/lib/rad/controller.rb +28 -0
  12. data/lib/rad/conveyor/conveyor.rb +74 -0
  13. data/lib/rad/conveyor/conveyors.rb +20 -0
  14. data/lib/rad/conveyor/params.rb +14 -0
  15. data/lib/rad/conveyor/processor.rb +68 -0
  16. data/lib/rad/conveyor/processors/conveyor_logger.rb +25 -0
  17. data/lib/rad/conveyor/workspace.rb +36 -0
  18. data/lib/rad/conveyor.rb +29 -0
  19. data/lib/rad/environment/config.rb +111 -0
  20. data/lib/rad/environment/dependency_resolver.rb +107 -0
  21. data/lib/rad/environment/environment.rb +29 -0
  22. data/lib/rad/environment/files_helper.rb +55 -0
  23. data/lib/rad/environment/logger.rb +21 -0
  24. data/lib/rad/environment.rb +55 -0
  25. data/lib/rad/html/flash.rb +42 -0
  26. data/lib/rad/html/helpers/basic_html_helper.rb +83 -0
  27. data/lib/rad/html/helpers/flash_helper.rb +5 -0
  28. data/lib/rad/html/helpers/form_helper.rb +115 -0
  29. data/lib/rad/html/helpers/html_helper.rb +5 -0
  30. data/lib/rad/html/helpers/javascript_helper.rb +18 -0
  31. data/lib/rad/html/helpers/model_helper.rb +135 -0
  32. data/lib/rad/html/include_into_controller.rb +0 -0
  33. data/lib/rad/html/processors/prepare_flash.rb +26 -0
  34. data/lib/rad/html/processors/scoped_params.rb +26 -0
  35. data/lib/rad/html.rb +26 -0
  36. data/lib/rad/http/http.rb +21 -0
  37. data/lib/rad/http/http_adapter.rb +36 -0
  38. data/lib/rad/http/middleware/static_files.rb +21 -0
  39. data/lib/rad/http/processors/evaluate_format.rb +22 -0
  40. data/lib/rad/http/processors/http_logger.rb +15 -0
  41. data/lib/rad/http/processors/http_writer.rb +30 -0
  42. data/lib/rad/http/processors/prepare_params.rb +22 -0
  43. data/lib/rad/http/support/rack/fixes.rb +36 -0
  44. data/lib/rad/http/support/rack/rack_adapter.rb +67 -0
  45. data/lib/rad/http/support/rack/request.rb +42 -0
  46. data/lib/rad/http/support/rack/response.rb +86 -0
  47. data/lib/rad/http.rb +48 -0
  48. data/lib/rad/integration/controller_micelaneous_helper.rb +19 -0
  49. data/lib/rad/integration/router/abstract_routing_helper.rb +22 -0
  50. data/lib/rad/integration/router/controller_routing_helper.rb +58 -0
  51. data/lib/rad/integration/router/view_routing_helper.rb +104 -0
  52. data/lib/rad/integration.rb +30 -0
  53. data/lib/rad/mail/letter.rb +30 -0
  54. data/lib/rad/mail/mail_controller.rb +31 -0
  55. data/lib/rad/mail/mailer.rb +23 -0
  56. data/lib/rad/mail/processors/letter_builder.rb +36 -0
  57. data/lib/rad/mail.rb +15 -0
  58. data/lib/rad/profiles/mail.rb +16 -0
  59. data/lib/rad/profiles/web.rb +68 -0
  60. data/lib/rad/profiles/web_require.rb +5 -0
  61. data/lib/rad/remote/processors/remote_caller.rb +54 -0
  62. data/lib/rad/remote/processors/remote_logger.rb +13 -0
  63. data/lib/rad/remote/remote.rb +15 -0
  64. data/lib/rad/remote.rb +9 -0
  65. data/lib/rad/router/core/configurator.rb +25 -0
  66. data/lib/rad/router/core/core_routing_helper.rb +41 -0
  67. data/lib/rad/router/core/default_format_processor.rb +12 -0
  68. data/lib/rad/router/core/processors/router.rb +29 -0
  69. data/lib/rad/router/core/router.rb +271 -0
  70. data/lib/rad/router/core/simple_router.rb +23 -0
  71. data/lib/rad/router/routers/abstract_router.rb +62 -0
  72. data/lib/rad/router/routers/alias_router.rb +113 -0
  73. data/lib/rad/router/routers/restful_router.rb +113 -0
  74. data/lib/rad/router.rb +29 -0
  75. data/lib/rad/spec/controller.rb +41 -0
  76. data/lib/rad/spec/environment.rb +51 -0
  77. data/lib/rad/spec/http.rb +93 -0
  78. data/lib/rad/spec/mail.rb +31 -0
  79. data/lib/rad/spec/remote.rb +9 -0
  80. data/lib/rad/spec/router.rb +18 -0
  81. data/lib/rad/spec/template.rb +12 -0
  82. data/lib/rad/spec/view.rb +10 -0
  83. data/lib/rad/spec/xhtml.rb +33 -0
  84. data/lib/rad/spec.rb +11 -0
  85. data/lib/rad/support/active_support/locales/en/actionpack.yml +154 -0
  86. data/lib/rad/support/active_support/locales/en/activesupport.yml +36 -0
  87. data/lib/rad/support/active_support/micelaneous.rb +2 -0
  88. data/lib/rad/support/active_support/time.rb +105 -0
  89. data/lib/rad/support/active_support.rb +49 -0
  90. data/lib/rad/support/addressable.rb +45 -0
  91. data/lib/rad/support/buffered_logger.rb +44 -0
  92. data/lib/rad/support/callbacks.rb +168 -0
  93. data/lib/rad/support/exception.rb +31 -0
  94. data/lib/rad/support/filters.rb +34 -0
  95. data/lib/rad/support/format.rb +17 -0
  96. data/lib/rad/support/hacks_and_fixes.rb +23 -0
  97. data/lib/rad/support/micon.rb +13 -0
  98. data/lib/rad/support/mime.rb +13 -0
  99. data/lib/rad/support/module.rb +48 -0
  100. data/lib/rad/support/rson.rb +53 -0
  101. data/lib/rad/support/ruby_ext_with_active_support.rb +4 -0
  102. data/lib/rad/support/string.rb +26 -0
  103. data/lib/rad/support.rb +63 -0
  104. data/lib/rad/template/support/tilt.rb +68 -0
  105. data/lib/rad/template/support/tilt_fixes.rb +17 -0
  106. data/lib/rad/template/template.rb +250 -0
  107. data/lib/rad/template/template_context.rb +62 -0
  108. data/lib/rad/template.rb +25 -0
  109. data/lib/rad_core/gems.rb +31 -0
  110. data/readme.md +33 -0
  111. data/spec/controller/abstract_controller_spec/views/OperationsOrderSpec/action.erb +1 -0
  112. data/spec/controller/abstract_controller_spec/views/ViewVariablesSpec/action.erb +11 -0
  113. data/spec/controller/abstract_controller_spec.rb +132 -0
  114. data/spec/controller/controller_context_spec/views/ItemSpec/actions.erb +4 -0
  115. data/spec/controller/controller_context_spec/views/ItemSpec/show.erb +0 -0
  116. data/spec/controller/controller_context_spec/views/ItemSpec/update.erb +0 -0
  117. data/spec/controller/controller_context_spec/views/NamespaceSpec/ClassSpec/show.erb +0 -0
  118. data/spec/controller/controller_context_spec/views/PageSpec/actions.erb +3 -0
  119. data/spec/controller/controller_context_spec/views/PageSpec/show.erb +0 -0
  120. data/spec/controller/controller_context_spec/views/namespace_spec/class_spec/update.erb +0 -0
  121. data/spec/controller/controller_context_spec.rb +123 -0
  122. data/spec/controller/controller_helper_spec/views/HelperMethodSpec/action.erb +1 -0
  123. data/spec/controller/controller_helper_spec/views/HelperSpec/action.erb +1 -0
  124. data/spec/controller/controller_helper_spec.rb +53 -0
  125. data/spec/controller/controller_render_spec/views/AlreadyRenderedSpec/action.erb +1 -0
  126. data/spec/controller/controller_render_spec/views/AlreadyRenderedSpec/custom_template.erb +1 -0
  127. data/spec/controller/controller_render_spec/views/AnotherActionSpec/another_action.erb +1 -0
  128. data/spec/controller/controller_render_spec/views/AnotherLayout/action.erb +1 -0
  129. data/spec/controller/controller_render_spec/views/ForbidPartialAsActionSpec/_action.erb +1 -0
  130. data/spec/controller/controller_render_spec/views/FormatSpec/action.html.erb +1 -0
  131. data/spec/controller/controller_render_spec/views/FormatSpec/action.js.erb +1 -0
  132. data/spec/controller/controller_render_spec/views/LayoutFiltersSpec/action_with_layout.erb +1 -0
  133. data/spec/controller/controller_render_spec/views/LayoutFiltersSpec/action_without_layout.erb +1 -0
  134. data/spec/controller/controller_render_spec/views/LayoutSpec/action.erb +1 -0
  135. data/spec/controller/controller_render_spec/views/MultipleActions/actions.haml +7 -0
  136. data/spec/controller/controller_render_spec/views/layouts/admin.erb +1 -0
  137. data/spec/controller/controller_render_spec/views/layouts/app.html.erb +1 -0
  138. data/spec/controller/controller_render_spec/views/layouts/app.js.erb +1 -0
  139. data/spec/controller/controller_render_spec/views/rem ExplicitRenderSpec/action.erb +1 -0
  140. data/spec/controller/controller_render_spec/views/rem ExplicitRenderSpec/another_action.erb +1 -0
  141. data/spec/controller/controller_render_spec/views/some_template.erb +1 -0
  142. data/spec/controller/controller_render_spec/views/standalone.html.erb +1 -0
  143. data/spec/controller/controller_render_spec.rb +217 -0
  144. data/spec/controller/error_handling_spec/views/diferrent_error_handling_spec/a.erb +1 -0
  145. data/spec/controller/error_handling_spec/views/diferrent_error_handling_spec/b.erb +1 -0
  146. data/spec/controller/error_handling_spec/views/diferrent_error_handling_spec/c.erb +1 -0
  147. data/spec/controller/error_handling_spec.rb +117 -0
  148. data/spec/controller/http_controller_spec.rb +130 -0
  149. data/spec/controller/spec_helper.rb +19 -0
  150. data/spec/conveyor/conveyor_spec.rb +124 -0
  151. data/spec/conveyor/spec_helper.rb +3 -0
  152. data/spec/environment/config_spec/config.default.yml +3 -0
  153. data/spec/environment/config_spec/config.development.yml +3 -0
  154. data/spec/environment/config_spec/config.yml +5 -0
  155. data/spec/environment/config_spec.rb +30 -0
  156. data/spec/environment/environment_spec/path1/file1 +0 -0
  157. data/spec/environment/environment_spec/path1/some_folder/some_file +0 -0
  158. data/spec/environment/environment_spec/path2/file2 +0 -0
  159. data/spec/environment/environment_spec/path2/some_folder/some_file +0 -0
  160. data/spec/environment/environment_spec.rb +65 -0
  161. data/spec/environment/logger_spec.rb +19 -0
  162. data/spec/environment/minimal_app_spec/app.rb +1 -0
  163. data/spec/environment/minimal_app_spec.rb +25 -0
  164. data/spec/environment/spec_helper.rb +1 -0
  165. data/spec/environment/standard_app_spec/app/lib/app/init.rb +3 -0
  166. data/spec/environment/standard_app_spec/plugin_a/lib/plugin_a/init.rb +1 -0
  167. data/spec/environment/standard_app_spec/plugin_b/lib/emptygit +0 -0
  168. data/spec/environment/standard_app_spec.rb +48 -0
  169. data/spec/html/basic_html_helper_spec.rb +29 -0
  170. data/spec/html/form_helper_spec.rb +63 -0
  171. data/spec/html/javascript_helper_spec.rb +15 -0
  172. data/spec/html/model_helper_spec.rb +81 -0
  173. data/spec/html/scoped_params_spec.rb +15 -0
  174. data/spec/html/spec_helper.rb +28 -0
  175. data/spec/http/http_spec/app/lib/app/init.rb +10 -0
  176. data/spec/http/http_spec/app/runtime/public/emptygit +0 -0
  177. data/spec/http/http_spec/plugin_a/lib/plugin_a/init.rb +0 -0
  178. data/spec/http/http_spec/plugin_b/lib/plugin_b/init.rb +5 -0
  179. data/spec/http/http_spec/plugin_b/static/emptygit +0 -0
  180. data/spec/http/http_spec.rb +51 -0
  181. data/spec/http/micelaneous_spec.rb +13 -0
  182. data/spec/http/spec_helper.rb +5 -0
  183. data/spec/integration/basic_spec/views/smoke_test_spec/action.erb +1 -0
  184. data/spec/integration/basic_spec.rb +79 -0
  185. data/spec/integration/controller_routing_helper_spec.rb +84 -0
  186. data/spec/integration/flash_spec.rb +206 -0
  187. data/spec/integration/spec_helper.rb +5 -0
  188. data/spec/integration/spec_helper_spec.rb +63 -0
  189. data/spec/integration/view_routing_helper_spec.rb +134 -0
  190. data/spec/mail/mail_controller_spec/views/body_template_spec/signup.erb +1 -0
  191. data/spec/mail/mail_controller_spec.rb +61 -0
  192. data/spec/mail/spec_helper.rb +7 -0
  193. data/spec/remote/remote_spec.rb +75 -0
  194. data/spec/remote/spec_helper.rb +17 -0
  195. data/spec/router/alias_router_spec.rb +98 -0
  196. data/spec/router/basic_spec.rb +111 -0
  197. data/spec/router/configurator_spec.rb +18 -0
  198. data/spec/router/integration_spec.rb +42 -0
  199. data/spec/router/persistent_params_spec.rb +65 -0
  200. data/spec/router/restful_router_spec.rb +120 -0
  201. data/spec/router/routing_helper_spec.rb +55 -0
  202. data/spec/router/spec_helper.rb +20 -0
  203. data/spec/support/callbacks_spec.rb +157 -0
  204. data/spec/support/filters_spec.rb +60 -0
  205. data/spec/support/spec_helper.rb +4 -0
  206. data/spec/template/spec_helper.rb +6 -0
  207. data/spec/template/template_spec/file.erb +1 -0
  208. data/spec/template/template_spec/views/basic/custom_context.erb +1 -0
  209. data/spec/template/template_spec/views/basic/extension.erb +1 -0
  210. data/spec/template/template_spec/views/basic/general.html.erb +5 -0
  211. data/spec/template/template_spec/views/basic/non_existing_format.html.erb +0 -0
  212. data/spec/template/template_spec/views/format/format.erb +1 -0
  213. data/spec/template/template_spec/views/format/format.html.erb +1 -0
  214. data/spec/template/template_spec/views/format/format.js.erb +1 -0
  215. data/spec/template/template_spec/views/format_for_partials/_form.html.erb +1 -0
  216. data/spec/template/template_spec/views/format_for_partials/dialog.js.erb +1 -0
  217. data/spec/template/template_spec/views/layout/basic/content.erb +1 -0
  218. data/spec/template/template_spec/views/layout/basic/layout.erb +1 -0
  219. data/spec/template/template_spec/views/layout/content_for/content.erb +3 -0
  220. data/spec/template/template_spec/views/layout/content_for/layout.erb +3 -0
  221. data/spec/template/template_spec/views/layout/format/content.html.erb +1 -0
  222. data/spec/template/template_spec/views/layout/format/content.js.erb +1 -0
  223. data/spec/template/template_spec/views/layout/format/layout.html.erb +1 -0
  224. data/spec/template/template_spec/views/layout/format/layout.js.erb +1 -0
  225. data/spec/template/template_spec/views/layout/nested_yield/a.erb +1 -0
  226. data/spec/template/template_spec/views/layout/nested_yield/layout.erb +1 -0
  227. data/spec/template/template_spec/views/layout/nested_yield/layout_b.erb +1 -0
  228. data/spec/template/template_spec/views/layout/same_context/a.erb +1 -0
  229. data/spec/template/template_spec/views/layout/same_context/b.erb +1 -0
  230. data/spec/template/template_spec/views/layout/same_context/layout.erb +1 -0
  231. data/spec/template/template_spec/views/nested/format/a.erb +1 -0
  232. data/spec/template/template_spec/views/nested/format/b.erb +1 -0
  233. data/spec/template/template_spec/views/nested/relative/a.erb +1 -0
  234. data/spec/template/template_spec/views/nested/relative/b.erb +1 -0
  235. data/spec/template/template_spec/views/nested/relative/c.erb +1 -0
  236. data/spec/template/template_spec/views/nested/shared/c.erb +1 -0
  237. data/spec/template/template_spec/views/nesting_format/_edit.html.erb +1 -0
  238. data/spec/template/template_spec/views/nesting_format/_form.html.erb +1 -0
  239. data/spec/template/template_spec/views/nesting_format/dialog.js.erb +1 -0
  240. data/spec/template/template_spec/views/other/template.erb +1 -0
  241. data/spec/template/template_spec/views/prefixes/_underscored.erb +1 -0
  242. data/spec/template/template_spec/views/prefixes/without_prefix.erb +1 -0
  243. data/spec/template/template_spec.rb +204 -0
  244. data/spec/template/tilt_spec/views/concat_and_capture.erb +1 -0
  245. data/spec/template/tilt_spec/views/concat_and_capture.haml +3 -0
  246. data/spec/template/tilt_spec/views/encoding/erb.erb +1 -0
  247. data/spec/template/tilt_spec/views/encoding/haml.haml +1 -0
  248. data/spec/template/tilt_spec/views/errors.erb +3 -0
  249. data/spec/template/tilt_spec/views/errors.haml +3 -0
  250. data/spec/template/tilt_spec/views/mixed_templates/broken_erb_concat_erb.erb +4 -0
  251. data/spec/template/tilt_spec/views/mixed_templates/broken_erb_concat_haml.haml +1 -0
  252. data/spec/template/tilt_spec/views/mixed_templates/broken_haml_concat_erb.erb +1 -0
  253. data/spec/template/tilt_spec/views/mixed_templates/broken_haml_concat_haml.haml +2 -0
  254. data/spec/template/tilt_spec/views/nested_capture_and_concat.haml +3 -0
  255. data/spec/template/tilt_spec/views/ugly.haml +3 -0
  256. data/spec/template/tilt_spec/views/yield.erb +1 -0
  257. data/spec/template/tilt_spec.rb +98 -0
  258. metadata +531 -0
@@ -0,0 +1,98 @@
1
+ require 'template/spec_helper'
2
+
3
+ describe "Tilt" do
4
+ with_environment environment: :development
5
+ with_view_path "#{spec_dir}/views"
6
+
7
+ delegate :render, to: Rad::Template
8
+
9
+ before :all do
10
+ ::RenderResult = OpenObject.new
11
+
12
+ class TemplateContextStub < Rad::TemplateContext
13
+ def tag name, content = nil, &block
14
+ if block_given?
15
+ content = capture(&block)
16
+ concat "<#{name}>#{content}</#{name}>"
17
+ else
18
+ content = content
19
+ "<#{name}>#{content}</#{name}>"
20
+ end
21
+ end
22
+ end
23
+ end
24
+
25
+ after :all do
26
+ remove_constants %w(RenderResult)
27
+ end
28
+
29
+ # def render template_name, options = {}
30
+ # options[:context_class] ||= TemplateContextStub
31
+ # Rad::Template.render template_name, options
32
+ # end
33
+ #
34
+ it "haml should be ugly" do
35
+ render('/ugly.haml').should_not =~ /^\s/
36
+ end
37
+
38
+ it "should correctly show error lines" do
39
+ lambda{render('/errors.erb')}.should raise_error(/line with error/){|e| e.backtrace.first.should =~ /^.+errors\.erb:2.+$/}
40
+ lambda{render('/errors.haml')}.should raise_error(/line with error/){|e| e.backtrace.first.should =~ /^.+errors\.haml:2.+$/}
41
+ end
42
+
43
+ it "concat & capture" do
44
+ render('/concat_and_capture.erb').should =~ /^text for concatenation.?$/
45
+ RenderResult.erb_capture.should =~ /^text for capturing.?$/
46
+
47
+ render('/concat_and_capture.haml').should =~ /^text for concatenation.?$/
48
+ RenderResult.haml_capture.should =~ /^text for capturing.?$/
49
+ end
50
+
51
+ it "yield" do
52
+ render('/yield.erb'){|variable| "content for :#{variable}"}.should == "Layout, content for :content"
53
+ end
54
+
55
+ it "should render non-ASCII symbols (from error)" do
56
+ render('/encoding/erb').should =~ /»/
57
+ render('/encoding/haml').should =~ /»/
58
+ end
59
+
60
+ describe "mixed template types" do
61
+ it "broken haml concat (from error)" do
62
+ render(
63
+ '/mixed_templates/broken_haml_concat_haml',
64
+ context_class: TemplateContextStub
65
+ ).gsub("\n", "").should == "<div>some content</div>"
66
+
67
+ render(
68
+ '/mixed_templates/broken_haml_concat_erb',
69
+ context_class: TemplateContextStub
70
+ ).gsub("\n", "").should == "<div>some content</div>"
71
+ end
72
+
73
+ it "broken erb concat (from error)" do
74
+ render(
75
+ '/mixed_templates/broken_erb_concat_erb',
76
+ context_class: TemplateContextStub
77
+ ).gsub("\n", "").should == "haml content<div>\tsome content</div>"
78
+ end
79
+ end
80
+
81
+
82
+ it "nested capture & concat (from error)" do
83
+ class TestTC < TemplateContextStub
84
+ def form_tag &block
85
+ html = capture &block
86
+ concat(tag(:form_tag, html))
87
+ end
88
+
89
+ def form_field &block
90
+ html = capture &block
91
+ concat(tag(:form_field, html))
92
+ end
93
+ end
94
+
95
+ render('/nested_capture_and_concat', context_class: TestTC).gsub("\n", '').should ==
96
+ "<form_tag><form_field>some field</form_field></form_tag>"
97
+ end
98
+ end
metadata ADDED
@@ -0,0 +1,531 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rad_core
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 0.0.13
6
+ platform: ruby
7
+ authors:
8
+ - Alexey Petrushin
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2011-02-23 00:00:00 +03:00
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: i18n
18
+ prerelease: false
19
+ requirement: &id001 !ruby/object:Gem::Requirement
20
+ none: false
21
+ requirements:
22
+ - - "="
23
+ - !ruby/object:Gem::Version
24
+ version: 0.5.0
25
+ type: :runtime
26
+ version_requirements: *id001
27
+ - !ruby/object:Gem::Dependency
28
+ name: treetop
29
+ prerelease: false
30
+ requirement: &id002 !ruby/object:Gem::Requirement
31
+ none: false
32
+ requirements:
33
+ - - "="
34
+ - !ruby/object:Gem::Version
35
+ version: 1.4.9
36
+ type: :runtime
37
+ version_requirements: *id002
38
+ - !ruby/object:Gem::Dependency
39
+ name: polyglot
40
+ prerelease: false
41
+ requirement: &id003 !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - "="
45
+ - !ruby/object:Gem::Version
46
+ version: 0.3.1
47
+ type: :runtime
48
+ version_requirements: *id003
49
+ - !ruby/object:Gem::Dependency
50
+ name: mime-types
51
+ prerelease: false
52
+ requirement: &id004 !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - "="
56
+ - !ruby/object:Gem::Version
57
+ version: "1.16"
58
+ type: :runtime
59
+ version_requirements: *id004
60
+ - !ruby/object:Gem::Dependency
61
+ name: activesupport
62
+ prerelease: false
63
+ requirement: &id005 !ruby/object:Gem::Requirement
64
+ none: false
65
+ requirements:
66
+ - - "="
67
+ - !ruby/object:Gem::Version
68
+ version: 3.0.3
69
+ type: :runtime
70
+ version_requirements: *id005
71
+ - !ruby/object:Gem::Dependency
72
+ name: builder
73
+ prerelease: false
74
+ requirement: &id006 !ruby/object:Gem::Requirement
75
+ none: false
76
+ requirements:
77
+ - - "="
78
+ - !ruby/object:Gem::Version
79
+ version: 2.1.2
80
+ type: :runtime
81
+ version_requirements: *id006
82
+ - !ruby/object:Gem::Dependency
83
+ name: haml
84
+ prerelease: false
85
+ requirement: &id007 !ruby/object:Gem::Requirement
86
+ none: false
87
+ requirements:
88
+ - - "="
89
+ - !ruby/object:Gem::Version
90
+ version: 3.0.25
91
+ type: :runtime
92
+ version_requirements: *id007
93
+ - !ruby/object:Gem::Dependency
94
+ name: tilt
95
+ prerelease: false
96
+ requirement: &id008 !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - "="
100
+ - !ruby/object:Gem::Version
101
+ version: 1.2.1
102
+ type: :runtime
103
+ version_requirements: *id008
104
+ - !ruby/object:Gem::Dependency
105
+ name: json
106
+ prerelease: false
107
+ requirement: &id009 !ruby/object:Gem::Requirement
108
+ none: false
109
+ requirements:
110
+ - - "="
111
+ - !ruby/object:Gem::Version
112
+ version: 1.4.6
113
+ type: :runtime
114
+ version_requirements: *id009
115
+ - !ruby/object:Gem::Dependency
116
+ name: addressable
117
+ prerelease: false
118
+ requirement: &id010 !ruby/object:Gem::Requirement
119
+ none: false
120
+ requirements:
121
+ - - "="
122
+ - !ruby/object:Gem::Version
123
+ version: 2.2.2
124
+ type: :runtime
125
+ version_requirements: *id010
126
+ - !ruby/object:Gem::Dependency
127
+ name: nokogiri
128
+ prerelease: false
129
+ requirement: &id011 !ruby/object:Gem::Requirement
130
+ none: false
131
+ requirements:
132
+ - - "="
133
+ - !ruby/object:Gem::Version
134
+ version: 1.4.4
135
+ type: :runtime
136
+ version_requirements: *id011
137
+ - !ruby/object:Gem::Dependency
138
+ name: rack
139
+ prerelease: false
140
+ requirement: &id012 !ruby/object:Gem::Requirement
141
+ none: false
142
+ requirements:
143
+ - - "="
144
+ - !ruby/object:Gem::Version
145
+ version: 1.2.1
146
+ type: :runtime
147
+ version_requirements: *id012
148
+ - !ruby/object:Gem::Dependency
149
+ name: dictionary
150
+ prerelease: false
151
+ requirement: &id013 !ruby/object:Gem::Requirement
152
+ none: false
153
+ requirements:
154
+ - - "="
155
+ - !ruby/object:Gem::Version
156
+ version: 1.0.0
157
+ type: :runtime
158
+ version_requirements: *id013
159
+ - !ruby/object:Gem::Dependency
160
+ name: rack
161
+ prerelease: false
162
+ requirement: &id014 !ruby/object:Gem::Requirement
163
+ none: false
164
+ requirements:
165
+ - - "="
166
+ - !ruby/object:Gem::Version
167
+ version: 1.2.1
168
+ type: :runtime
169
+ version_requirements: *id014
170
+ - !ruby/object:Gem::Dependency
171
+ name: thin
172
+ prerelease: false
173
+ requirement: &id015 !ruby/object:Gem::Requirement
174
+ none: false
175
+ requirements:
176
+ - - "="
177
+ - !ruby/object:Gem::Version
178
+ version: 1.2.7
179
+ type: :runtime
180
+ version_requirements: *id015
181
+ - !ruby/object:Gem::Dependency
182
+ name: mail
183
+ prerelease: false
184
+ requirement: &id016 !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - "="
188
+ - !ruby/object:Gem::Version
189
+ version: 2.2.14
190
+ type: :runtime
191
+ version_requirements: *id016
192
+ - !ruby/object:Gem::Dependency
193
+ name: ruby_ext
194
+ prerelease: false
195
+ requirement: &id017 !ruby/object:Gem::Requirement
196
+ none: false
197
+ requirements:
198
+ - - ">="
199
+ - !ruby/object:Gem::Version
200
+ version: "0"
201
+ type: :runtime
202
+ version_requirements: *id017
203
+ - !ruby/object:Gem::Dependency
204
+ name: vfs
205
+ prerelease: false
206
+ requirement: &id018 !ruby/object:Gem::Requirement
207
+ none: false
208
+ requirements:
209
+ - - ">="
210
+ - !ruby/object:Gem::Version
211
+ version: "0"
212
+ type: :runtime
213
+ version_requirements: *id018
214
+ - !ruby/object:Gem::Dependency
215
+ name: micon
216
+ prerelease: false
217
+ requirement: &id019 !ruby/object:Gem::Requirement
218
+ none: false
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: "0"
223
+ type: :runtime
224
+ version_requirements: *id019
225
+ - !ruby/object:Gem::Dependency
226
+ name: class_loader
227
+ prerelease: false
228
+ requirement: &id020 !ruby/object:Gem::Requirement
229
+ none: false
230
+ requirements:
231
+ - - ">="
232
+ - !ruby/object:Gem::Version
233
+ version: "0"
234
+ type: :runtime
235
+ version_requirements: *id020
236
+ description:
237
+ email:
238
+ executables: []
239
+
240
+ extensions: []
241
+
242
+ extra_rdoc_files: []
243
+
244
+ files:
245
+ - Rakefile
246
+ - readme.md
247
+ - lib/rad/controller/abstract_controller/micelaneous.rb
248
+ - lib/rad/controller/abstract_controller/render.rb
249
+ - lib/rad/controller/abstract_controller/responder.rb
250
+ - lib/rad/controller/abstract_controller.rb
251
+ - lib/rad/controller/controller_context.rb
252
+ - lib/rad/controller/http_controller.rb
253
+ - lib/rad/controller/processors/controller_caller.rb
254
+ - lib/rad/controller/processors/controller_error_handling.rb
255
+ - lib/rad/controller/processors/controller_logger.rb
256
+ - lib/rad/controller.rb
257
+ - lib/rad/conveyor/conveyor.rb
258
+ - lib/rad/conveyor/conveyors.rb
259
+ - lib/rad/conveyor/params.rb
260
+ - lib/rad/conveyor/processor.rb
261
+ - lib/rad/conveyor/processors/conveyor_logger.rb
262
+ - lib/rad/conveyor/workspace.rb
263
+ - lib/rad/conveyor.rb
264
+ - lib/rad/environment/config.rb
265
+ - lib/rad/environment/dependency_resolver.rb
266
+ - lib/rad/environment/environment.rb
267
+ - lib/rad/environment/files_helper.rb
268
+ - lib/rad/environment/logger.rb
269
+ - lib/rad/environment.rb
270
+ - lib/rad/html/flash.rb
271
+ - lib/rad/html/helpers/basic_html_helper.rb
272
+ - lib/rad/html/helpers/flash_helper.rb
273
+ - lib/rad/html/helpers/form_helper.rb
274
+ - lib/rad/html/helpers/html_helper.rb
275
+ - lib/rad/html/helpers/javascript_helper.rb
276
+ - lib/rad/html/helpers/model_helper.rb
277
+ - lib/rad/html/include_into_controller.rb
278
+ - lib/rad/html/processors/prepare_flash.rb
279
+ - lib/rad/html/processors/scoped_params.rb
280
+ - lib/rad/html.rb
281
+ - lib/rad/http/http.rb
282
+ - lib/rad/http/http_adapter.rb
283
+ - lib/rad/http/middleware/static_files.rb
284
+ - lib/rad/http/processors/evaluate_format.rb
285
+ - lib/rad/http/processors/http_logger.rb
286
+ - lib/rad/http/processors/http_writer.rb
287
+ - lib/rad/http/processors/prepare_params.rb
288
+ - lib/rad/http/support/rack/fixes.rb
289
+ - lib/rad/http/support/rack/rack_adapter.rb
290
+ - lib/rad/http/support/rack/request.rb
291
+ - lib/rad/http/support/rack/response.rb
292
+ - lib/rad/http.rb
293
+ - lib/rad/integration/controller_micelaneous_helper.rb
294
+ - lib/rad/integration/router/abstract_routing_helper.rb
295
+ - lib/rad/integration/router/controller_routing_helper.rb
296
+ - lib/rad/integration/router/view_routing_helper.rb
297
+ - lib/rad/integration.rb
298
+ - lib/rad/mail/letter.rb
299
+ - lib/rad/mail/mail_controller.rb
300
+ - lib/rad/mail/mailer.rb
301
+ - lib/rad/mail/processors/letter_builder.rb
302
+ - lib/rad/mail.rb
303
+ - lib/rad/profiles/mail.rb
304
+ - lib/rad/profiles/web.rb
305
+ - lib/rad/profiles/web_require.rb
306
+ - lib/rad/remote/processors/remote_caller.rb
307
+ - lib/rad/remote/processors/remote_logger.rb
308
+ - lib/rad/remote/remote.rb
309
+ - lib/rad/remote.rb
310
+ - lib/rad/router/core/configurator.rb
311
+ - lib/rad/router/core/core_routing_helper.rb
312
+ - lib/rad/router/core/default_format_processor.rb
313
+ - lib/rad/router/core/processors/router.rb
314
+ - lib/rad/router/core/router.rb
315
+ - lib/rad/router/core/simple_router.rb
316
+ - lib/rad/router/routers/abstract_router.rb
317
+ - lib/rad/router/routers/alias_router.rb
318
+ - lib/rad/router/routers/restful_router.rb
319
+ - lib/rad/router.rb
320
+ - lib/rad/spec/controller.rb
321
+ - lib/rad/spec/environment.rb
322
+ - lib/rad/spec/http.rb
323
+ - lib/rad/spec/mail.rb
324
+ - lib/rad/spec/remote.rb
325
+ - lib/rad/spec/router.rb
326
+ - lib/rad/spec/template.rb
327
+ - lib/rad/spec/view.rb
328
+ - lib/rad/spec/xhtml.rb
329
+ - lib/rad/spec.rb
330
+ - lib/rad/support/active_support/locales/en/actionpack.yml
331
+ - lib/rad/support/active_support/locales/en/activesupport.yml
332
+ - lib/rad/support/active_support/micelaneous.rb
333
+ - lib/rad/support/active_support/time.rb
334
+ - lib/rad/support/active_support.rb
335
+ - lib/rad/support/addressable.rb
336
+ - lib/rad/support/buffered_logger.rb
337
+ - lib/rad/support/callbacks.rb
338
+ - lib/rad/support/exception.rb
339
+ - lib/rad/support/filters.rb
340
+ - lib/rad/support/format.rb
341
+ - lib/rad/support/hacks_and_fixes.rb
342
+ - lib/rad/support/micon.rb
343
+ - lib/rad/support/mime.rb
344
+ - lib/rad/support/module.rb
345
+ - lib/rad/support/rson.rb
346
+ - lib/rad/support/ruby_ext_with_active_support.rb
347
+ - lib/rad/support/string.rb
348
+ - lib/rad/support.rb
349
+ - lib/rad/template/support/tilt.rb
350
+ - lib/rad/template/support/tilt_fixes.rb
351
+ - lib/rad/template/template.rb
352
+ - lib/rad/template/template_context.rb
353
+ - lib/rad/template.rb
354
+ - lib/rad_core/gems.rb
355
+ - spec/controller/abstract_controller_spec/views/OperationsOrderSpec/action.erb
356
+ - spec/controller/abstract_controller_spec/views/ViewVariablesSpec/action.erb
357
+ - spec/controller/abstract_controller_spec.rb
358
+ - spec/controller/controller_context_spec/views/ItemSpec/actions.erb
359
+ - spec/controller/controller_context_spec/views/ItemSpec/show.erb
360
+ - spec/controller/controller_context_spec/views/ItemSpec/update.erb
361
+ - spec/controller/controller_context_spec/views/namespace_spec/class_spec/update.erb
362
+ - spec/controller/controller_context_spec/views/NamespaceSpec/ClassSpec/show.erb
363
+ - spec/controller/controller_context_spec/views/PageSpec/actions.erb
364
+ - spec/controller/controller_context_spec/views/PageSpec/show.erb
365
+ - spec/controller/controller_context_spec.rb
366
+ - spec/controller/controller_helper_spec/views/HelperMethodSpec/action.erb
367
+ - spec/controller/controller_helper_spec/views/HelperSpec/action.erb
368
+ - spec/controller/controller_helper_spec.rb
369
+ - spec/controller/controller_render_spec/views/AlreadyRenderedSpec/action.erb
370
+ - spec/controller/controller_render_spec/views/AlreadyRenderedSpec/custom_template.erb
371
+ - spec/controller/controller_render_spec/views/AnotherActionSpec/another_action.erb
372
+ - spec/controller/controller_render_spec/views/AnotherLayout/action.erb
373
+ - spec/controller/controller_render_spec/views/ForbidPartialAsActionSpec/_action.erb
374
+ - spec/controller/controller_render_spec/views/FormatSpec/action.html.erb
375
+ - spec/controller/controller_render_spec/views/FormatSpec/action.js.erb
376
+ - spec/controller/controller_render_spec/views/LayoutFiltersSpec/action_with_layout.erb
377
+ - spec/controller/controller_render_spec/views/LayoutFiltersSpec/action_without_layout.erb
378
+ - spec/controller/controller_render_spec/views/layouts/admin.erb
379
+ - spec/controller/controller_render_spec/views/layouts/app.html.erb
380
+ - spec/controller/controller_render_spec/views/layouts/app.js.erb
381
+ - spec/controller/controller_render_spec/views/LayoutSpec/action.erb
382
+ - spec/controller/controller_render_spec/views/MultipleActions/actions.haml
383
+ - spec/controller/controller_render_spec/views/rem ExplicitRenderSpec/action.erb
384
+ - spec/controller/controller_render_spec/views/rem ExplicitRenderSpec/another_action.erb
385
+ - spec/controller/controller_render_spec/views/some_template.erb
386
+ - spec/controller/controller_render_spec/views/standalone.html.erb
387
+ - spec/controller/controller_render_spec.rb
388
+ - spec/controller/error_handling_spec/views/diferrent_error_handling_spec/a.erb
389
+ - spec/controller/error_handling_spec/views/diferrent_error_handling_spec/b.erb
390
+ - spec/controller/error_handling_spec/views/diferrent_error_handling_spec/c.erb
391
+ - spec/controller/error_handling_spec.rb
392
+ - spec/controller/http_controller_spec.rb
393
+ - spec/controller/spec_helper.rb
394
+ - spec/conveyor/conveyor_spec.rb
395
+ - spec/conveyor/spec_helper.rb
396
+ - spec/environment/config_spec/config.default.yml
397
+ - spec/environment/config_spec/config.development.yml
398
+ - spec/environment/config_spec/config.yml
399
+ - spec/environment/config_spec.rb
400
+ - spec/environment/environment_spec/path1/file1
401
+ - spec/environment/environment_spec/path1/some_folder/some_file
402
+ - spec/environment/environment_spec/path2/file2
403
+ - spec/environment/environment_spec/path2/some_folder/some_file
404
+ - spec/environment/environment_spec.rb
405
+ - spec/environment/logger_spec.rb
406
+ - spec/environment/minimal_app_spec/app.rb
407
+ - spec/environment/minimal_app_spec.rb
408
+ - spec/environment/spec_helper.rb
409
+ - spec/environment/standard_app_spec/app/lib/app/init.rb
410
+ - spec/environment/standard_app_spec/plugin_a/lib/plugin_a/init.rb
411
+ - spec/environment/standard_app_spec/plugin_b/lib/emptygit
412
+ - spec/environment/standard_app_spec.rb
413
+ - spec/html/basic_html_helper_spec.rb
414
+ - spec/html/form_helper_spec.rb
415
+ - spec/html/javascript_helper_spec.rb
416
+ - spec/html/model_helper_spec.rb
417
+ - spec/html/scoped_params_spec.rb
418
+ - spec/html/spec_helper.rb
419
+ - spec/http/http_spec/app/lib/app/init.rb
420
+ - spec/http/http_spec/app/runtime/public/emptygit
421
+ - spec/http/http_spec/plugin_a/lib/plugin_a/init.rb
422
+ - spec/http/http_spec/plugin_b/lib/plugin_b/init.rb
423
+ - spec/http/http_spec/plugin_b/static/emptygit
424
+ - spec/http/http_spec.rb
425
+ - spec/http/micelaneous_spec.rb
426
+ - spec/http/spec_helper.rb
427
+ - spec/integration/basic_spec/views/smoke_test_spec/action.erb
428
+ - spec/integration/basic_spec.rb
429
+ - spec/integration/controller_routing_helper_spec.rb
430
+ - spec/integration/flash_spec.rb
431
+ - spec/integration/spec_helper.rb
432
+ - spec/integration/spec_helper_spec.rb
433
+ - spec/integration/view_routing_helper_spec.rb
434
+ - spec/mail/mail_controller_spec/views/body_template_spec/signup.erb
435
+ - spec/mail/mail_controller_spec.rb
436
+ - spec/mail/spec_helper.rb
437
+ - spec/remote/remote_spec.rb
438
+ - spec/remote/spec_helper.rb
439
+ - spec/router/alias_router_spec.rb
440
+ - spec/router/basic_spec.rb
441
+ - spec/router/configurator_spec.rb
442
+ - spec/router/integration_spec.rb
443
+ - spec/router/persistent_params_spec.rb
444
+ - spec/router/restful_router_spec.rb
445
+ - spec/router/routing_helper_spec.rb
446
+ - spec/router/spec_helper.rb
447
+ - spec/support/callbacks_spec.rb
448
+ - spec/support/filters_spec.rb
449
+ - spec/support/spec_helper.rb
450
+ - spec/template/spec_helper.rb
451
+ - spec/template/template_spec/file.erb
452
+ - spec/template/template_spec/views/basic/custom_context.erb
453
+ - spec/template/template_spec/views/basic/extension.erb
454
+ - spec/template/template_spec/views/basic/general.html.erb
455
+ - spec/template/template_spec/views/basic/non_existing_format.html.erb
456
+ - spec/template/template_spec/views/format/format.erb
457
+ - spec/template/template_spec/views/format/format.html.erb
458
+ - spec/template/template_spec/views/format/format.js.erb
459
+ - spec/template/template_spec/views/format_for_partials/_form.html.erb
460
+ - spec/template/template_spec/views/format_for_partials/dialog.js.erb
461
+ - spec/template/template_spec/views/layout/basic/content.erb
462
+ - spec/template/template_spec/views/layout/basic/layout.erb
463
+ - spec/template/template_spec/views/layout/content_for/content.erb
464
+ - spec/template/template_spec/views/layout/content_for/layout.erb
465
+ - spec/template/template_spec/views/layout/format/content.html.erb
466
+ - spec/template/template_spec/views/layout/format/content.js.erb
467
+ - spec/template/template_spec/views/layout/format/layout.html.erb
468
+ - spec/template/template_spec/views/layout/format/layout.js.erb
469
+ - spec/template/template_spec/views/layout/nested_yield/a.erb
470
+ - spec/template/template_spec/views/layout/nested_yield/layout.erb
471
+ - spec/template/template_spec/views/layout/nested_yield/layout_b.erb
472
+ - spec/template/template_spec/views/layout/same_context/a.erb
473
+ - spec/template/template_spec/views/layout/same_context/b.erb
474
+ - spec/template/template_spec/views/layout/same_context/layout.erb
475
+ - spec/template/template_spec/views/nested/format/a.erb
476
+ - spec/template/template_spec/views/nested/format/b.erb
477
+ - spec/template/template_spec/views/nested/relative/a.erb
478
+ - spec/template/template_spec/views/nested/relative/b.erb
479
+ - spec/template/template_spec/views/nested/relative/c.erb
480
+ - spec/template/template_spec/views/nested/shared/c.erb
481
+ - spec/template/template_spec/views/nesting_format/_edit.html.erb
482
+ - spec/template/template_spec/views/nesting_format/_form.html.erb
483
+ - spec/template/template_spec/views/nesting_format/dialog.js.erb
484
+ - spec/template/template_spec/views/other/template.erb
485
+ - spec/template/template_spec/views/prefixes/_underscored.erb
486
+ - spec/template/template_spec/views/prefixes/without_prefix.erb
487
+ - spec/template/template_spec.rb
488
+ - spec/template/tilt_spec/views/concat_and_capture.erb
489
+ - spec/template/tilt_spec/views/concat_and_capture.haml
490
+ - spec/template/tilt_spec/views/encoding/erb.erb
491
+ - spec/template/tilt_spec/views/encoding/haml.haml
492
+ - spec/template/tilt_spec/views/errors.erb
493
+ - spec/template/tilt_spec/views/errors.haml
494
+ - spec/template/tilt_spec/views/mixed_templates/broken_erb_concat_erb.erb
495
+ - spec/template/tilt_spec/views/mixed_templates/broken_erb_concat_haml.haml
496
+ - spec/template/tilt_spec/views/mixed_templates/broken_haml_concat_erb.erb
497
+ - spec/template/tilt_spec/views/mixed_templates/broken_haml_concat_haml.haml
498
+ - spec/template/tilt_spec/views/nested_capture_and_concat.haml
499
+ - spec/template/tilt_spec/views/ugly.haml
500
+ - spec/template/tilt_spec/views/yield.erb
501
+ - spec/template/tilt_spec.rb
502
+ has_rdoc: true
503
+ homepage: http://github.com/alexeypetrushin/rad_core
504
+ licenses: []
505
+
506
+ post_install_message:
507
+ rdoc_options: []
508
+
509
+ require_paths:
510
+ - lib
511
+ required_ruby_version: !ruby/object:Gem::Requirement
512
+ none: false
513
+ requirements:
514
+ - - ">="
515
+ - !ruby/object:Gem::Version
516
+ version: "0"
517
+ required_rubygems_version: !ruby/object:Gem::Requirement
518
+ none: false
519
+ requirements:
520
+ - - ">="
521
+ - !ruby/object:Gem::Version
522
+ version: "0"
523
+ requirements: []
524
+
525
+ rubyforge_project:
526
+ rubygems_version: 1.5.1
527
+ signing_key:
528
+ specification_version: 3
529
+ summary: Ruby Web Framework
530
+ test_files: []
531
+