bootstrap-grid-system 0.1.2 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5dd9e2c85629e80c6656896144847d626f861f64
4
- data.tar.gz: ba2186ca554a90a608812b27223c78d5aeaf180d
3
+ metadata.gz: 4332b5beed457ea90f93f1dadd6a249fa34cdec9
4
+ data.tar.gz: 50182ba21631bdbeb57a797cd407b4208232b32a
5
5
  SHA512:
6
- metadata.gz: 84c23f4c6ac67b936a20fdf341dfc8a8a70ad9470bdd88e4d0f3d946cd8ce89de78d4391f674bcb64cd2b12bb42aea9aef3d49a1969c68481cc9539c154050bf
7
- data.tar.gz: 35fcf72bdc814bfabfe733af05f83db5d97b30bb4df30dc42dab269112607952047989e714712ed36528f336a6f887ffcfd544d50049836caf2559ab647ae675
6
+ metadata.gz: 2f8d5c1f36ac8978e20ba18981cdcd6dac05489644b4e2b60ac1b7f354a6f30f7d337334c19c29dc18ed064957a68b1c6338a69e9cfd2d8da4d0b29db77236f3
7
+ data.tar.gz: 0f227578fb73ae178775cd6ef4210453896b9333cff66afe0bdf0714387cbc3dba5b605aac19e443b081dd237a5693431ca21a7c36f47c295cd1fad0536cb03e
data/README.md CHANGED
@@ -1,89 +1,191 @@
1
- #Bootstrap Grid System
1
+ # Bootstrap Grid System
2
+
2
3
  The Bootstrap Grid System gem is a small and very simple tag generator for Bootstrap gem.
3
- ##Dependencies
4
- Ruby 1.9+
5
- Rails 4.0+
4
+
5
+ ## Dependencies
6
+
7
+ Ruby 1.9+
8
+
9
+ Rails 4.0+
10
+
6
11
  Twitter Bootstrap 3.0+
7
- ##Installation
8
- Add the gem to your Gemfile
9
- `gem 'bootstrap-grid-system'`
10
- Bundle install
11
- `bundle install`
12
- ##Examples
13
- ###Bootstrap row
12
+
13
+ ## Installation
14
+
15
+ Add the gem to your Gemfile
16
+
17
+ ```ruby
18
+ gem 'bootstrap-grid-system'
19
+ ```
20
+
21
+ Bundle install
22
+
23
+ ```
24
+ $ bundle install
25
+ ```
26
+
27
+ ## Examples
28
+
29
+ ### Bootstrap row
30
+
14
31
  Use `bootstrap_row` to wrap the content in a div block with "row" class
15
- ```
32
+
33
+ ```erb
16
34
  <%= bootstrap_row { "Example" } %>
17
35
  ```
36
+
18
37
  This generates the following HTML:
19
- ```
38
+
39
+ ```html
20
40
  <div class="row">Example</div>
21
41
  ```
22
- ###Bootstrap col
23
- Use `bootstrap_col` to wrap the content in a div block with "col-md-12" class
42
+
43
+ To disable bootstrap row, use the `:row_disabled` option
44
+
45
+ ```erb
46
+ <%= bootstrap_row(row_disabled: true) { "Example" } %>
47
+ ```
48
+
49
+ This generates the following HTML:
50
+
51
+ ```html
52
+ Example
24
53
  ```
54
+
55
+ ### Bootstrap col
56
+
57
+ Use `bootstrap_col` to wrap the content in a div block with "col-md-12" class
58
+
59
+ ```erb
25
60
  <%= bootstrap_col { "Example" } %>
26
61
  ```
62
+
27
63
  This generates the following HTML:
28
- ```
64
+
65
+ ```html
29
66
  <div class="col-md-12">Example</div>
30
67
  ```
68
+
31
69
  To change the default number of columns, use the `:col` or `:offset_col` options
32
- ```
70
+
71
+ ```erb
33
72
  <%= bootstrap_col(col: 2, offset_col: 4) { "Example" } %>
34
73
  ```
