express_templates 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (25) hide show
  1. checksums.yaml +4 -4
  2. data/lib/express_templates/components/forms/express_form.rb +5 -1
  3. data/lib/express_templates/components/forms/form_component.rb +8 -0
  4. data/lib/express_templates/components/forms/option_support.rb +18 -10
  5. data/lib/express_templates/components/forms/select.rb +10 -4
  6. data/lib/express_templates/expander.rb +2 -2
  7. data/lib/express_templates/version.rb +1 -1
  8. data/test/components/forms/express_form_test.rb +5 -17
  9. data/test/components/forms/radio_test.rb +8 -3
  10. data/test/components/forms/select_test.rb +29 -5
  11. data/test/dummy/log/test.log +41351 -55940
  12. data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  13. data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  14. data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  15. data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  16. data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  17. data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  18. metadata +3 -18
  19. data/test/dummy/log/development.log +0 -396
  20. data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  21. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  22. data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  23. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  24. data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  25. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: express_templates
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Talcott Smith
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-05-11 00:00:00.000000000 Z
12
+ date: 2015-05-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -244,7 +244,6 @@ files:
244
244
  - test/dummy/config/locales/en.yml
245
245
  - test/dummy/config/routes.rb
246
246
  - test/dummy/config/secrets.yml
247
- - test/dummy/log/development.log
248
247
  - test/dummy/log/test.log
249
248
  - test/dummy/public/404.html
250
249
  - test/dummy/public/422.html
@@ -252,12 +251,6 @@ files:
252
251
  - test/dummy/public/favicon.ico
253
252
  - test/dummy/test/controllers/hello_controller_test.rb
254
253
  - test/dummy/test/helpers/hello_helper_test.rb
255
- - test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
256
- - test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
257
- - test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
258
- - test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
259
- - test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
260
- - test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
261
254
  - test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
262
255
  - test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
263
256
  - test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
@@ -295,7 +288,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
295
288
  version: '0'
296
289
  requirements: []
297
290
  rubyforge_project:
298
- rubygems_version: 2.4.5
291
+ rubygems_version: 2.4.7
299
292
  signing_key:
300
293
  specification_version: 4
301
294
  summary: Write HTML templates in declarative Ruby. Create reusable view components.
@@ -347,7 +340,6 @@ test_files:
347
340
  - test/dummy/config/routes.rb
348
341
  - test/dummy/config/secrets.yml
349
342
  - test/dummy/config.ru
350
- - test/dummy/log/development.log
351
343
  - test/dummy/log/test.log
352
344
  - test/dummy/public/404.html
353
345
  - test/dummy/public/422.html
@@ -356,12 +348,6 @@ test_files:
356
348
  - test/dummy/Rakefile
357
349
  - test/dummy/test/controllers/hello_controller_test.rb
358
350
  - test/dummy/test/helpers/hello_helper_test.rb
359
- - test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
360
- - test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
361
- - test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
362
- - test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
363
- - test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
364
- - test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
365
351
  - test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
366
352
  - test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
367
353
  - test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
@@ -379,4 +365,3 @@ test_files:
379
365
  - test/markup/yielder_test.rb
380
366
  - test/performance_test.rb
381
367
  - test/test_helper.rb
