booties 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,82 @@
1
+ require 'test_helper'
2
+ require 'stub_view'
3
+
4
+ module Booties
5
+ class PanelTest < Minitest::Test
6
+ def setup
7
+ @view_context = StubView.new
8
+ end
9
+
10
+ def test_render_renders_a_default_panel
11
+ expected = '<div class="panel panel-default">content</div>'
12
+ assert_equal expected, panel.render { 'content' }
13
+ end
14
+
15
+ def test_render_renders_a_panel_with_the_given_context
16
+ panel = Panel.new @view_context, context: :primary
17
+ expected = '<div class="panel panel-primary">content</div>'
18
+ assert_equal expected, panel.render { 'content' }
19
+ end
20
+
21
+ def test_render_renders_a_panel_with_optional_attributes
22
+ panel = Panel.new @view_context, id: 'foo', class: 'bar'
23
+ expected = '<div class="panel panel-default bar" id="foo"></div>'
24
+ assert_equal expected, panel.render {}
25
+ end
26
+
27
+ def test_render_yields_panel_to_block
28
+ panel = Panel.new @view_context
29
+ yielded_panel = nil
30
+ panel.render do |p|
31
+ yielded_panel = p
32
+ end
33
+ assert_same panel, yielded_panel
34
+ end
35
+
36
+ def test_heading_renders_a_panel_heading
37
+ expected = '<div class="panel-heading">content</div>'
38
+ assert_equal expected, panel.heading('content')
39
+ end
40
+
41
+ def test_heading_accepts_content_as_a_block
42
+ expected = '<div class="panel-heading">content</div>'
43
+ assert_equal expected, panel.heading { 'content' }
44
+ end
45
+
46
+ def test_title_renders_a_panel_title
47
+ expected = '<h3 class="panel-title">content</h3>'
48
+ assert_equal expected, panel.title('content')
49
+ end
50
+
51
+ def test_title_accepts_content_as_a_block
52
+ expected = '<h3 class="panel-title">content</h3>'
53
+ assert_equal expected, panel.title { 'content' }
54
+ end
55
+
56
+ def test_body_renders_a_panel_body
57
+ expected = '<div class="panel-body">content</div>'
58
+ assert_equal expected, panel.body('content')
59
+ end
60
+
61
+ def test_body_accepts_content_as_a_block
62
+ expected = '<div class="panel-body">content</div>'
63
+ assert_equal expected, panel.body { 'content' }
64
+ end
65
+
66
+ def test_footer_renders_a_panel_footer
67
+ expected = '<div class="panel-footer">content</div>'
68
+ assert_equal expected, panel.footer('content')
69
+ end
70
+
71
+ def test_footer_accepts_content_as_a_block
72
+ expected = '<div class="panel-footer">content</div>'
73
+ assert_equal expected, panel.footer { 'content' }
74
+ end
75
+
76
+ private
77
+
78
+ def panel
79
+ @panel ||= Panel.new @view_context
80
+ end
81
+ end
82
+ end
@@ -1,4 +1,16 @@
1
1
  class HomeController < ApplicationController
2
- def show
2
+ def badge
3
+ end
4
+
5
+ def breadcrumbs
6
+ end
7
+
8
+ def flag
9
+ end
10
+
11
+ def modal
12
+ end
13
+
14
+ def panel
3
15
  end
4
16
  end
@@ -0,0 +1,3 @@
1
+ <%= badge 'foo' %>
2
+ <%= badge 'bar', class: 'foo' %>
3
+ <%= badge 'bar', id: 'foo' %>
@@ -0,0 +1,4 @@
1
+ <% breadcrumbs do %>
2
+ <li>Foo</li>
3
+ <li class="active">Bar</li>
4
+ <% end %>
@@ -1,8 +1,3 @@
1
- <% breadcrumbs do %>
2
- <li>Foo</li>
3
- <li class="active">Bar</li>
4
- <% end %>
5
-
6
1
  <%= flag 'foo' %>
7
2
  <%= flag 'bar', context: :primary %>
8
3
  <%= flag context: :danger, id: 'baz' do %>