74
+
35
75
  This generates the following HTML:
36
- ```
76
+
77
+ ```html
37
78
  <div class="col-md-2 col-md-offset-4">Example</div>
38
79
  ```
80
+
39
81
  To change the default grid class, use the `:grid_system` option
40
- ```
82
+
83
+ ```erb
41
84
  <%= bootstrap_col(grid_system: :lg) { "Example" } %>
42
85
  ```
86
+
43
87
  This generates the following HTML:
44
- ```
88
+
89
+ ```html
45
90
  <div class="col-lg-12">Example</div>
46
91
  ```
47
- ###Bootstrap row with col
48
- Use `bootstrap_row_with_col` to wrap the content in a div block with "row" class and div with class "col-md-12" inside
92
+
93
+ To disable bootstrap column div, use the `:col_disabled` option
94
+
95
+ ```erb
96
+ <%= bootstrap_col(col_disabled: true) { "Example" } %>
49
97
  ```
50
- <%= bootstrap_row_with_col { "Example" } %>
98
+
99
+ This generates the following HTML:
100
+
101
+ ```html
102
+ Example
51
103
  ```
104
+
105
+ ### Bootstrap row with col
106
+
107
+ Use `bootstrap_row_with_col` to wrap the content in a div block with "row" class and div with class "col-md-12" inside
108
+
109
+ ```erb
110
+ <%= bootstrap_row_with_col { "Example" } %>
52
111
  ```
112
+
113
+ This generates the following HTML:
114
+
115
+ ```html
53
116
  <div class="row">
54
117
  <div class="col-md-12">Example</div>
55
118
  </div>
56
119
  ```
120
+
57
121
  To change the default number of columns, use the `:col` or `:offset_col` options
58
- ```
122
+
123
+ ```erb
59
124
  <%= bootstrap_row_with_col(col: 2, offset_col: 4) { "Example" } %>
60
125
  ```
126
+
61
127
  This generates the following HTML:
62
- ```
128
+
129
+ ```html
63
130
  <div class="row">
64
131
  <div class="col-md-2 col-md-offset-4">Example</div>
65
132
  </div>
66
133
  ```
134
+
67
135
  To change the default grid class, use the `:grid_system` option
68
- ```
136
+
137
+ ```erb
69
138
  <%= bootstrap_row_with_col(grid_system: :lg) { "Example" } %>
70
139
  ```
140
+
71
141
  This generates the following HTML:
72
- ```
142
+
143
+ ```html
73
144
  <div class="row">
74
145
  <div class="col-lg-12">Example</div>
75
146
  </div>
76
147
  ```
77
- ###Standard html options
78
- Use `:id` or `:class` options to add your value
148
+
149
+ To disable bootstrap row, use the `:row_disabled` option
150
+
151
+ ```erb
152
+ <%= bootstrap_row_with_col(row_disabled: true) { "Example" } %>
79
153
  ```
80
- <%= bootstrap_row_with_col(id: "foo", class: "bar") { "Example" } %>
154
+
155
+ This generates the following HTML:
156
+
157
+ ```html
158
+ <div class="col-md-12">Example</div>
81
159
  ```
160
+
161
+ To disable bootstrap column div, use the `:col_disabled` option
162
+
163
+ ```erb
164
+ <%= bootstrap_row_with_col(col_disabled: true) { "Example" } %>
165
+ ```
166
+
82
167
  This generates the following HTML:
168
+
169
+ ```html
170
+ <div class="row">Example</div>
83
171
  ```
172
+
173
+ ### Standard html options
174
+
175
+ Use `:id`, `:class` or other html options to add your value
176
+
177
+ ```erb
178
+ <%= bootstrap_row_with_col(id: "foo", class: "bar") { "Example" } %>
179
+ ```
180
+
181
+ This generates the following HTML:
182
+
183
+ ```html
84
184
  <div class="row bar" id="foo">
