sections_rails 0.10.0 → 0.11.0
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 +4 -4
- data/lib/sections_rails/partial_parser.rb +1 -1
- data/lib/sections_rails/version.rb +1 -1
- data/lib/sections_rails/view_finder.rb +1 -0
- data/lib/tasks/sections_rails_tasks.rake +22 -13
- data/spec/controllers/style_assets_controller_spec.rb +1 -1
- data/spec/dummy/config/environments/test.rb +1 -1
- data/spec/dummy/log/test.log +532 -0
- data/spec/dummy/tmp/cache/assets/test/sass/6895cbbabdbdd68bfd5eaeb8a7205320b5ae8570/sass.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/8498f83ad93e5e5008158dd5f1a619c70444d1b9/css_scss.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/af6c5e5e0472cd741dba44cad548e8bee004b57f/css_sass.css.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/c4f2628633a30efcaac4adae6d64dc98a3dc5098/scss.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/07debd2f5bdd0945f151e2b19446f044 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/08f27e536dfd0bf16e287507b2acf9cd +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0fca8ebe3afdfe78547af6286f823282 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1b3072864335229a30962921e232e038 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1e3b95f4fb7349356a18d5d6c25a03c5 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1ef0ad5f3bf9347ff721cc9adb7ac475 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/22ca9b4c7a72cecb6e5bd86aeb2cbe1a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/23a710a5152e77b9f6093d0ff6132cbb +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2760c50c86bfb006436f3b08f7f86d50 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/27cd0623d0c7bf548c06891f9ff3a7fe +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2883d6642cddc16b7cbec8a10d604e1f +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/43f23e226a6cf9111462a1de5a4141c9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4469f565cbeb63b8a9dd57c772a0063f +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4bfa702f177bb40d4add4fa2cdc56290 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/620334e6045e81791d00cfc3d5880e99 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/778cbfb3c3494e0a1bff25acec1acb41 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/88172c7017f9d54036e04229e5aeb7a9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/9f1946f74976325823cd17e3344ac99e +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a1675ac0cfcd39baa9de6cd3800ed7d8 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a5d83488b94f2eb72952aead38dff3e3 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a6fce1b02a415f12102f90ede73a4466 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ab9a16c02e5840aa2caa410053c6d992 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ad63aa5b66774feeab4dc6bcf5cd62ba +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b4e4bd3378cc31d280c2f1e817d7e563 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b55f94acb73aef21cd0314d38e7154d1 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b71f97c2f9217932f4105b67a6888f8c +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/bb6a12b80c6bb08c7943f43676e3c85b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c427bfd8150de82240a0e21a09f2555b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c6e5bc7bd239a1911ec2e68129e3de64 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/dca0e46db52c9d8f506520eb6da852d5 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/dfca15e755e57d8cc860d77b907d39f1 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e96fdb62e07b19eed5b0da3f39778ad8 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ea32dd93eace3bc52cef33158a05dff0 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ee731240c77f9d385c44692245a14659 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f05f533e9d84fde309ea83909d9ce528 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f4e42345683e627f5c3ddbed7b0f3003 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f5d263c951494ab0fb39fe65f211ea9d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/fb9a65051eb9d735f3634545d153a9eb +0 -0
- data/spec/sections_rails/partial_parser_spec.rb +24 -0
- data/spec/sections_rails/view_finder_spec.rb +12 -0
- data/spec/sections_rails/view_finder_spec/assets/javascript.js +0 -0
- data/spec/sections_rails/view_finder_spec/assets/stylesheet.css +0 -0
- data/spec/sections_rails/view_finder_spec/rb/decorator.rb +0 -0
- metadata +8 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dc0b2aec8a10e56cc582a1df1ff68b03410c4cde
|
|
4
|
+
data.tar.gz: aac8d32ba7f57424268ecbf067e9f4d09dac1041
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b0ada4154e52285b1ebf536a4be6ea4a3d459bf4f4b6dc51d788b61c67e8dfda75d6413b4db3b7fb3862ca4d51905afc99c425e4f6c9a2b1111a9ff6ee7f22c8
|
|
7
|
+
data.tar.gz: f7905a39c218c22ebf3581dbfb94b331490091805b69d198152537cbd1ca6f90678ecd094fd7a92d92ac6ff543625b804e4f5edf1db3541faa9f46712245ac73
|
|
@@ -7,7 +7,7 @@ module SectionsRails
|
|
|
7
7
|
# @return [ Array<String> ]
|
|
8
8
|
def self.find_sections text
|
|
9
9
|
return [] if text.blank?
|
|
10
|
-
text.scan(
|
|
10
|
+
text.scan(/(=\s*|\bh\.|\bhelpers\.)section(\(|\s+)['":]([\w\/]+)/).map(&:last).sort.uniq
|
|
11
11
|
end
|
|
12
12
|
end
|
|
13
13
|
end
|
|
@@ -6,16 +6,13 @@ namespace :sections do
|
|
|
6
6
|
task :prepare do
|
|
7
7
|
puts "\nPreparing sections assets:"
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
sections
|
|
15
|
-
end
|
|
16
|
-
end.flatten.sort.uniq
|
|
9
|
+
view_sections = find_section_references('app/views')
|
|
10
|
+
section_sections = find_section_references('app/sections')
|
|
11
|
+
decorator_sections = find_section_references('app/decorators')
|
|
12
|
+
sections = (view_sections + section_sections + decorator_sections).flatten.uniq.sort
|
|
13
|
+
|
|
17
14
|
puts ''
|
|
18
|
-
|
|
15
|
+
|
|
19
16
|
# Create the require file for application.js.
|
|
20
17
|
File.open "app/assets/javascripts/application_sections.js", 'w' do |file|
|
|
21
18
|
sections.each do |section_name|
|
|
@@ -24,7 +21,7 @@ namespace :sections do
|
|
|
24
21
|
file.write "//= require #{js_asset}\n" if js_asset
|
|
25
22
|
end
|
|
26
23
|
end
|
|
27
|
-
|
|
24
|
+
|
|
28
25
|
# Create the require file for application.css.
|
|
29
26
|
File.open "app/assets/stylesheets/application_sections.css", 'w' do |file|
|
|
30
27
|
file.write "/*\n"
|
|
@@ -37,24 +34,36 @@ namespace :sections do
|
|
|
37
34
|
end
|
|
38
35
|
end
|
|
39
36
|
|
|
37
|
+
def find_section_references(root)
|
|
38
|
+
return [] unless File.exist?(root)
|
|
39
|
+
SectionsRails::ViewFinder.find_all_views(root).map do |view|
|
|
40
|
+
SectionsRails::PartialParser.find_sections(IO.read view).map do |section_name|
|
|
41
|
+
sections = SectionsRails::Section.new(section_name).referenced_sections
|
|
42
|
+
sections << section_name
|
|
43
|
+
puts "* #{section_name}: #{sections.join ', '}"
|
|
44
|
+
sections
|
|
45
|
+
end
|
|
46
|
+
end.flatten.sort.uniq
|
|
47
|
+
end
|
|
48
|
+
|
|
40
49
|
desc "Prepares the assets for precompilation in a setup with multiple files per page."
|
|
41
50
|
task :prepare_pages do
|
|
42
51
|
root = 'app/views'
|
|
43
52
|
|
|
44
53
|
views = find_all_views root
|
|
45
54
|
sections_per_view = parse_views views
|
|
46
|
-
|
|
55
|
+
|
|
47
56
|
# Create the require files.
|
|
48
57
|
sections_per_view.each do |view, sections|
|
|
49
58
|
|
|
50
59
|
# Don't do anything if there are no sections in this view.
|
|
51
60
|
next if sections.blank?
|
|
52
|
-
|
|
61
|
+
|
|
53
62
|
# Don't do anything if the page has no page-specific JS file.
|
|
54
63
|
root_name = view[0..-10]
|
|
55
64
|
next unless File.exists? "app/pages/#{view}.js"
|
|
56
65
|
end
|
|
57
|
-
end
|
|
66
|
+
end
|
|
58
67
|
|
|
59
68
|
desc 'Creates empty asset containers'
|
|
60
69
|
task :reset_asset_containers do
|
|
@@ -13,7 +13,7 @@ Dummy::Application.configure do
|
|
|
13
13
|
config.eager_load = false
|
|
14
14
|
|
|
15
15
|
# Configure static asset server for tests with Cache-Control for performance.
|
|
16
|
-
config.
|
|
16
|
+
config.serve_static_files = true
|
|
17
17
|
config.static_cache_control = "public, max-age=3600"
|
|
18
18
|
|
|
19
19
|
# Show full error reports and disable caching.
|
data/spec/dummy/log/test.log
CHANGED
|
@@ -1278,3 +1278,535 @@ Completed 200 OK in 4ms (Views: 3.7ms)
|
|
|
1278
1278
|
Processing by ViewTypesController#haml as HTML
|
|
1279
1279
|
Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.1ms)
|
|
1280
1280
|
Completed 200 OK in 2ms (Views: 2.3ms)
|
|
1281
|
+
Processing by ErrorsController#missing_section as HTML
|
|
1282
|
+
Rendered errors/missing_section.html.erb within layouts/application (3.1ms)
|
|
1283
|
+
Completed 500 Internal Server Error in 10ms
|
|
1284
|
+
Processing by ImageAssetsController#gif as HTML
|
|
1285
|
+
Completed 200 OK in 4ms (Views: 3.9ms)
|
|
1286
|
+
Processing by ImageAssetsController#jpg as HTML
|
|
1287
|
+
Completed 200 OK in 2ms (Views: 2.4ms)
|
|
1288
|
+
Processing by ImageAssetsController#jpeg as HTML
|
|
1289
|
+
Completed 200 OK in 2ms (Views: 2.3ms)
|
|
1290
|
+
Processing by ImageAssetsController#png as HTML
|
|
1291
|
+
Completed 200 OK in 2ms (Views: 2.3ms)
|
|
1292
|
+
Processing by PartialsController#erb_section as HTML
|
|
1293
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/erb_section/_erb_section.html.erb (0.3ms)
|
|
1294
|
+
Completed 200 OK in 5ms (Views: 5.2ms)
|
|
1295
|
+
Processing by PartialsController#haml_section as HTML
|
|
1296
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/haml_section/_haml_section.html.haml (0.8ms)
|
|
1297
|
+
Completed 200 OK in 4ms (Views: 3.5ms)
|
|
1298
|
+
Processing by PartialsController#slim_section as HTML
|
|
1299
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/slim_section/_slim_section.html.slim (11.6ms)
|
|
1300
|
+
Completed 200 OK in 14ms (Views: 14.3ms)
|
|
1301
|
+
Processing by PartialsController#no_options as HTML
|
|
1302
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/no_options/_no_options.html.erb (0.5ms)
|
|
1303
|
+
Completed 200 OK in 4ms (Views: 3.8ms)
|
|
1304
|
+
Processing by PartialsController#tag_option as HTML
|
|
1305
|
+
Completed 200 OK in 2ms (Views: 1.7ms)
|
|
1306
|
+
Processing by PartialsController#custom_partial as HTML
|
|
1307
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.5ms)
|
|
1308
|
+
Completed 200 OK in 4ms (Views: 3.9ms)
|
|
1309
|
+
Processing by PartialsController#custom_partial as HTML
|
|
1310
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.0ms)
|
|
1311
|
+
Completed 200 OK in 1ms (Views: 0.6ms)
|
|
1312
|
+
Processing by PartialsController#disabled as HTML
|
|
1313
|
+
Completed 200 OK in 1ms (Views: 1.3ms)
|
|
1314
|
+
Processing by PartialsController#disabled as HTML
|
|
1315
|
+
Completed 200 OK in 0ms (Views: 0.4ms)
|
|
1316
|
+
Processing by PartialsController#production_mode as HTML
|
|
1317
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/production_mode/_production_mode.html.erb (0.4ms)
|
|
1318
|
+
Completed 200 OK in 3ms (Views: 3.0ms)
|
|
1319
|
+
Processing by PartialsController#partial_with_block as HTML
|
|
1320
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/partial_with_block/_partial_with_block.html.haml (1.0ms)
|
|
1321
|
+
Completed 200 OK in 4ms (Views: 4.3ms)
|
|
1322
|
+
Processing by PartialsController#custom_partial_with_block as HTML
|
|
1323
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial_with_block/_different_name.html.erb (0.5ms)
|
|
1324
|
+
Completed 200 OK in 4ms (Views: 4.0ms)
|
|
1325
|
+
Processing by ScriptAssetsController#javascript as HTML
|
|
1326
|
+
Completed 200 OK in 9ms (Views: 9.1ms)
|
|
1327
|
+
Processing by ScriptAssetsController#coffeescript as HTML
|
|
1328
|
+
Completed 200 OK in 5ms (Views: 5.2ms)
|
|
1329
|
+
Processing by ScriptAssetsController#custom_script as HTML
|
|
1330
|
+
Completed 200 OK in 3ms (Views: 3.4ms)
|
|
1331
|
+
Processing by ScriptAssetsController#custom_script as HTML
|
|
1332
|
+
Completed 200 OK in 1ms (Views: 0.7ms)
|
|
1333
|
+
Processing by ScriptAssetsController#no_script as HTML
|
|
1334
|
+
Completed 200 OK in 1ms (Views: 1.4ms)
|
|
1335
|
+
Processing by ScriptAssetsController#production_mode as HTML
|
|
1336
|
+
Completed 200 OK in 3ms (Views: 3.1ms)
|
|
1337
|
+
Processing by StyleAssetsController#css as HTML
|
|
1338
|
+
Completed 200 OK in 4ms (Views: 3.9ms)
|
|
1339
|
+
Processing by StyleAssetsController#sass as HTML
|
|
1340
|
+
Completed 200 OK in 4ms (Views: 3.7ms)
|
|
1341
|
+
Processing by StyleAssetsController#css_sass as HTML
|
|
1342
|
+
Completed 200 OK in 3ms (Views: 3.2ms)
|
|
1343
|
+
Processing by StyleAssetsController#scss as HTML
|
|
1344
|
+
Completed 200 OK in 4ms (Views: 3.4ms)
|
|
1345
|
+
Processing by StyleAssetsController#css_scss as HTML
|
|
1346
|
+
Completed 200 OK in 4ms (Views: 3.8ms)
|
|
1347
|
+
Processing by StyleAssetsController#custom_style as HTML
|
|
1348
|
+
Completed 200 OK in 3ms (Views: 3.3ms)
|
|
1349
|
+
Processing by StyleAssetsController#custom_style as HTML
|
|
1350
|
+
Completed 200 OK in 1ms (Views: 0.5ms)
|
|
1351
|
+
Processing by StyleAssetsController#no_style as HTML
|
|
1352
|
+
Completed 200 OK in 1ms (Views: 1.3ms)
|
|
1353
|
+
Processing by StyleAssetsController#production_mode as HTML
|
|
1354
|
+
Completed 200 OK in 1ms (Views: 1.1ms)
|
|
1355
|
+
Processing by ViewTypesController#erb as HTML
|
|
1356
|
+
Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.6ms)
|
|
1357
|
+
Completed 200 OK in 5ms (Views: 4.5ms)
|
|
1358
|
+
Processing by ViewTypesController#haml as HTML
|
|
1359
|
+
Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.1ms)
|
|
1360
|
+
Completed 200 OK in 3ms (Views: 2.6ms)
|
|
1361
|
+
Processing by ErrorsController#missing_section as HTML
|
|
1362
|
+
Rendered errors/missing_section.html.erb within layouts/application (2.8ms)
|
|
1363
|
+
Completed 500 Internal Server Error in 9ms
|
|
1364
|
+
Processing by ImageAssetsController#gif as HTML
|
|
1365
|
+
Rendered image_assets/gif.html.erb within layouts/application (2.6ms)
|
|
1366
|
+
Completed 200 OK in 5ms (Views: 5.4ms)
|
|
1367
|
+
Processing by ImageAssetsController#jpg as HTML
|
|
1368
|
+
Rendered image_assets/jpg.html.erb within layouts/application (2.1ms)
|
|
1369
|
+
Completed 200 OK in 3ms (Views: 2.9ms)
|
|
1370
|
+
Processing by ImageAssetsController#jpeg as HTML
|
|
1371
|
+
Rendered image_assets/jpeg.html.erb within layouts/application (3.1ms)
|
|
1372
|
+
Completed 200 OK in 4ms (Views: 4.4ms)
|
|
1373
|
+
Processing by ImageAssetsController#png as HTML
|
|
1374
|
+
Rendered image_assets/png.html.erb within layouts/application (2.9ms)
|
|
1375
|
+
Completed 200 OK in 4ms (Views: 3.9ms)
|
|
1376
|
+
Processing by PartialsController#erb_section as HTML
|
|
1377
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/erb_section/_erb_section.html.erb (0.3ms)
|
|
1378
|
+
Rendered partials/erb_section.html.erb within layouts/application (4.7ms)
|
|
1379
|
+
Completed 200 OK in 8ms (Views: 8.2ms)
|
|
1380
|
+
Processing by PartialsController#haml_section as HTML
|
|
1381
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/haml_section/_haml_section.html.haml (0.8ms)
|
|
1382
|
+
Rendered partials/haml_section.html.erb within layouts/application (2.4ms)
|
|
1383
|
+
Completed 200 OK in 4ms (Views: 3.6ms)
|
|
1384
|
+
Processing by PartialsController#slim_section as HTML
|
|
1385
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/slim_section/_slim_section.html.slim (29.0ms)
|
|
1386
|
+
Rendered partials/slim_section.html.erb within layouts/application (30.4ms)
|
|
1387
|
+
Completed 200 OK in 31ms (Views: 31.4ms)
|
|
1388
|
+
Processing by PartialsController#no_options as HTML
|
|
1389
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/no_options/_no_options.html.erb (0.2ms)
|
|
1390
|
+
Rendered partials/no_options.html.erb within layouts/application (1.6ms)
|
|
1391
|
+
Completed 200 OK in 3ms (Views: 2.5ms)
|
|
1392
|
+
Processing by PartialsController#tag_option as HTML
|
|
1393
|
+
Rendered partials/tag_option.html.erb within layouts/application (0.4ms)
|
|
1394
|
+
Completed 200 OK in 1ms (Views: 1.2ms)
|
|
1395
|
+
Processing by PartialsController#custom_partial as HTML
|
|
1396
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.2ms)
|
|
1397
|
+
Rendered partials/custom_partial.html.erb within layouts/application (1.5ms)
|
|
1398
|
+
Completed 200 OK in 2ms (Views: 2.3ms)
|
|
1399
|
+
Processing by PartialsController#custom_partial as HTML
|
|
1400
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.0ms)
|
|
1401
|
+
Rendered partials/custom_partial.html.erb within layouts/application (0.3ms)
|
|
1402
|
+
Completed 200 OK in 1ms (Views: 0.6ms)
|
|
1403
|
+
Processing by PartialsController#disabled as HTML
|
|
1404
|
+
Rendered partials/disabled.html.erb within layouts/application (0.5ms)
|
|
1405
|
+
Completed 200 OK in 1ms (Views: 1.3ms)
|
|
1406
|
+
Processing by PartialsController#disabled as HTML
|
|
1407
|
+
Rendered partials/disabled.html.erb within layouts/application (0.2ms)
|
|
1408
|
+
Completed 200 OK in 1ms (Views: 0.6ms)
|
|
1409
|
+
Processing by PartialsController#production_mode as HTML
|
|
1410
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/production_mode/_production_mode.html.erb (0.2ms)
|
|
1411
|
+
Rendered partials/production_mode.html.erb within layouts/application (1.6ms)
|
|
1412
|
+
Completed 200 OK in 3ms (Views: 2.5ms)
|
|
1413
|
+
Processing by PartialsController#partial_with_block as HTML
|
|
1414
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/partial_with_block/_partial_with_block.html.haml (0.7ms)
|
|
1415
|
+
Rendered partials/partial_with_block.html.haml within layouts/application (2.6ms)
|
|
1416
|
+
Completed 200 OK in 3ms (Views: 3.4ms)
|
|
1417
|
+
Processing by PartialsController#custom_partial_with_block as HTML
|
|
1418
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial_with_block/_different_name.html.erb (0.3ms)
|
|
1419
|
+
Rendered partials/custom_partial_with_block.html.erb within layouts/application (1.6ms)
|
|
1420
|
+
Completed 200 OK in 3ms (Views: 2.4ms)
|
|
1421
|
+
Processing by ScriptAssetsController#javascript as HTML
|
|
1422
|
+
Rendered script_assets/javascript.html.erb within layouts/application (4.3ms)
|
|
1423
|
+
Completed 200 OK in 7ms (Views: 7.1ms)
|
|
1424
|
+
Processing by ScriptAssetsController#coffeescript as HTML
|
|
1425
|
+
Rendered script_assets/coffeescript.html.erb within layouts/application (196.2ms)
|
|
1426
|
+
Completed 200 OK in 197ms (Views: 197.3ms)
|
|
1427
|
+
Processing by ScriptAssetsController#custom_script as HTML
|
|
1428
|
+
Rendered script_assets/custom_script.html.erb within layouts/application (7.1ms)
|
|
1429
|
+
Completed 200 OK in 8ms (Views: 8.3ms)
|
|
1430
|
+
Processing by ScriptAssetsController#custom_script as HTML
|
|
1431
|
+
Rendered script_assets/custom_script.html.erb within layouts/application (0.4ms)
|
|
1432
|
+
Completed 200 OK in 1ms (Views: 0.8ms)
|
|
1433
|
+
Processing by ScriptAssetsController#no_script as HTML
|
|
1434
|
+
Rendered script_assets/no_script.html.erb within layouts/application (0.8ms)
|
|
1435
|
+
Completed 200 OK in 2ms (Views: 2.0ms)
|
|
1436
|
+
Processing by ScriptAssetsController#production_mode as HTML
|
|
1437
|
+
Rendered script_assets/production_mode.html.erb within layouts/application (5.1ms)
|
|
1438
|
+
Completed 200 OK in 6ms (Views: 6.2ms)
|
|
1439
|
+
Processing by StyleAssetsController#css as HTML
|
|
1440
|
+
Rendered style_assets/css.html.erb within layouts/application (5.3ms)
|
|
1441
|
+
Completed 200 OK in 9ms (Views: 8.5ms)
|
|
1442
|
+
Processing by StyleAssetsController#sass as HTML
|
|
1443
|
+
Rendered style_assets/sass.html.erb within layouts/application (163.6ms)
|
|
1444
|
+
Completed 200 OK in 165ms (Views: 164.9ms)
|
|
1445
|
+
Processing by StyleAssetsController#css_sass as HTML
|
|
1446
|
+
Rendered style_assets/css_sass.html.erb within layouts/application (5.1ms)
|
|
1447
|
+
Completed 200 OK in 6ms (Views: 6.1ms)
|
|
1448
|
+
Processing by StyleAssetsController#scss as HTML
|
|
1449
|
+
Rendered style_assets/scss.html.erb within layouts/application (8.3ms)
|
|
1450
|
+
Completed 200 OK in 10ms (Views: 9.8ms)
|
|
1451
|
+
Processing by StyleAssetsController#css_scss as HTML
|
|
1452
|
+
Rendered style_assets/css_scss.html.erb within layouts/application (5.2ms)
|
|
1453
|
+
Completed 200 OK in 6ms (Views: 6.1ms)
|
|
1454
|
+
Processing by StyleAssetsController#custom_style as HTML
|
|
1455
|
+
Rendered style_assets/custom_style.html.erb within layouts/application (4.7ms)
|
|
1456
|
+
Completed 200 OK in 6ms (Views: 6.0ms)
|
|
1457
|
+
Processing by StyleAssetsController#custom_style as HTML
|
|
1458
|
+
Rendered style_assets/custom_style.html.erb within layouts/application (0.3ms)
|
|
1459
|
+
Completed 200 OK in 1ms (Views: 0.6ms)
|
|
1460
|
+
Processing by StyleAssetsController#no_style as HTML
|
|
1461
|
+
Rendered style_assets/no_style.html.erb within layouts/application (0.6ms)
|
|
1462
|
+
Completed 200 OK in 2ms (Views: 1.6ms)
|
|
1463
|
+
Processing by StyleAssetsController#production_mode as HTML
|
|
1464
|
+
Rendered style_assets/production_mode.html.erb within layouts/application (0.5ms)
|
|
1465
|
+
Completed 200 OK in 2ms (Views: 1.7ms)
|
|
1466
|
+
Processing by ViewTypesController#erb as HTML
|
|
1467
|
+
Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.2ms)
|
|
1468
|
+
Rendered view_types/erb.html.erb within layouts/application (1.6ms)
|
|
1469
|
+
Completed 200 OK in 5ms (Views: 4.5ms)
|
|
1470
|
+
Processing by ViewTypesController#haml as HTML
|
|
1471
|
+
Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.0ms)
|
|
1472
|
+
Rendered view_types/haml.html.haml within layouts/application (1.0ms)
|
|
1473
|
+
Completed 200 OK in 2ms (Views: 1.8ms)
|
|
1474
|
+
Processing by ErrorsController#missing_section as HTML
|
|
1475
|
+
Rendered errors/missing_section.html.erb within layouts/application (2.8ms)
|
|
1476
|
+
Completed 500 Internal Server Error in 10ms
|
|
1477
|
+
Processing by ImageAssetsController#gif as HTML
|
|
1478
|
+
Rendered image_assets/gif.html.erb within layouts/application (1.9ms)
|
|
1479
|
+
Completed 200 OK in 5ms (Views: 4.6ms)
|
|
1480
|
+
Processing by ImageAssetsController#jpg as HTML
|
|
1481
|
+
Rendered image_assets/jpg.html.erb within layouts/application (1.4ms)
|
|
1482
|
+
Completed 200 OK in 2ms (Views: 2.1ms)
|
|
1483
|
+
Processing by ImageAssetsController#jpeg as HTML
|
|
1484
|
+
Rendered image_assets/jpeg.html.erb within layouts/application (1.3ms)
|
|
1485
|
+
Completed 200 OK in 2ms (Views: 2.0ms)
|
|
1486
|
+
Processing by ImageAssetsController#png as HTML
|
|
1487
|
+
Rendered image_assets/png.html.erb within layouts/application (1.3ms)
|
|
1488
|
+
Completed 200 OK in 2ms (Views: 2.0ms)
|
|
1489
|
+
Processing by PartialsController#erb_section as HTML
|
|
1490
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/erb_section/_erb_section.html.erb (0.3ms)
|
|
1491
|
+
Rendered partials/erb_section.html.erb within layouts/application (3.4ms)
|
|
1492
|
+
Completed 200 OK in 6ms (Views: 5.9ms)
|
|
1493
|
+
Processing by PartialsController#haml_section as HTML
|
|
1494
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/haml_section/_haml_section.html.haml (0.7ms)
|
|
1495
|
+
Rendered partials/haml_section.html.erb within layouts/application (1.9ms)
|
|
1496
|
+
Completed 200 OK in 3ms (Views: 2.6ms)
|
|
1497
|
+
Processing by PartialsController#slim_section as HTML
|
|
1498
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/slim_section/_slim_section.html.slim (29.9ms)
|
|
1499
|
+
Rendered partials/slim_section.html.erb within layouts/application (31.1ms)
|
|
1500
|
+
Completed 200 OK in 32ms (Views: 31.9ms)
|
|
1501
|
+
Processing by PartialsController#no_options as HTML
|
|
1502
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/no_options/_no_options.html.erb (0.2ms)
|
|
1503
|
+
Rendered partials/no_options.html.erb within layouts/application (1.4ms)
|
|
1504
|
+
Completed 200 OK in 2ms (Views: 2.1ms)
|
|
1505
|
+
Processing by PartialsController#tag_option as HTML
|
|
1506
|
+
Rendered partials/tag_option.html.erb within layouts/application (0.4ms)
|
|
1507
|
+
Completed 200 OK in 1ms (Views: 1.0ms)
|
|
1508
|
+
Processing by PartialsController#custom_partial as HTML
|
|
1509
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.2ms)
|
|
1510
|
+
Rendered partials/custom_partial.html.erb within layouts/application (1.4ms)
|
|
1511
|
+
Completed 200 OK in 2ms (Views: 2.1ms)
|
|
1512
|
+
Processing by PartialsController#custom_partial as HTML
|
|
1513
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.0ms)
|
|
1514
|
+
Rendered partials/custom_partial.html.erb within layouts/application (0.3ms)
|
|
1515
|
+
Completed 200 OK in 1ms (Views: 0.6ms)
|
|
1516
|
+
Processing by PartialsController#disabled as HTML
|
|
1517
|
+
Rendered partials/disabled.html.erb within layouts/application (0.4ms)
|
|
1518
|
+
Completed 200 OK in 1ms (Views: 1.1ms)
|
|
1519
|
+
Processing by PartialsController#disabled as HTML
|
|
1520
|
+
Rendered partials/disabled.html.erb within layouts/application (0.2ms)
|
|
1521
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
|
1522
|
+
Processing by PartialsController#production_mode as HTML
|
|
1523
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/production_mode/_production_mode.html.erb (0.2ms)
|
|
1524
|
+
Rendered partials/production_mode.html.erb within layouts/application (1.4ms)
|
|
1525
|
+
Completed 200 OK in 2ms (Views: 2.0ms)
|
|
1526
|
+
Processing by PartialsController#partial_with_block as HTML
|
|
1527
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/partial_with_block/_partial_with_block.html.haml (0.7ms)
|
|
1528
|
+
Rendered partials/partial_with_block.html.haml within layouts/application (2.4ms)
|
|
1529
|
+
Completed 200 OK in 3ms (Views: 3.0ms)
|
|
1530
|
+
Processing by PartialsController#custom_partial_with_block as HTML
|
|
1531
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial_with_block/_different_name.html.erb (0.3ms)
|
|
1532
|
+
Rendered partials/custom_partial_with_block.html.erb within layouts/application (1.5ms)
|
|
1533
|
+
Completed 200 OK in 2ms (Views: 2.2ms)
|
|
1534
|
+
Processing by ScriptAssetsController#javascript as HTML
|
|
1535
|
+
Rendered script_assets/javascript.html.erb within layouts/application (3.4ms)
|
|
1536
|
+
Completed 200 OK in 6ms (Views: 5.9ms)
|
|
1537
|
+
Processing by ScriptAssetsController#coffeescript as HTML
|
|
1538
|
+
Rendered script_assets/coffeescript.html.erb within layouts/application (2.6ms)
|
|
1539
|
+
Completed 200 OK in 3ms (Views: 3.4ms)
|
|
1540
|
+
Processing by ScriptAssetsController#custom_script as HTML
|
|
1541
|
+
Rendered script_assets/custom_script.html.erb within layouts/application (2.3ms)
|
|
1542
|
+
Completed 200 OK in 3ms (Views: 3.2ms)
|
|
1543
|
+
Processing by ScriptAssetsController#custom_script as HTML
|
|
1544
|
+
Rendered script_assets/custom_script.html.erb within layouts/application (0.2ms)
|
|
1545
|
+
Completed 200 OK in 1ms (Views: 0.5ms)
|
|
1546
|
+
Processing by ScriptAssetsController#no_script as HTML
|
|
1547
|
+
Rendered script_assets/no_script.html.erb within layouts/application (0.5ms)
|
|
1548
|
+
Completed 200 OK in 1ms (Views: 1.2ms)
|
|
1549
|
+
Processing by ScriptAssetsController#production_mode as HTML
|
|
1550
|
+
Rendered script_assets/production_mode.html.erb within layouts/application (2.0ms)
|
|
1551
|
+
Completed 200 OK in 3ms (Views: 2.7ms)
|
|
1552
|
+
Processing by StyleAssetsController#css as HTML
|
|
1553
|
+
Rendered style_assets/css.html.erb within layouts/application (3.2ms)
|
|
1554
|
+
Completed 200 OK in 6ms (Views: 5.9ms)
|
|
1555
|
+
Processing by StyleAssetsController#sass as HTML
|
|
1556
|
+
Rendered style_assets/sass.html.erb within layouts/application (3.3ms)
|
|
1557
|
+
Completed 200 OK in 5ms (Views: 4.4ms)
|
|
1558
|
+
Processing by StyleAssetsController#css_sass as HTML
|
|
1559
|
+
Rendered style_assets/css_sass.html.erb within layouts/application (2.3ms)
|
|
1560
|
+
Completed 200 OK in 3ms (Views: 3.1ms)
|
|
1561
|
+
Processing by StyleAssetsController#scss as HTML
|
|
1562
|
+
Rendered style_assets/scss.html.erb within layouts/application (2.7ms)
|
|
1563
|
+
Completed 200 OK in 4ms (Views: 3.5ms)
|
|
1564
|
+
Processing by StyleAssetsController#css_scss as HTML
|
|
1565
|
+
Rendered style_assets/css_scss.html.erb within layouts/application (2.3ms)
|
|
1566
|
+
Completed 200 OK in 3ms (Views: 3.1ms)
|
|
1567
|
+
Processing by StyleAssetsController#custom_style as HTML
|
|
1568
|
+
Rendered style_assets/custom_style.html.erb within layouts/application (2.1ms)
|
|
1569
|
+
Completed 200 OK in 3ms (Views: 2.9ms)
|
|
1570
|
+
Processing by StyleAssetsController#custom_style as HTML
|
|
1571
|
+
Rendered style_assets/custom_style.html.erb within layouts/application (0.2ms)
|
|
1572
|
+
Completed 200 OK in 1ms (Views: 0.5ms)
|
|
1573
|
+
Processing by StyleAssetsController#no_style as HTML
|
|
1574
|
+
Rendered style_assets/no_style.html.erb within layouts/application (0.6ms)
|
|
1575
|
+
Completed 200 OK in 2ms (Views: 1.5ms)
|
|
1576
|
+
Processing by StyleAssetsController#production_mode as HTML
|
|
1577
|
+
Rendered style_assets/production_mode.html.erb within layouts/application (0.4ms)
|
|
1578
|
+
Completed 200 OK in 1ms (Views: 1.1ms)
|
|
1579
|
+
Processing by ViewTypesController#erb as HTML
|
|
1580
|
+
Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.2ms)
|
|
1581
|
+
Rendered view_types/erb.html.erb within layouts/application (1.4ms)
|
|
1582
|
+
Completed 200 OK in 4ms (Views: 4.1ms)
|
|
1583
|
+
Processing by ViewTypesController#haml as HTML
|
|
1584
|
+
Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.0ms)
|
|
1585
|
+
Rendered view_types/haml.html.haml within layouts/application (1.0ms)
|
|
1586
|
+
Completed 200 OK in 2ms (Views: 1.6ms)
|
|
1587
|
+
Processing by ErrorsController#missing_section as HTML
|
|
1588
|
+
Rendered errors/missing_section.html.erb within layouts/application (3.2ms)
|
|
1589
|
+
Completed 500 Internal Server Error in 10ms
|
|
1590
|
+
Processing by ImageAssetsController#gif as HTML
|
|
1591
|
+
Rendered image_assets/gif.html.erb within layouts/application (1.8ms)
|
|
1592
|
+
Completed 200 OK in 5ms (Views: 4.7ms)
|
|
1593
|
+
Processing by ImageAssetsController#jpg as HTML
|
|
1594
|
+
Rendered image_assets/jpg.html.erb within layouts/application (1.4ms)
|
|
1595
|
+
Completed 200 OK in 2ms (Views: 2.1ms)
|
|
1596
|
+
Processing by ImageAssetsController#jpeg as HTML
|
|
1597
|
+
Rendered image_assets/jpeg.html.erb within layouts/application (1.3ms)
|
|
1598
|
+
Completed 200 OK in 2ms (Views: 2.1ms)
|
|
1599
|
+
Processing by ImageAssetsController#png as HTML
|
|
1600
|
+
Rendered image_assets/png.html.erb within layouts/application (1.3ms)
|
|
1601
|
+
Completed 200 OK in 2ms (Views: 2.1ms)
|
|
1602
|
+
Processing by PartialsController#erb_section as HTML
|
|
1603
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/erb_section/_erb_section.html.erb (0.4ms)
|
|
1604
|
+
Rendered partials/erb_section.html.erb within layouts/application (4.6ms)
|
|
1605
|
+
Completed 200 OK in 8ms (Views: 8.2ms)
|
|
1606
|
+
Processing by PartialsController#haml_section as HTML
|
|
1607
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/haml_section/_haml_section.html.haml (0.7ms)
|
|
1608
|
+
Rendered partials/haml_section.html.erb within layouts/application (2.1ms)
|
|
1609
|
+
Completed 200 OK in 3ms (Views: 3.2ms)
|
|
1610
|
+
Processing by PartialsController#slim_section as HTML
|
|
1611
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/slim_section/_slim_section.html.slim (31.0ms)
|
|
1612
|
+
Rendered partials/slim_section.html.erb within layouts/application (32.4ms)
|
|
1613
|
+
Completed 200 OK in 33ms (Views: 33.4ms)
|
|
1614
|
+
Processing by PartialsController#no_options as HTML
|
|
1615
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/no_options/_no_options.html.erb (0.2ms)
|
|
1616
|
+
Rendered partials/no_options.html.erb within layouts/application (1.5ms)
|
|
1617
|
+
Completed 200 OK in 3ms (Views: 2.5ms)
|
|
1618
|
+
Processing by PartialsController#tag_option as HTML
|
|
1619
|
+
Rendered partials/tag_option.html.erb within layouts/application (0.4ms)
|
|
1620
|
+
Completed 200 OK in 1ms (Views: 1.2ms)
|
|
1621
|
+
Processing by PartialsController#custom_partial as HTML
|
|
1622
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.2ms)
|
|
1623
|
+
Rendered partials/custom_partial.html.erb within layouts/application (1.5ms)
|
|
1624
|
+
Completed 200 OK in 2ms (Views: 2.3ms)
|
|
1625
|
+
Processing by PartialsController#custom_partial as HTML
|
|
1626
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.0ms)
|
|
1627
|
+
Rendered partials/custom_partial.html.erb within layouts/application (0.3ms)
|
|
1628
|
+
Completed 200 OK in 1ms (Views: 0.6ms)
|
|
1629
|
+
Processing by PartialsController#disabled as HTML
|
|
1630
|
+
Rendered partials/disabled.html.erb within layouts/application (0.5ms)
|
|
1631
|
+
Completed 200 OK in 2ms (Views: 1.5ms)
|
|
1632
|
+
Processing by PartialsController#disabled as HTML
|
|
1633
|
+
Rendered partials/disabled.html.erb within layouts/application (0.1ms)
|
|
1634
|
+
Completed 200 OK in 0ms (Views: 0.4ms)
|
|
1635
|
+
Processing by PartialsController#production_mode as HTML
|
|
1636
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/production_mode/_production_mode.html.erb (0.2ms)
|
|
1637
|
+
Rendered partials/production_mode.html.erb within layouts/application (1.6ms)
|
|
1638
|
+
Completed 200 OK in 2ms (Views: 2.4ms)
|
|
1639
|
+
Processing by PartialsController#partial_with_block as HTML
|
|
1640
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/partial_with_block/_partial_with_block.html.haml (0.7ms)
|
|
1641
|
+
Rendered partials/partial_with_block.html.haml within layouts/application (2.6ms)
|
|
1642
|
+
Completed 200 OK in 4ms (Views: 3.4ms)
|
|
1643
|
+
Processing by PartialsController#custom_partial_with_block as HTML
|
|
1644
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial_with_block/_different_name.html.erb (0.3ms)
|
|
1645
|
+
Rendered partials/custom_partial_with_block.html.erb within layouts/application (1.7ms)
|
|
1646
|
+
Completed 200 OK in 3ms (Views: 2.5ms)
|
|
1647
|
+
Processing by ScriptAssetsController#javascript as HTML
|
|
1648
|
+
Rendered script_assets/javascript.html.erb within layouts/application (3.9ms)
|
|
1649
|
+
Completed 200 OK in 7ms (Views: 6.9ms)
|
|
1650
|
+
Processing by ScriptAssetsController#coffeescript as HTML
|
|
1651
|
+
Rendered script_assets/coffeescript.html.erb within layouts/application (2.6ms)
|
|
1652
|
+
Completed 200 OK in 4ms (Views: 3.5ms)
|
|
1653
|
+
Processing by ScriptAssetsController#custom_script as HTML
|
|
1654
|
+
Rendered script_assets/custom_script.html.erb within layouts/application (2.3ms)
|
|
1655
|
+
Completed 200 OK in 3ms (Views: 3.3ms)
|
|
1656
|
+
Processing by ScriptAssetsController#custom_script as HTML
|
|
1657
|
+
Rendered script_assets/custom_script.html.erb within layouts/application (0.3ms)
|
|
1658
|
+
Completed 200 OK in 1ms (Views: 0.7ms)
|
|
1659
|
+
Processing by ScriptAssetsController#no_script as HTML
|
|
1660
|
+
Rendered script_assets/no_script.html.erb within layouts/application (0.6ms)
|
|
1661
|
+
Completed 200 OK in 2ms (Views: 1.5ms)
|
|
1662
|
+
Processing by ScriptAssetsController#production_mode as HTML
|
|
1663
|
+
Rendered script_assets/production_mode.html.erb within layouts/application (2.1ms)
|
|
1664
|
+
Completed 200 OK in 3ms (Views: 2.9ms)
|
|
1665
|
+
Processing by StyleAssetsController#css as HTML
|
|
1666
|
+
Rendered style_assets/css.html.erb within layouts/application (2.4ms)
|
|
1667
|
+
Completed 200 OK in 5ms (Views: 5.4ms)
|
|
1668
|
+
Processing by StyleAssetsController#sass as HTML
|
|
1669
|
+
Rendered style_assets/sass.html.erb within layouts/application (2.5ms)
|
|
1670
|
+
Completed 200 OK in 3ms (Views: 3.4ms)
|
|
1671
|
+
Processing by StyleAssetsController#css_sass as HTML
|
|
1672
|
+
Rendered style_assets/css_sass.html.erb within layouts/application (2.1ms)
|
|
1673
|
+
Completed 200 OK in 3ms (Views: 3.0ms)
|
|
1674
|
+
Processing by StyleAssetsController#scss as HTML
|
|
1675
|
+
Rendered style_assets/scss.html.erb within layouts/application (2.5ms)
|
|
1676
|
+
Completed 200 OK in 3ms (Views: 3.2ms)
|
|
1677
|
+
Processing by StyleAssetsController#css_scss as HTML
|
|
1678
|
+
Rendered style_assets/css_scss.html.erb within layouts/application (2.4ms)
|
|
1679
|
+
Completed 200 OK in 3ms (Views: 3.4ms)
|
|
1680
|
+
Processing by StyleAssetsController#custom_style as HTML
|
|
1681
|
+
Rendered style_assets/custom_style.html.erb within layouts/application (2.2ms)
|
|
1682
|
+
Completed 200 OK in 3ms (Views: 3.1ms)
|
|
1683
|
+
Processing by StyleAssetsController#custom_style as HTML
|
|
1684
|
+
Rendered style_assets/custom_style.html.erb within layouts/application (0.3ms)
|
|
1685
|
+
Completed 200 OK in 1ms (Views: 0.7ms)
|
|
1686
|
+
Processing by StyleAssetsController#no_style as HTML
|
|
1687
|
+
Rendered style_assets/no_style.html.erb within layouts/application (1.0ms)
|
|
1688
|
+
Completed 200 OK in 6ms (Views: 6.3ms)
|
|
1689
|
+
Processing by StyleAssetsController#production_mode as HTML
|
|
1690
|
+
Rendered style_assets/production_mode.html.erb within layouts/application (0.5ms)
|
|
1691
|
+
Completed 200 OK in 2ms (Views: 1.4ms)
|
|
1692
|
+
Processing by ViewTypesController#erb as HTML
|
|
1693
|
+
Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.2ms)
|
|
1694
|
+
Rendered view_types/erb.html.erb within layouts/application (1.5ms)
|
|
1695
|
+
Completed 200 OK in 4ms (Views: 4.3ms)
|
|
1696
|
+
Processing by ViewTypesController#haml as HTML
|
|
1697
|
+
Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.0ms)
|
|
1698
|
+
Rendered view_types/haml.html.haml within layouts/application (1.0ms)
|
|
1699
|
+
Completed 200 OK in 2ms (Views: 1.8ms)
|
|
1700
|
+
Processing by ErrorsController#missing_section as HTML
|
|
1701
|
+
Rendered errors/missing_section.html.erb within layouts/application (2.8ms)
|
|
1702
|
+
Completed 500 Internal Server Error in 9ms
|
|
1703
|
+
Processing by ImageAssetsController#gif as HTML
|
|
1704
|
+
Rendered image_assets/gif.html.erb within layouts/application (1.8ms)
|
|
1705
|
+
Completed 200 OK in 5ms (Views: 4.6ms)
|
|
1706
|
+
Processing by ImageAssetsController#jpg as HTML
|
|
1707
|
+
Rendered image_assets/jpg.html.erb within layouts/application (1.5ms)
|
|
1708
|
+
Completed 200 OK in 2ms (Views: 2.3ms)
|
|
1709
|
+
Processing by ImageAssetsController#jpeg as HTML
|
|
1710
|
+
Rendered image_assets/jpeg.html.erb within layouts/application (1.5ms)
|
|
1711
|
+
Completed 200 OK in 2ms (Views: 2.2ms)
|
|
1712
|
+
Processing by ImageAssetsController#png as HTML
|
|
1713
|
+
Rendered image_assets/png.html.erb within layouts/application (1.3ms)
|
|
1714
|
+
Completed 200 OK in 2ms (Views: 2.0ms)
|
|
1715
|
+
Processing by PartialsController#erb_section as HTML
|
|
1716
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/erb_section/_erb_section.html.erb (0.3ms)
|
|
1717
|
+
Rendered partials/erb_section.html.erb within layouts/application (3.4ms)
|
|
1718
|
+
Completed 200 OK in 6ms (Views: 5.9ms)
|
|
1719
|
+
Processing by PartialsController#haml_section as HTML
|
|
1720
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/haml_section/_haml_section.html.haml (0.7ms)
|
|
1721
|
+
Rendered partials/haml_section.html.erb within layouts/application (1.8ms)
|
|
1722
|
+
Completed 200 OK in 3ms (Views: 2.6ms)
|
|
1723
|
+
Processing by PartialsController#slim_section as HTML
|
|
1724
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/slim_section/_slim_section.html.slim (32.1ms)
|
|
1725
|
+
Rendered partials/slim_section.html.erb within layouts/application (33.3ms)
|
|
1726
|
+
Completed 200 OK in 34ms (Views: 34.1ms)
|
|
1727
|
+
Processing by PartialsController#no_options as HTML
|
|
1728
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/no_options/_no_options.html.erb (0.2ms)
|
|
1729
|
+
Rendered partials/no_options.html.erb within layouts/application (1.5ms)
|
|
1730
|
+
Completed 200 OK in 2ms (Views: 2.3ms)
|
|
1731
|
+
Processing by PartialsController#tag_option as HTML
|
|
1732
|
+
Rendered partials/tag_option.html.erb within layouts/application (0.4ms)
|
|
1733
|
+
Completed 200 OK in 1ms (Views: 1.1ms)
|
|
1734
|
+
Processing by PartialsController#custom_partial as HTML
|
|
1735
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.2ms)
|
|
1736
|
+
Rendered partials/custom_partial.html.erb within layouts/application (1.3ms)
|
|
1737
|
+
Completed 200 OK in 2ms (Views: 2.0ms)
|
|
1738
|
+
Processing by PartialsController#custom_partial as HTML
|
|
1739
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.0ms)
|
|
1740
|
+
Rendered partials/custom_partial.html.erb within layouts/application (0.3ms)
|
|
1741
|
+
Completed 200 OK in 1ms (Views: 0.7ms)
|
|
1742
|
+
Processing by PartialsController#disabled as HTML
|
|
1743
|
+
Rendered partials/disabled.html.erb within layouts/application (0.5ms)
|
|
1744
|
+
Completed 200 OK in 1ms (Views: 1.2ms)
|
|
1745
|
+
Processing by PartialsController#disabled as HTML
|
|
1746
|
+
Rendered partials/disabled.html.erb within layouts/application (0.1ms)
|
|
1747
|
+
Completed 200 OK in 0ms (Views: 0.4ms)
|
|
1748
|
+
Processing by PartialsController#production_mode as HTML
|
|
1749
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/production_mode/_production_mode.html.erb (0.2ms)
|
|
1750
|
+
Rendered partials/production_mode.html.erb within layouts/application (1.4ms)
|
|
1751
|
+
Completed 200 OK in 2ms (Views: 2.1ms)
|
|
1752
|
+
Processing by PartialsController#partial_with_block as HTML
|
|
1753
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/partial_with_block/_partial_with_block.html.haml (0.7ms)
|
|
1754
|
+
Rendered partials/partial_with_block.html.haml within layouts/application (2.5ms)
|
|
1755
|
+
Completed 200 OK in 3ms (Views: 3.2ms)
|
|
1756
|
+
Processing by PartialsController#custom_partial_with_block as HTML
|
|
1757
|
+
Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial_with_block/_different_name.html.erb (0.3ms)
|
|
1758
|
+
Rendered partials/custom_partial_with_block.html.erb within layouts/application (1.6ms)
|
|
1759
|
+
Completed 200 OK in 2ms (Views: 2.3ms)
|
|
1760
|
+
Processing by ScriptAssetsController#javascript as HTML
|
|
1761
|
+
Rendered script_assets/javascript.html.erb within layouts/application (3.9ms)
|
|
1762
|
+
Completed 200 OK in 7ms (Views: 6.5ms)
|
|
1763
|
+
Processing by ScriptAssetsController#coffeescript as HTML
|
|
1764
|
+
Rendered script_assets/coffeescript.html.erb within layouts/application (2.7ms)
|
|
1765
|
+
Completed 200 OK in 4ms (Views: 3.4ms)
|
|
1766
|
+
Processing by ScriptAssetsController#custom_script as HTML
|
|
1767
|
+
Rendered script_assets/custom_script.html.erb within layouts/application (3.0ms)
|
|
1768
|
+
Completed 200 OK in 4ms (Views: 4.0ms)
|
|
1769
|
+
Processing by ScriptAssetsController#custom_script as HTML
|
|
1770
|
+
Rendered script_assets/custom_script.html.erb within layouts/application (0.4ms)
|
|
1771
|
+
Completed 200 OK in 1ms (Views: 0.9ms)
|
|
1772
|
+
Processing by ScriptAssetsController#no_script as HTML
|
|
1773
|
+
Rendered script_assets/no_script.html.erb within layouts/application (0.7ms)
|
|
1774
|
+
Completed 200 OK in 2ms (Views: 1.7ms)
|
|
1775
|
+
Processing by ScriptAssetsController#production_mode as HTML
|
|
1776
|
+
Rendered script_assets/production_mode.html.erb within layouts/application (2.4ms)
|
|
1777
|
+
Completed 200 OK in 3ms (Views: 3.2ms)
|
|
1778
|
+
Processing by StyleAssetsController#css as HTML
|
|
1779
|
+
Rendered style_assets/css.html.erb within layouts/application (2.4ms)
|
|
1780
|
+
Completed 200 OK in 5ms (Views: 5.1ms)
|
|
1781
|
+
Processing by StyleAssetsController#sass as HTML
|
|
1782
|
+
Rendered style_assets/sass.html.erb within layouts/application (2.4ms)
|
|
1783
|
+
Completed 200 OK in 3ms (Views: 3.2ms)
|
|
1784
|
+
Processing by StyleAssetsController#css_sass as HTML
|
|
1785
|
+
Rendered style_assets/css_sass.html.erb within layouts/application (2.1ms)
|
|
1786
|
+
Completed 200 OK in 3ms (Views: 2.8ms)
|
|
1787
|
+
Processing by StyleAssetsController#scss as HTML
|
|
1788
|
+
Rendered style_assets/scss.html.erb within layouts/application (3.4ms)
|
|
1789
|
+
Completed 200 OK in 5ms (Views: 4.4ms)
|
|
1790
|
+
Processing by StyleAssetsController#css_scss as HTML
|
|
1791
|
+
Rendered style_assets/css_scss.html.erb within layouts/application (2.8ms)
|
|
1792
|
+
Completed 200 OK in 4ms (Views: 3.8ms)
|
|
1793
|
+
Processing by StyleAssetsController#custom_style as HTML
|
|
1794
|
+
Rendered style_assets/custom_style.html.erb within layouts/application (6.4ms)
|
|
1795
|
+
Completed 200 OK in 7ms (Views: 7.2ms)
|
|
1796
|
+
Processing by StyleAssetsController#custom_style as HTML
|
|
1797
|
+
Rendered style_assets/custom_style.html.erb within layouts/application (0.3ms)
|
|
1798
|
+
Completed 200 OK in 1ms (Views: 0.7ms)
|
|
1799
|
+
Processing by StyleAssetsController#no_style as HTML
|
|
1800
|
+
Rendered style_assets/no_style.html.erb within layouts/application (0.6ms)
|
|
1801
|
+
Completed 200 OK in 1ms (Views: 1.3ms)
|
|
1802
|
+
Processing by StyleAssetsController#production_mode as HTML
|
|
1803
|
+
Rendered style_assets/production_mode.html.erb within layouts/application (0.4ms)
|
|
1804
|
+
Completed 200 OK in 1ms (Views: 1.1ms)
|
|
1805
|
+
Processing by ViewTypesController#erb as HTML
|
|
1806
|
+
Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.2ms)
|
|
1807
|
+
Rendered view_types/erb.html.erb within layouts/application (1.4ms)
|
|
1808
|
+
Completed 200 OK in 4ms (Views: 3.9ms)
|
|
1809
|
+
Processing by ViewTypesController#haml as HTML
|
|
1810
|
+
Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.0ms)
|
|
1811
|
+
Rendered view_types/haml.html.haml within layouts/application (1.0ms)
|
|
1812
|
+
Completed 200 OK in 2ms (Views: 1.7ms)
|
data/spec/dummy/tmp/cache/assets/test/sass/6895cbbabdbdd68bfd5eaeb8a7205320b5ae8570/sass.sassc
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/spec/dummy/tmp/cache/assets/test/sass/c4f2628633a30efcaac4adae6d64dc98a3dc5098/scss.scssc
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -43,6 +43,30 @@ describe SectionsRails::PartialParser do
|
|
|
43
43
|
expect(SectionsRails::PartialParser.find_sections('= section "alpha", css: false')).to eq ['alpha']
|
|
44
44
|
end
|
|
45
45
|
|
|
46
|
+
it 'finds decorator sections with symbols' do
|
|
47
|
+
expect(SectionsRails::PartialParser.find_sections("h.section :alpha")).to eq ['alpha']
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
it 'finds decorator sections with symbols using verbose helpers' do
|
|
51
|
+
expect(SectionsRails::PartialParser.find_sections("helpers.section :alpha")).to eq ['alpha']
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
it 'finds decorator sections with symbols and parens' do
|
|
55
|
+
expect(SectionsRails::PartialParser.find_sections("h.section(:alpha)")).to eq ['alpha']
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
it 'finds decorator sections with single quotes' do
|
|
59
|
+
expect(SectionsRails::PartialParser.find_sections("h.section 'alpha'")).to eq ['alpha']
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
it 'finds decorator sections with double quotes' do
|
|
63
|
+
expect(SectionsRails::PartialParser.find_sections('h.section "alpha"')).to eq ['alpha']
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
it 'finds decorator sections with parameters' do
|
|
67
|
+
expect(SectionsRails::PartialParser.find_sections('h.section "alpha", css: false')).to eq ['alpha']
|
|
68
|
+
end
|
|
69
|
+
|
|
46
70
|
it 'finds all results in the text' do
|
|
47
71
|
expect(SectionsRails::PartialParser.find_sections("one <%= section 'alpha' \ntwo <%= section 'beta'")).to eq ['alpha', 'beta']
|
|
48
72
|
end
|
|
@@ -16,6 +16,18 @@ describe "SectionsRails::ViewFinder" do
|
|
|
16
16
|
expect(result).to include 'spec/sections_rails/view_finder_spec/haml/_haml.html.haml'
|
|
17
17
|
end
|
|
18
18
|
|
|
19
|
+
it 'returns all ruby files' do
|
|
20
|
+
expect(result).to include 'spec/sections_rails/view_finder_spec/rb/decorator.rb'
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
it 'does not return js files' do
|
|
24
|
+
expect(result).not_to include 'spec/sections_rails/view_finder_spec/assets/javascript.js'
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
it 'does not return css files' do
|
|
28
|
+
expect(result).not_to include 'spec/sections_rails/view_finder_spec/assets/stylesheet.css'
|
|
29
|
+
end
|
|
30
|
+
|
|
19
31
|
it 'returns views that are deeper nested in the directory structure' do
|
|
20
32
|
expect(result).to include 'spec/sections_rails/view_finder_spec/nested/deeper/nested.html.erb'
|
|
21
33
|
end
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sections_rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.11.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kevin Goslar
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-12-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -207,9 +207,12 @@ files:
|
|
|
207
207
|
- spec/sections_rails/partial_parser_spec.rb
|
|
208
208
|
- spec/sections_rails/section_spec.rb
|
|
209
209
|
- spec/sections_rails/view_finder_spec.rb
|
|
210
|
+
- spec/sections_rails/view_finder_spec/assets/javascript.js
|
|
211
|
+
- spec/sections_rails/view_finder_spec/assets/stylesheet.css
|
|
210
212
|
- spec/sections_rails/view_finder_spec/erb/_erb.html.erb
|
|
211
213
|
- spec/sections_rails/view_finder_spec/haml/_haml.html.haml
|
|
212
214
|
- spec/sections_rails/view_finder_spec/nested/deeper/nested.html.erb
|
|
215
|
+
- spec/sections_rails/view_finder_spec/rb/decorator.rb
|
|
213
216
|
- spec/spec_helper.rb
|
|
214
217
|
homepage: https://github.com/kevgo/sections_rails
|
|
215
218
|
licenses: []
|
|
@@ -338,8 +341,11 @@ test_files:
|
|
|
338
341
|
- spec/sections_rails/config_spec.rb
|
|
339
342
|
- spec/sections_rails/partial_parser_spec.rb
|
|
340
343
|
- spec/sections_rails/section_spec.rb
|
|
344
|
+
- spec/sections_rails/view_finder_spec/assets/javascript.js
|
|
345
|
+
- spec/sections_rails/view_finder_spec/assets/stylesheet.css
|
|
341
346
|
- spec/sections_rails/view_finder_spec/erb/_erb.html.erb
|
|
342
347
|
- spec/sections_rails/view_finder_spec/haml/_haml.html.haml
|
|
343
348
|
- spec/sections_rails/view_finder_spec/nested/deeper/nested.html.erb
|
|
349
|
+
- spec/sections_rails/view_finder_spec/rb/decorator.rb
|
|
344
350
|
- spec/sections_rails/view_finder_spec.rb
|
|
345
351
|
- spec/spec_helper.rb
|