@@ -0,0 +1,16 @@
1
+ <%= modal 'confirm' do |m| %>
2
+ <%= m.header do %>
3
+ Modal header
4
+ <% end %>
5
+ <%= m.body do %>
6
+ <p>Modal body</p>
7
+ <% end %>
8
+ <%= m.footer do %>
9
+ <%= m.dismiss class: 'btn btn-default' do %>
10
+ Dismiss
11
+ <% end %>
12
+ <%= link_to '#', class: 'btn btn-primary' do %>
13
+ Confirm
14
+ <% end %>
15
+ <% end %>
16
+ <% end %>
@@ -0,0 +1,21 @@
1
+ <%= panel do |p| %>
2
+ <%= p.heading do %>
3
+ <%= p.title do %>
4
+ Panel title
5
+ <% end %>
6
+ <% end %>
7
+ <%= p.body do %>
8
+ <p>Panel body</p>
9
+ <% end %>
10
+ <%= p.footer do %>
11
+ Panel footer
12
+ <% end %>
13
+ <% end %>
14
+
15
+ <%= panel context: :info do |p| %>
16
+ <%= p.heading 'Panel heading' %>
17
+ <%= p.body do %>
18
+ <p>Panel body</p>
19
+ <% end %>
20
+ <%= p.footer 'Panel footer' %>
21
+ <% end %>
@@ -0,0 +1,4 @@
1
+ en:
2
+ booties:
3
+ modal:
4
+ dismiss_html: '<span class="glyphicon glyphicon-remove" aria-label="Dismiss"></span>'
@@ -1,8 +1,10 @@
1
1
  Rails.application.routes.draw do
2
2
 
3
- get 'home/show'
4
-
5
- get 'breadcrumbs/show'
3
+ get 'home/badge'
4
+ get 'home/breadcrumbs'
5
+ get 'home/flag'
6
+ get 'home/modal'
7
+ get 'home/panel'
6
8
 
7
9
  mount Booties::Engine => "/booties"
8
10
  end