85
185
  <div class="col-md-12">Example</div>
86
186
  </div>
87
187
  ```
88
- ##License
188
+
189
+ ## License
190
+
89
191
  This project rocks and uses MIT-LICENSE.
@@ -51,10 +51,14 @@ module BootstrapGridSystem
51
51
  # bootstrap_col(col: 6, grid_system: :lg) { "Test" }
52
52
  # # => <div class="col-lg-6">Test</div>
53
53
  #
54
+ # bootstrap_col(col_disabled: true) { "Test" }
55
+ # # => Test
56
+ #
54
57
  def bootstrap_col(options = {})
55
58
  grid_system = options.delete :grid_system
56
- col = grid_system_class options.delete(:col) || 12, grid_system
57
- offset_col = grid_system_offset_class options.delete(:offset_col), grid_system
59
+ col = grid_system_class options.delete(:col) || 12, grid_system
60
+ offset_col = grid_system_offset_class options.delete(:offset_col), grid_system
61
+ return yield if options.delete :col_disabled
58
62
  if col || offset_col
59
63
  options[:class] = [col, offset_col, options[:class]].compact.join(" ")
60
64
  content_tag(:div, options) { yield }
@@ -100,9 +104,19 @@ module BootstrapGridSystem
100
104
  # </div>
101
105
  # </div>
102
106
  #
107
+ # bootstrap_row_with_col(row_disabled: true) { "Test" }
108
+ # # => <div class="col-lg-6">
109
+ # Test
110
+ # </div>
111
+ #
112
+ # bootstrap_row_with_col(col_disabled: true) { "Test" }
113
+ # # => <div class="row">
114
+ # Test
115
+ # </div>
116
+ #
103
117
  def bootstrap_row_with_col(options = {})
104
- col_tag = bootstrap_col(options.slice(:col, :offset_col, :grid_system)) { yield }
105
- bootstrap_row(options.except(:col, :offset_col, :grid_system)) { col_tag }
118
+ col_tag = bootstrap_col(options.slice(:col, :offset_col, :grid_system, :col_disabled)) { yield }
119
+ bootstrap_row(options.except(:col, :offset_col, :grid_system, :col_disabled)) { col_tag }
106
120
  end
107
121
 
108
122
  # Creates a HTML class with Bootstrap col.
@@ -1,3 +1,3 @@
1
1
  module BootstrapGridSystem
2
- VERSION = "0.1.2"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -2,14 +2,18 @@
2
2
  <p>Find me in app/views/test/index.html.erb</p>
3
3
  <p>Bootstrap row</p>
4
4
  <%= bootstrap_row { "Example" } %>
5
+ <%= bootstrap_row(row_disabled: true) { "Example" } %>
5
6
  <%= bootstrap_row(id: "foo", class: "bar") { "Example" } %>
6
7
  <p>Bootstrap col</p>
7
8
  <%= bootstrap_col { "Example" } %>
8
9
  <%= bootstrap_col(col: 2, offset_col: 4) { "Example" } %>
9
10
  <%= bootstrap_col(grid_system: :lg) { "Example" } %>
11
+ <%= bootstrap_col(col_disabled: true) { "Example" } %>
10
12
  <%= bootstrap_col(id: "foo", class: "bar") { "Example" } %>
11
13
  <p>Bootstrap row with col</p>
12
14
  <%= bootstrap_row_with_col { "Example" } %>
13
15
  <%= bootstrap_row_with_col(col: 2, offset_col: 4) { "Example" } %>
14
16
  <%= bootstrap_row_with_col(grid_system: :lg) { "Example" } %>
17
+ <%= bootstrap_row_with_col(row_disabled: true) { "Example" } %>
18
+ <%= bootstrap_row_with_col(col_disabled: true) { "Example" } %>
15
19
  <%= bootstrap_row_with_col(id: "foo", class: "bar") { "Example" } %>
@@ -416,3 +416,335 @@ ActionController::RoutingError (No route matches [GET] "/apple-touch-icon.png"):
416
416
  Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
417
417
  Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.1ms)
418
418
  Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (16.0ms)
419
+
420
+
421
+ Started GET "/" for 127.0.0.1 at 2014-12-22 22:54:44 +0300
422
+ Processing by Rails::WelcomeController#index as HTML
423
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/railties-4.1.8/lib/rails/templates/rails/welcome/index.html.erb (1.3ms)
424
+ Completed 200 OK in 15ms (Views: 15.0ms | ActiveRecord: 0.0ms)
425
+
426
+
427
+ Started GET "/apple-touch-icon-precomposed.png" for 127.0.0.1 at 2014-12-22 22:54:44 +0300
428
+
429
+ ActionController::RoutingError (No route matches [GET] "/apple-touch-icon-precomposed.png"):
430
+ actionpack (4.1.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
431
+ actionpack (4.1.8) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
432
+ railties (4.1.8) lib/rails/rack/logger.rb:38:in `call_app'
433
+ railties (4.1.8) lib/rails/rack/logger.rb:20:in `block in call'
434
+ activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `block in tagged'
435
+ activesupport (4.1.8) lib/active_support/tagged_logging.rb:26:in `tagged'
436
+ activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `tagged'
437
+ railties (4.1.8) lib/rails/rack/logger.rb:20:in `call'
438
+ actionpack (4.1.8) lib/action_dispatch/middleware/request_id.rb:21:in `call'
439
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
440
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
441
+ activesupport (4.1.8) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
442
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
443
+ actionpack (4.1.8) lib/action_dispatch/middleware/static.rb:84:in `call'
444
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
445
+ railties (4.1.8) lib/rails/engine.rb:514:in `call'
446
+ railties (4.1.8) lib/rails/application.rb:144:in `call'
447
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
448
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
449
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
450
+ /Users/Nikolay_Lipovtsev/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
451
+ /Users/Nikolay_Lipovtsev/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
452
+ /Users/Nikolay_Lipovtsev/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
453
+
454
+
455
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms)
456
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.6ms)
457
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.4ms)
458
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (16.6ms)
459
+
460
+
461
+ Started GET "/apple-touch-icon.png" for 127.0.0.1 at 2014-12-22 22:54:44 +0300
462
+
463
+ ActionController::RoutingError (No route matches [GET] "/apple-touch-icon.png"):
464
+ actionpack (4.1.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
465
+ actionpack (4.1.8) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
466
+ railties (4.1.8) lib/rails/rack/logger.rb:38:in `call_app'
467
+ railties (4.1.8) lib/rails/rack/logger.rb:20:in `block in call'
468
+ activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `block in tagged'
469
+ activesupport (4.1.8) lib/active_support/tagged_logging.rb:26:in `tagged'
470
+ activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `tagged'
471
+ railties (4.1.8) lib/rails/rack/logger.rb:20:in `call'
472
+ actionpack (4.1.8) lib/action_dispatch/middleware/request_id.rb:21:in `call'
473
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
474
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
475
+ activesupport (4.1.8) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
476
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
477
+ actionpack (4.1.8) lib/action_dispatch/middleware/static.rb:84:in `call'
478
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
479
+ railties (4.1.8) lib/rails/engine.rb:514:in `call'
480
+ railties (4.1.8) lib/rails/application.rb:144:in `call'
481
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
482
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
483
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
484
+ /Users/Nikolay_Lipovtsev/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
485
+ /Users/Nikolay_Lipovtsev/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
486
+ /Users/Nikolay_Lipovtsev/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
487
+
488
+
489
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
490
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
491
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.0ms)
492
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (12.6ms)
493
+
494
+
495
+ Started GET "/test/index" for 127.0.0.1 at 2014-12-22 22:54:46 +0300
496
+ Processing by TestController#index as HTML
497
+ Rendered test/index.html.erb within layouts/application (2.2ms)
498
+ Completed 200 OK in 68ms (Views: 67.9ms | ActiveRecord: 0.0ms)
499
+
500
+
501
+ Started GET "/assets/test.css?body=1" for 127.0.0.1 at 2014-12-22 22:54:46 +0300
502
+
503
+
504
+ Started GET "/assets/test.js?body=1" for 127.0.0.1 at 2014-12-22 22:54:46 +0300
505
+
506
+
507
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-12-22 22:54:46 +0300
508
+
509
+
510
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-12-22 22:54:46 +0300
511
+
512
+
513
+ Started GET "/apple-touch-icon-precomposed.png" for 127.0.0.1 at 2014-12-22 22:54:46 +0300
514
+
515
+ ActionController::RoutingError (No route matches [GET] "/apple-touch-icon-precomposed.png"):
516
+ actionpack (4.1.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
517
+ actionpack (4.1.8) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
518
+ railties (4.1.8) lib/rails/rack/logger.rb:38:in `call_app'
519
+ railties (4.1.8) lib/rails/rack/logger.rb:20:in `block in call'
520
+ activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `block in tagged'
521
+ activesupport (4.1.8) lib/active_support/tagged_logging.rb:26:in `tagged'
522
+ activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `tagged'
523
+ railties (4.1.8) lib/rails/rack/logger.rb:20:in `call'
524
+ actionpack (4.1.8) lib/action_dispatch/middleware/request_id.rb:21:in `call'
525
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
526
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
527
+ activesupport (4.1.8) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
528
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
529
+ actionpack (4.1.8) lib/action_dispatch/middleware/static.rb:84:in `call'
530
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
531
+ railties (4.1.8) lib/rails/engine.rb:514:in `call'
532
+ railties (4.1.8) lib/rails/application.rb:144:in `call'
533
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
534
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
535
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
536
+ /Users/Nikolay_Lipovtsev/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
537
+ /Users/Nikolay_Lipovtsev/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
538
+ /Users/Nikolay_Lipovtsev/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
539
+
540
+
541
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms)
542
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.0ms)
543
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/routes/_table.html.erb (0.9ms)
544
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (11.4ms)
545
+
546
+
547
+ Started GET "/apple-touch-icon.png" for 127.0.0.1 at 2014-12-22 22:54:46 +0300
548
+
549
+ ActionController::RoutingError (No route matches [GET] "/apple-touch-icon.png"):
550
+ actionpack (4.1.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
551
+ actionpack (4.1.8) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
552
+ railties (4.1.8) lib/rails/rack/logger.rb:38:in `call_app'
553
+ railties (4.1.8) lib/rails/rack/logger.rb:20:in `block in call'
554
+ activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `block in tagged'
555
+ activesupport (4.1.8) lib/active_support/tagged_logging.rb:26:in `tagged'
556
+ activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `tagged'
557
+ railties (4.1.8) lib/rails/rack/logger.rb:20:in `call'
558
+ actionpack (4.1.8) lib/action_dispatch/middleware/request_id.rb:21:in `call'
559
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
560
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
561
+ activesupport (4.1.8) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
562
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
563
+ actionpack (4.1.8) lib/action_dispatch/middleware/static.rb:84:in `call'
564
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
565
+ railties (4.1.8) lib/rails/engine.rb:514:in `call'
566
+ railties (4.1.8) lib/rails/application.rb:144:in `call'
567
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
568
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
569
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
570
+ /Users/Nikolay_Lipovtsev/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
571
+ /Users/Nikolay_Lipovtsev/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
572
+ /Users/Nikolay_Lipovtsev/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
573
+
574
+
575
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms)
576
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.9ms)
577
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.2ms)
578
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (19.5ms)
579
+
580
+
581
+ Started GET "/test/index" for 127.0.0.1 at 2014-12-22 22:55:24 +0300
582
+ Processing by TestController#index as HTML
583
+ Rendered test/index.html.erb within layouts/application (2.4ms)
584
+ Completed 200 OK in 20ms (Views: 19.8ms | ActiveRecord: 0.0ms)
585
+
586
+
587
+ Started GET "/assets/test.css?body=1" for 127.0.0.1 at 2014-12-22 22:55:25 +0300
588
+
589
+
590
+ Started GET "/assets/test.js?body=1" for 127.0.0.1 at 2014-12-22 22:55:25 +0300
591
+
592
+
593
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-12-22 22:55:25 +0300
594
+
595
+
596
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-12-22 22:55:25 +0300
597
+
598
+
599
+ Started GET "/apple-touch-icon-precomposed.png" for 127.0.0.1 at 2014-12-22 22:55:25 +0300
600
+
601
+ ActionController::RoutingError (No route matches [GET] "/apple-touch-icon-precomposed.png"):
602
+ actionpack (4.1.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
603
+ actionpack (4.1.8) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
604
+ railties (4.1.8) lib/rails/rack/logger.rb:38:in `call_app'
605
+ railties (4.1.8) lib/rails/rack/logger.rb:20:in `block in call'
606
+ activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `block in tagged'
607
+ activesupport (4.1.8) lib/active_support/tagged_logging.rb:26:in `tagged'
608
+ activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `tagged'
609
+ railties (4.1.8) lib/rails/rack/logger.rb:20:in `call'
610
+ actionpack (4.1.8) lib/action_dispatch/middleware/request_id.rb:21:in `call'
611
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
612
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
613
+ activesupport (4.1.8) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
614
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
615
+ actionpack (4.1.8) lib/action_dispatch/middleware/static.rb:84:in `call'
616
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
617
+ railties (4.1.8) lib/rails/engine.rb:514:in `call'
618
+ railties (4.1.8) lib/rails/application.rb:144:in `call'
619
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
620
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
621
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
622
+ /Users/Nikolay_Lipovtsev/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
623
+ /Users/Nikolay_Lipovtsev/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
624
+ /Users/Nikolay_Lipovtsev/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
625
+
626
+
627
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
628
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.8ms)
629
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms)
630
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (15.5ms)
631
+
632
+
633
+ Started GET "/apple-touch-icon.png" for 127.0.0.1 at 2014-12-22 22:55:25 +0300
634
+
635
+ ActionController::RoutingError (No route matches [GET] "/apple-touch-icon.png"):
636
+ actionpack (4.1.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
637
+ actionpack (4.1.8) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
638
+ railties (4.1.8) lib/rails/rack/logger.rb:38:in `call_app'
639
+ railties (4.1.8) lib/rails/rack/logger.rb:20:in `block in call'
640
+ activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `block in tagged'
641
+ activesupport (4.1.8) lib/active_support/tagged_logging.rb:26:in `tagged'
642
+ activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `tagged'
643
+ railties (4.1.8) lib/rails/rack/logger.rb:20:in `call'
644
+ actionpack (4.1.8) lib/action_dispatch/middleware/request_id.rb:21:in `call'
645
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
646
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
647
+ activesupport (4.1.8) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
648
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
649
+ actionpack (4.1.8) lib/action_dispatch/middleware/static.rb:84:in `call'
650
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
651
+ railties (4.1.8) lib/rails/engine.rb:514:in `call'
652
+ railties (4.1.8) lib/rails/application.rb:144:in `call'
653
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
654
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
655
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
656
+ /Users/Nikolay_Lipovtsev/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
657
+ /Users/Nikolay_Lipovtsev/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
658
+ /Users/Nikolay_Lipovtsev/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
659
+
660
+
661
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
662
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.0ms)
663
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.6ms)
664
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (17.8ms)
665
+
666
+
667
+ Started GET "/test/index" for 127.0.0.1 at 2014-12-22 23:02:56 +0300
668
+ Processing by TestController#index as HTML
669
+ Rendered test/index.html.erb within layouts/application (1.9ms)
670
+ Completed 200 OK in 40ms (Views: 39.4ms | ActiveRecord: 0.0ms)
671
+
672
+
673
+ Started GET "/assets/test.css?body=1" for 127.0.0.1 at 2014-12-22 23:02:57 +0300
674
+
675
+
676
+ Started GET "/assets/test.js?body=1" for 127.0.0.1 at 2014-12-22 23:02:57 +0300
677
+
678
+
679
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-12-22 23:02:57 +0300
680
+
681
+
682
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-12-22 23:02:57 +0300
683
+
684
+
685
+ Started GET "/apple-touch-icon-precomposed.png" for 127.0.0.1 at 2014-12-22 23:02:57 +0300
686
+
687
+ ActionController::RoutingError (No route matches [GET] "/apple-touch-icon-precomposed.png"):
688
+ actionpack (4.1.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
689
+ actionpack (4.1.8) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
690
+ railties (4.1.8) lib/rails/rack/logger.rb:38:in `call_app'
691
+ railties (4.1.8) lib/rails/rack/logger.rb:20:in `block in call'
692
+ activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `block in tagged'
693
+ activesupport (4.1.8) lib/active_support/tagged_logging.rb:26:in `tagged'
694
+ activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `tagged'
695
+ railties (4.1.8) lib/rails/rack/logger.rb:20:in `call'
696
+ actionpack (4.1.8) lib/action_dispatch/middleware/request_id.rb:21:in `call'
697
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
698
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
699
+ activesupport (4.1.8) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
700
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
701
+ actionpack (4.1.8) lib/action_dispatch/middleware/static.rb:84:in `call'
702
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
703
+ railties (4.1.8) lib/rails/engine.rb:514:in `call'
704
+ railties (4.1.8) lib/rails/application.rb:144:in `call'
705
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
706
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
707
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
708
+ /Users/Nikolay_Lipovtsev/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
709
+ /Users/Nikolay_Lipovtsev/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
710
+ /Users/Nikolay_Lipovtsev/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
711
+
712
+
713
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
714
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.8ms)
715
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/routes/_table.html.erb (7.6ms)
716
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (23.3ms)
717
+
718
+
719
+ Started GET "/apple-touch-icon.png" for 127.0.0.1 at 2014-12-22 23:02:57 +0300
720
+
721
+ ActionController::RoutingError (No route matches [GET] "/apple-touch-icon.png"):
722
+ actionpack (4.1.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
723
+ actionpack (4.1.8) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
724
+ railties (4.1.8) lib/rails/rack/logger.rb:38:in `call_app'
725
+ railties (4.1.8) lib/rails/rack/logger.rb:20:in `block in call'
726
+ activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `block in tagged'
727
+ activesupport (4.1.8) lib/active_support/tagged_logging.rb:26:in `tagged'
728
+ activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `tagged'
729
+ railties (4.1.8) lib/rails/rack/logger.rb:20:in `call'
730
+ actionpack (4.1.8) lib/action_dispatch/middleware/request_id.rb:21:in `call'
731
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
732
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
733
+ activesupport (4.1.8) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
734
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
735
+ actionpack (4.1.8) lib/action_dispatch/middleware/static.rb:84:in `call'
736
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
737
+ railties (4.1.8) lib/rails/engine.rb:514:in `call'
738
+ railties (4.1.8) lib/rails/application.rb:144:in `call'
739
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
740
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
741
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
742
+ /Users/Nikolay_Lipovtsev/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
743
+ /Users/Nikolay_Lipovtsev/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
744
+ /Users/Nikolay_Lipovtsev/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
745
+
746
+
747
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms)
748
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.8ms)
749
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.2ms)
750
+ Rendered /Users/Nikolay_Lipovtsev/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (16.9ms)
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-grid-system
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikolay-Lipovtsev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-21 00:00:00.000000000 Z
11
+ date: 2014-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '4.1'
19
+ version: '4.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '4.1'
26
+ version: '4.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sqlite3
29
29
  requirement: !ruby/object:Gem::Requirement