382
- has_rdoc:
@@ -1,396 +0,0 @@
1
-
2
-
3
- Started GET "/" for ::1 at 2015-02-09 08:08:20 +0800
4
- Processing by Rails::WelcomeController#index as HTML
5
- Rendered /Users/eumir/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/railties-4.2.0/lib/rails/templates/rails/welcome/index.html.erb (1.8ms)
6
- Completed 200 OK in 9ms (Views: 9.4ms)
7
-
8
-
9
- Started GET "/hello" for ::1 at 2015-02-09 08:08:34 +0800
10
- Processing by HelloController#show as HTML
11
- Rendered hello/show.html.et within layouts/application (6.1ms)
12
- Completed 200 OK in 58ms (Views: 57.8ms)
13
-
14
-
15
- Started GET "/assets/application.css?body=1" for ::1 at 2015-02-09 08:08:34 +0800
16
-
17
-
18
- Started GET "/assets/application.js?body=1" for ::1 at 2015-02-09 08:08:34 +0800
19
-
20
-
21
- Started GET "/hello" for ::1 at 2015-02-09 08:08:58 +0800
22
- Processing by HelloController#show as HTML
23
- Rendered hello/show.html.et within layouts/application (3.3ms)
24
- Completed 500 Internal Server Error in 8ms
25
-
26
- NoMethodError - undefined method `first' for #<ExpressTemplates::Markup::Wrapper:0x007fed4c490930>:
27
- app/views/hello/show.html.et:4:in `block in expand'
28
- /Users/eumir/Projects/express_templates/lib/express_templates/expander.rb:37:in `process_children!'
29
- /Users/eumir/Projects/express_templates/lib/express_templates/expander.rb:61:in `block (2 levels) in register_macros_for'
30
- app/views/hello/show.html.et:4:in `expand'
31
- /Users/eumir/Projects/express_templates/lib/express_templates/expander.rb:25:in `expand'
32
- /Users/eumir/Projects/express_templates/lib/express_templates/compiler.rb:11:in `compile'
33
- /Users/eumir/Projects/express_templates/lib/express_templates/template/handler.rb:10:in `call'
34
- /Users/eumir/Projects/express_templates/lib/express_templates/template/handler.rb:5:in `call'
35
- actionview (4.2.0) lib/action_view/template.rb:270:in `compile'
36
- actionview (4.2.0) lib/action_view/template.rb:245:in `block (2 levels) in compile!'
37
- activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument'
38
- actionview (4.2.0) lib/action_view/template.rb:333:in `instrument'
39
- actionview (4.2.0) lib/action_view/template.rb:244:in `block in compile!'
40
- actionview (4.2.0) lib/action_view/template.rb:232:in `compile!'
41
- actionview (4.2.0) lib/action_view/template.rb:144:in `block in render'
42
- activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument'
43
- actionview (4.2.0) lib/action_view/template.rb:333:in `instrument'
44
- actionview (4.2.0) lib/action_view/template.rb:143:in `render'
45
- actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
46
- actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
47
- activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
48
- activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
49
- activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
50
- actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
51
- actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
52
- actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
53
- actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
54
- actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render'
55
- actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template'
56
- actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render'
57
- actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template'
58
- actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template'
59
- actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body'
60
- actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
61
- actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
62
- actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render'
63
- actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render'
64
- actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
65
- activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
66
- /Users/eumir/.rbenv/versions/2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
67
- activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
68
- actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
69
- actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
70
- actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render'
71
- actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
72
- actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
73
- actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
74
- actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
75
- actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
76
- activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
77
- activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
78
- activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
79
- activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
80
- activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
81
- activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
82
- actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
83
- actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
84
- actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
85
- activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
86
- activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
87
- activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
88
- actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
89
- actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
90
- actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
91
- actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
92
- actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
93
- actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
94
- actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
95
- actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
96
- actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
97
- actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
98
- actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
99
- actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
100
- rack (1.6.0) lib/rack/etag.rb:24:in `call'
101
- rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
102
- rack (1.6.0) lib/rack/head.rb:13:in `call'
103
- actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
104
- actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
105
- rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
106
- rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
107
- actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
108
- actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
109
- activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
110
- activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
111
- activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
112
- actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
113
- actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
114
- actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
115
- better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
116
- better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
117
- better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
118
- actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
119
- actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
120
- railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
121
- railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
122
- activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
123
- activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
124
- activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
125
- railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
126
- actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
127
- rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
128
- rack (1.6.0) lib/rack/runtime.rb:18:in `call'
129
- activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
130
- rack (1.6.0) lib/rack/lock.rb:17:in `call'
131
- actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
132
- rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
133
- railties (4.2.0) lib/rails/engine.rb:518:in `call'
134
- railties (4.2.0) lib/rails/application.rb:164:in `call'
135
- rack (1.6.0) lib/rack/lock.rb:17:in `call'
136
- rack (1.6.0) lib/rack/content_length.rb:15:in `call'
137
- rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
138
- /Users/eumir/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
139
- /Users/eumir/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
140
- /Users/eumir/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
141
-
142
-
143
-
144
- Started POST "/__better_errors/2392f92fe17f8b25/variables" for ::1 at 2015-02-09 08:08:59 +0800
145
-
146
-
147
- Started GET "/hello" for ::1 at 2015-02-09 08:10:24 +0800
148
- Processing by HelloController#show as HTML
149
- Rendered hello/show.html.et within layouts/application (0.7ms)
150
- Completed 500 Internal Server Error in 4ms
151
-
152
- SyntaxError - syntax error, unexpected '}', expecting =>
153
- ...Wrapper.new("@hello") )'.first}} }
154
- ... ^
155
- app/views/hello/show.html.et:5: syntax error, unexpected end-of-input, expecting '}':
156
- app/views/hello/show.html.et:4:in `'
157
- /Users/eumir/Projects/express_templates/lib/express_templates/expander.rb:25:in `expand'
158
- /Users/eumir/Projects/express_templates/lib/express_templates/compiler.rb:11:in `compile'
159
- /Users/eumir/Projects/express_templates/lib/express_templates/template/handler.rb:10:in `call'
160
- /Users/eumir/Projects/express_templates/lib/express_templates/template/handler.rb:5:in `call'
161
- actionview (4.2.0) lib/action_view/template.rb:270:in `compile'
162
- actionview (4.2.0) lib/action_view/template.rb:245:in `block (2 levels) in compile!'
163
- activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument'
164
- actionview (4.2.0) lib/action_view/template.rb:333:in `instrument'
165
- actionview (4.2.0) lib/action_view/template.rb:244:in `block in compile!'
166
- actionview (4.2.0) lib/action_view/template.rb:232:in `compile!'
167
- actionview (4.2.0) lib/action_view/template.rb:144:in `block in render'
168
- activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument'
169
- actionview (4.2.0) lib/action_view/template.rb:333:in `instrument'
170
- actionview (4.2.0) lib/action_view/template.rb:143:in `render'
171
- actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
172
- actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
173
- activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
174
- activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
175
- activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
176
- actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
177
- actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
178
- actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
179
- actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
180
- actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render'
181
- actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template'
182
- actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render'
183
- actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template'
184
- actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template'
185
- actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body'
186
- actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
187
- actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
188
- actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render'
189
- actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render'
190
- actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
191
- activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
192
- /Users/eumir/.rbenv/versions/2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
193
- activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
194
- actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
195
- actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
196
- actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render'
197
- actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
198
- actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
199
- actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
200
- actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
201
- actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
202
- activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
203
- activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
204
- activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
205
- activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
206
- activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
207
- activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
208
- actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
209
- actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
210
- actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
211
- activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
212
- activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
213
- activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
214
- actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
215
- actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
216
- actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
217
- actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
218
- actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
219
- actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
220
- actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
221
- actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
222
- actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
223
- actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
224
- actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
225
- actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
226
- rack (1.6.0) lib/rack/etag.rb:24:in `call'
227
- rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
228
- rack (1.6.0) lib/rack/head.rb:13:in `call'
229
- actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
230
- actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
231
- rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
232
- rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
233
- actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
234
- actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
235
- activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
236
- activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
237
- activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
238
- actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
239
- actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
240
- actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
241
- better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
242
- better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
243
- better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
244
- actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
245
- actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
246
- railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
247
- railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
248
- activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
249
- activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
250
- activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
251
- railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
252
- actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
253
- rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
254
- rack (1.6.0) lib/rack/runtime.rb:18:in `call'
255
- activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
256
- rack (1.6.0) lib/rack/lock.rb:17:in `call'
257
- actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
258
- rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
259
- railties (4.2.0) lib/rails/engine.rb:518:in `call'
260
- railties (4.2.0) lib/rails/application.rb:164:in `call'
261
- rack (1.6.0) lib/rack/lock.rb:17:in `call'
262
- rack (1.6.0) lib/rack/content_length.rb:15:in `call'
263
- rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
264
- /Users/eumir/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
265
- /Users/eumir/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
266
- /Users/eumir/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
267
-
268
-
269
-
270
- Started POST "/__better_errors/2d68e6f94470c3cc/variables" for ::1 at 2015-02-09 08:10:24 +0800
271
-
272
-
273
- Started GET "/hello" for ::1 at 2015-02-09 08:10:29 +0800
274
- Processing by HelloController#show as HTML
275
- Rendered hello/show.html.et within layouts/application (0.7ms)
276
- Completed 500 Internal Server Error in 4ms
277
-
278
- SyntaxError - syntax error, unexpected '}', expecting =>
279
- ...:Wrapper.new("@hello") ).first}} }
280
- ... ^
281
- app/views/hello/show.html.et:5: syntax error, unexpected end-of-input, expecting '}':
282
- app/views/hello/show.html.et:4:in `'
283
- /Users/eumir/Projects/express_templates/lib/express_templates/expander.rb:25:in `expand'
284
- /Users/eumir/Projects/express_templates/lib/express_templates/compiler.rb:11:in `compile'
285
- /Users/eumir/Projects/express_templates/lib/express_templates/template/handler.rb:10:in `call'
286
- /Users/eumir/Projects/express_templates/lib/express_templates/template/handler.rb:5:in `call'
287
- actionview (4.2.0) lib/action_view/template.rb:270:in `compile'
288
- actionview (4.2.0) lib/action_view/template.rb:245:in `block (2 levels) in compile!'
289
- activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument'
290
- actionview (4.2.0) lib/action_view/template.rb:333:in `instrument'
291
- actionview (4.2.0) lib/action_view/template.rb:244:in `block in compile!'
292
- actionview (4.2.0) lib/action_view/template.rb:232:in `compile!'
293
- actionview (4.2.0) lib/action_view/template.rb:144:in `block in render'
294
- activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument'
295
- actionview (4.2.0) lib/action_view/template.rb:333:in `instrument'
296
- actionview (4.2.0) lib/action_view/template.rb:143:in `render'
297
- actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
298
- actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
299
- activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
300
- activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
301
- activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
302
- actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
303
- actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
304
- actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
305
- actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
306
- actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render'
307
- actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template'
308
- actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render'
309
- actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template'
310
- actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template'
311
- actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body'
312
- actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
313
- actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
314
- actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render'
315
- actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render'
316
- actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
317
- activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
318
- /Users/eumir/.rbenv/versions/2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
319
- activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
320
- actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
321
- actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
322
- actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render'
323
- actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
324
- actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
325
- actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
326
- actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
327
- actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
328
- activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
329
- activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
330
- activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
331
- activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
332
- activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
333
- activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
334
- actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
335
- actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
336
- actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
337
- activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
338
- activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
339
- activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
340
- actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
341
- actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
342
- actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
343
- actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
344
- actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
345
- actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
346
- actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
347
- actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
348
- actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
349
- actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
350
- actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
351
- actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
352
- rack (1.6.0) lib/rack/etag.rb:24:in `call'
353
- rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
354
- rack (1.6.0) lib/rack/head.rb:13:in `call'
355
- actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
356
- actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
357
- rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
358
- rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
359
- actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
360
- actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
361
- activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
362
- activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
363
- activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
364
- actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
365
- actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
366
- actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
367
- better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
368
- better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
369
- better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
370
- actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
371
- actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
372
- railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
373
- railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
374
- activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
375
- activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
376
- activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
377
- railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
378
- actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
379
- rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
380
- rack (1.6.0) lib/rack/runtime.rb:18:in `call'
381
- activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
382
- rack (1.6.0) lib/rack/lock.rb:17:in `call'
383
- actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
384
- rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
385
- railties (4.2.0) lib/rails/engine.rb:518:in `call'
386
- railties (4.2.0) lib/rails/application.rb:164:in `call'
387
- rack (1.6.0) lib/rack/lock.rb:17:in `call'
388
- rack (1.6.0) lib/rack/content_length.rb:15:in `call'
389
- rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
390
- /Users/eumir/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
391
- /Users/eumir/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
392
- /Users/eumir/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
393
-
394
-
395
-
396
- Started POST "/__better_errors/3fbc4c5ce39398f4/variables" for ::1 at 2015-02-09 08:10:29 +0800