@@ -0,0 +1,420 @@
1
+
2
+
3
+ Started GET "/home" for ::1 at 2015-07-13 12:57:59 -0700
4
+
5
+ ActionController::RoutingError (No route matches [GET] "/home"):
6
+ actionpack (4.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
7
+ actionpack (4.2.3) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
8
+ railties (4.2.3) lib/rails/rack/logger.rb:38:in `call_app'
9
+ railties (4.2.3) lib/rails/rack/logger.rb:20:in `block in call'
10
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `block in tagged'
11
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:26:in `tagged'
12
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `tagged'
13
+ railties (4.2.3) lib/rails/rack/logger.rb:20:in `call'
14
+ actionpack (4.2.3) lib/action_dispatch/middleware/request_id.rb:21:in `call'
15
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
16
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
17
+ activesupport (4.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
18
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
19
+ actionpack (4.2.3) lib/action_dispatch/middleware/static.rb:116:in `call'
20
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
21
+ railties (4.2.3) lib/rails/engine.rb:518:in `call'
22
+ railties (4.2.3) lib/rails/application.rb:165:in `call'
23
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
24
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
25
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
26
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
27
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
28
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
29
+
30
+
31
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms)
32
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.8ms)
33
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms)
34
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_table.html.erb (7.5ms)
35
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (8.8ms)
36
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (76.9ms)
37
+
38
+
39
+ Started GET "/home/show" for ::1 at 2015-07-13 12:58:11 -0700
40
+ Processing by HomeController#show as HTML
41
+ Rendered home/show.html.erb within layouts/application (1.0ms)
42
+ Completed 200 OK in 5ms (Views: 4.6ms)
43
+
44
+
45
+ Started GET "/stylesheets/application.css" for ::1 at 2015-07-13 12:58:11 -0700
46
+
47
+ ActionController::RoutingError (No route matches [GET] "/stylesheets/application.css"):
48
+ actionpack (4.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
49
+ actionpack (4.2.3) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
50
+ railties (4.2.3) lib/rails/rack/logger.rb:38:in `call_app'
51
+ railties (4.2.3) lib/rails/rack/logger.rb:20:in `block in call'
52
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `block in tagged'
53
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:26:in `tagged'
54
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `tagged'
55
+ railties (4.2.3) lib/rails/rack/logger.rb:20:in `call'
56
+ actionpack (4.2.3) lib/action_dispatch/middleware/request_id.rb:21:in `call'
57
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
58
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
59
+ activesupport (4.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
60
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
61
+ actionpack (4.2.3) lib/action_dispatch/middleware/static.rb:116:in `call'
62
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
63
+ railties (4.2.3) lib/rails/engine.rb:518:in `call'
64
+ railties (4.2.3) lib/rails/application.rb:165:in `call'
65
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
66
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
67
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
68
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
69
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
70
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
71
+
72
+
73
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
74
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.8ms)
75
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms)
76
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.1ms)
77
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
78
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (50.0ms)
79
+
80
+
81
+ Started GET "/javascripts/application.js" for ::1 at 2015-07-13 12:58:11 -0700
82
+
83
+ ActionController::RoutingError (No route matches [GET] "/javascripts/application.js"):
84
+ actionpack (4.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
85
+ actionpack (4.2.3) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
86
+ railties (4.2.3) lib/rails/rack/logger.rb:38:in `call_app'
87
+ railties (4.2.3) lib/rails/rack/logger.rb:20:in `block in call'
88
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `block in tagged'
89
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:26:in `tagged'
90
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `tagged'
91
+ railties (4.2.3) lib/rails/rack/logger.rb:20:in `call'
92
+ actionpack (4.2.3) lib/action_dispatch/middleware/request_id.rb:21:in `call'
93
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
94
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
95
+ activesupport (4.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
96
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
97
+ actionpack (4.2.3) lib/action_dispatch/middleware/static.rb:116:in `call'
98
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
99
+ railties (4.2.3) lib/rails/engine.rb:518:in `call'
100
+ railties (4.2.3) lib/rails/application.rb:165:in `call'
101
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
102
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
103
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
104
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
105
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
106
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
107
+
108
+
109
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
110
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.6ms)
111
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms)
112
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.1ms)
113
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms)
114
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (53.7ms)
115
+
116
+
117
+ Started GET "/home/show" for ::1 at 2015-07-13 12:59:14 -0700
118
+ Processing by HomeController#show as HTML
119
+ Rendered home/show.html.erb within layouts/application (0.5ms)
120
+ Completed 200 OK in 4ms (Views: 3.9ms)
121
+
122
+
123
+ Started GET "/stylesheets/application.css" for ::1 at 2015-07-13 12:59:14 -0700
124
+
125
+ ActionController::RoutingError (No route matches [GET] "/stylesheets/application.css"):
126
+ actionpack (4.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
127
+ actionpack (4.2.3) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
128
+ railties (4.2.3) lib/rails/rack/logger.rb:38:in `call_app'
129
+ railties (4.2.3) lib/rails/rack/logger.rb:20:in `block in call'
130
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `block in tagged'
131
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:26:in `tagged'
132
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `tagged'
133
+ railties (4.2.3) lib/rails/rack/logger.rb:20:in `call'
134
+ actionpack (4.2.3) lib/action_dispatch/middleware/request_id.rb:21:in `call'
135
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
136
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
137
+ activesupport (4.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
138
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
139
+ actionpack (4.2.3) lib/action_dispatch/middleware/static.rb:116:in `call'
140
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
141
+ railties (4.2.3) lib/rails/engine.rb:518:in `call'
142
+ railties (4.2.3) lib/rails/application.rb:165:in `call'
143
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
144
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
145
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
146
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
147
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
148
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
149
+
150
+
151
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
152
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.4ms)
153
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms)
154
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.6ms)
155
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms)
156
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (101.2ms)
157
+
158
+
159
+ Started GET "/javascripts/application.js" for ::1 at 2015-07-13 12:59:15 -0700
160
+
161
+ ActionController::RoutingError (No route matches [GET] "/javascripts/application.js"):
162
+ actionpack (4.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
163
+ actionpack (4.2.3) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
164
+ railties (4.2.3) lib/rails/rack/logger.rb:38:in `call_app'
165
+ railties (4.2.3) lib/rails/rack/logger.rb:20:in `block in call'
166
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `block in tagged'
167
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:26:in `tagged'
168
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `tagged'
169
+ railties (4.2.3) lib/rails/rack/logger.rb:20:in `call'
170
+ actionpack (4.2.3) lib/action_dispatch/middleware/request_id.rb:21:in `call'
171
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
172
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
173
+ activesupport (4.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
174
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
175
+ actionpack (4.2.3) lib/action_dispatch/middleware/static.rb:116:in `call'
176
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
177
+ railties (4.2.3) lib/rails/engine.rb:518:in `call'
178
+ railties (4.2.3) lib/rails/application.rb:165:in `call'
179
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
180
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
181
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
182
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
183
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
184
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
185
+
186
+
187
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
188
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.6ms)
189
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms)
190
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.0ms)
191
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms)
192
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (50.2ms)
193
+
194
+
195
+ Started GET "/stylesheets/application.css" for ::1 at 2015-07-13 12:59:42 -0700
196
+
197
+ ActionController::RoutingError (No route matches [GET] "/stylesheets/application.css"):
198
+ actionpack (4.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
199
+ actionpack (4.2.3) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
200
+ railties (4.2.3) lib/rails/rack/logger.rb:38:in `call_app'
201
+ railties (4.2.3) lib/rails/rack/logger.rb:20:in `block in call'
202
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `block in tagged'
203
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:26:in `tagged'
204
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `tagged'
205
+ railties (4.2.3) lib/rails/rack/logger.rb:20:in `call'
206
+ actionpack (4.2.3) lib/action_dispatch/middleware/request_id.rb:21:in `call'
207
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
208
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
209
+ activesupport (4.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
210
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
211
+ actionpack (4.2.3) lib/action_dispatch/middleware/static.rb:116:in `call'
212
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
213
+ railties (4.2.3) lib/rails/engine.rb:518:in `call'
214
+ railties (4.2.3) lib/rails/application.rb:165:in `call'
215
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
216
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
217
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
218
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
219
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
220
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
221
+
222
+
223
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
224
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.7ms)
225
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms)
226
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.3ms)
227
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (10.4ms)
228
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (77.0ms)
229
+
230
+
231
+ Started GET "/home/show" for ::1 at 2015-07-13 13:03:15 -0700
232
+ Processing by HomeController#show as HTML
233
+ Rendered home/show.html.erb within layouts/application (2.1ms)
234
+ Completed 200 OK in 17ms (Views: 16.5ms)
235
+
236
+
237
+ Started GET "/stylesheets/application.css" for ::1 at 2015-07-13 13:03:15 -0700
238
+
239
+ ActionController::RoutingError (No route matches [GET] "/stylesheets/application.css"):
240
+ actionpack (4.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
241
+ actionpack (4.2.3) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
242
+ railties (4.2.3) lib/rails/rack/logger.rb:38:in `call_app'
243
+ railties (4.2.3) lib/rails/rack/logger.rb:20:in `block in call'
244
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `block in tagged'
245
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:26:in `tagged'
246
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `tagged'
247
+ railties (4.2.3) lib/rails/rack/logger.rb:20:in `call'
248
+ actionpack (4.2.3) lib/action_dispatch/middleware/request_id.rb:21:in `call'
249
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
250
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
251
+ activesupport (4.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
252
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
253
+ actionpack (4.2.3) lib/action_dispatch/middleware/static.rb:116:in `call'
254
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
255
+ railties (4.2.3) lib/rails/engine.rb:518:in `call'
256
+ railties (4.2.3) lib/rails/application.rb:165:in `call'
257
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
258
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
259
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
260
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
261
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
262
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
263
+
264
+
265
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
266
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
267
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms)
268
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.7ms)
269
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms)
270
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (88.6ms)
271
+
272
+
273
+ Started GET "/javascripts/application.js" for ::1 at 2015-07-13 13:03:15 -0700
274
+
275
+ ActionController::RoutingError (No route matches [GET] "/javascripts/application.js"):
276
+ actionpack (4.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
277
+ actionpack (4.2.3) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
278
+ railties (4.2.3) lib/rails/rack/logger.rb:38:in `call_app'
279
+ railties (4.2.3) lib/rails/rack/logger.rb:20:in `block in call'
280
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `block in tagged'
281
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:26:in `tagged'
282
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `tagged'
283
+ railties (4.2.3) lib/rails/rack/logger.rb:20:in `call'
284
+ actionpack (4.2.3) lib/action_dispatch/middleware/request_id.rb:21:in `call'
285
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
286
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
287
+ activesupport (4.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
288
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
289
+ actionpack (4.2.3) lib/action_dispatch/middleware/static.rb:116:in `call'
290
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
291
+ railties (4.2.3) lib/rails/engine.rb:518:in `call'
292
+ railties (4.2.3) lib/rails/application.rb:165:in `call'
293
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
294
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
295
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
296
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
297
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
298
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
299
+
300
+
301
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
302
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
303
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms)
304
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.7ms)
305
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms)
306
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (65.4ms)
307
+
308
+
309
+ Started GET "/stylesheets/application.css" for ::1 at 2015-07-13 13:03:52 -0700
310
+
311
+ ActionController::RoutingError (No route matches [GET] "/stylesheets/application.css"):
312
+ actionpack (4.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
313
+ actionpack (4.2.3) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
314
+ railties (4.2.3) lib/rails/rack/logger.rb:38:in `call_app'
315
+ railties (4.2.3) lib/rails/rack/logger.rb:20:in `block in call'
316
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `block in tagged'
317
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:26:in `tagged'
318
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `tagged'
319
+ railties (4.2.3) lib/rails/rack/logger.rb:20:in `call'
320
+ actionpack (4.2.3) lib/action_dispatch/middleware/request_id.rb:21:in `call'
321
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
322
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
323
+ activesupport (4.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
324
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
325
+ actionpack (4.2.3) lib/action_dispatch/middleware/static.rb:116:in `call'
326
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
327
+ railties (4.2.3) lib/rails/engine.rb:518:in `call'
328
+ railties (4.2.3) lib/rails/application.rb:165:in `call'
329
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
330
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
331
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
332
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
333
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
334
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
335
+
336
+
337
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
338
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.8ms)
339
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms)
340
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.4ms)
341
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms)
342
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (55.6ms)
343
+
344
+
345
+ Started GET "/home/show" for ::1 at 2015-07-13 13:04:09 -0700
346
+ Processing by HomeController#show as HTML
347
+ Rendered home/show.html.erb within layouts/application (1.0ms)
348
+ Completed 200 OK in 4ms (Views: 4.0ms)
349
+
350
+
351
+ Started GET "/stylesheets/application.css" for ::1 at 2015-07-13 13:04:09 -0700
352
+
353
+ ActionController::RoutingError (No route matches [GET] "/stylesheets/application.css"):
354
+ actionpack (4.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
355
+ actionpack (4.2.3) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
356
+ railties (4.2.3) lib/rails/rack/logger.rb:38:in `call_app'
357
+ railties (4.2.3) lib/rails/rack/logger.rb:20:in `block in call'
358
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `block in tagged'
359
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:26:in `tagged'
360
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `tagged'
361
+ railties (4.2.3) lib/rails/rack/logger.rb:20:in `call'
362
+ actionpack (4.2.3) lib/action_dispatch/middleware/request_id.rb:21:in `call'
363
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
364
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
365
+ activesupport (4.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
366
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
367
+ actionpack (4.2.3) lib/action_dispatch/middleware/static.rb:116:in `call'
368
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
369
+ railties (4.2.3) lib/rails/engine.rb:518:in `call'
370
+ railties (4.2.3) lib/rails/application.rb:165:in `call'
371
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
372
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
373
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
374
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
375
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
376
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
377
+
378
+
379
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
380
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
381
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms)
382
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.5ms)
383
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
384
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (55.7ms)
385
+
386
+
387
+ Started GET "/javascripts/application.js" for ::1 at 2015-07-13 13:04:09 -0700
388
+
389
+ ActionController::RoutingError (No route matches [GET] "/javascripts/application.js"):
390
+ actionpack (4.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
391
+ actionpack (4.2.3) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
392
+ railties (4.2.3) lib/rails/rack/logger.rb:38:in `call_app'
393
+ railties (4.2.3) lib/rails/rack/logger.rb:20:in `block in call'
394
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `block in tagged'
395
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:26:in `tagged'
396
+ activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `tagged'
397
+ railties (4.2.3) lib/rails/rack/logger.rb:20:in `call'
398
+ actionpack (4.2.3) lib/action_dispatch/middleware/request_id.rb:21:in `call'
399
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
400
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
401
+ activesupport (4.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
402
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
403
+ actionpack (4.2.3) lib/action_dispatch/middleware/static.rb:116:in `call'
404
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
405
+ railties (4.2.3) lib/rails/engine.rb:518:in `call'
406
+ railties (4.2.3) lib/rails/application.rb:165:in `call'
407
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
408
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
409
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
410
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
411
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
412
+ /Users/john/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
413
+
414
+
415
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms)
416
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.6ms)
417
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms)
418
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms)
419
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
420
+ Rendered /Users/john/Projects/booties/.bundle/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (78.8ms)