sections_rails 0.6.11 → 0.6.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,21 @@
1
+ module SectionsRails
2
+ module PartialParser
3
+
4
+ # Returns a list of all section names in the given text.
5
+ #
6
+ # @param [ String ] text
7
+ # @return [ Array<String> ]
8
+ def self.find_sections text
9
+ return [] if text.blank?
10
+
11
+ # Find sections in ERB templates.
12
+ result = text.scan(/<%=\s*section\s+['":]([^'",\s]+)/).flatten.sort.uniq
13
+
14
+ # Find sections in HAML templates.
15
+ result.concat text.scan(/^\s*\=\s*section\s+['":]([^'",\s]+)/).flatten.sort.uniq
16
+
17
+ result
18
+ end
19
+ end
20
+ end
21
+
@@ -1,5 +1,6 @@
1
1
  module SectionsRails
2
2
  require "sections_rails/config"
3
+ require 'sections_rails/partial_parser'
3
4
 
4
5
  class Section
5
6
 
@@ -65,6 +66,15 @@ module SectionsRails
65
66
  @partial_includepath ||= File.join(directory_name, filename, "#{filename}").gsub(/^\//, '')
66
67
  end
67
68
 
69
+ # Returns the content of this sections partial.
70
+ def partial_content
71
+ return @partial_content if @has_partial_content
72
+ @has_partial_content = true
73
+ if (partial_path = find_partial_filepath)
74
+ @partial_content = IO.read partial_path
75
+ end
76
+ end
77
+
68
78
  # Returns the asset path of asset with the given extensions.
69
79
  # Helper method.
70
80
  def find_asset_includepath asset_option, extensions
@@ -106,21 +116,6 @@ module SectionsRails
106
116
  nil
107
117
  end
108
118
 
109
- # Returns a list of all section names in the given text.
110
- #
111
- # @param [ String ] text
112
- # @return [ Array<String> ]
113
- def self.find_sections text
114
-
115
- # Find sections in ERB templates.
116
- result = text.scan(/<%=\s*section\s+['":]([^'",\s]+)/).flatten.sort.uniq
117
-
118
- # Find sections in HAML templates.
119
- result.concat text.scan(/^\s*\=\s*section\s+['":]([^'",\s]+)/).flatten.sort.uniq
120
-
121
- result
122
- end
123
-
124
119
  # TODO: replace this with find_asset.
125
120
  def has_asset? *extensions
126
121
  extensions.flatten.each do |ext|
@@ -145,6 +140,24 @@ module SectionsRails
145
140
  @view.lookup_context.template_exists? partial_includepath
146
141
  end
147
142
 
143
+ # Returns the sections that this section references.
144
+ # If 'recursive = true' is given, searches recursively for sections referenced by the referenced sections.
145
+ # Otherwise, simply returns the sections that are referenced by this section.
146
+ def referenced_sections recursive = true
147
+ result = PartialParser.find_sections partial_content
148
+
149
+ # Find all sections within the already known sections.
150
+ if recursive
151
+ i = -1
152
+ while (i += 1) < result.size
153
+ Section.new(result[i]).referenced_sections(false).each do |referenced_section|
154
+ result << referenced_section unless result.include? referenced_section
155
+ end
156
+ end
157
+ end
158
+ result.sort!
159
+ end
160
+
148
161
  def render
149
162
  result = []
150
163
 
@@ -1,3 +1,3 @@
1
1
  module SectionsRails
2
- VERSION = "0.6.11"
2
+ VERSION = "0.6.12"
3
3
  end
@@ -0,0 +1,32 @@
1
+ module SectionsRails
2
+ module ViewFinder
3
+
4
+ # Returns an array with the file name of all views in the given directory.
5
+ # Views are all files that end in .html.erb
6
+ def self.find_all_views root
7
+ result = []
8
+ Dir.entries(root).each do |view_file|
9
+ next if ['.', '..', '.gitkeep'].include? view_file
10
+ next if view_file[-4..-1] == '.swp'
11
+ full_path = "#{root}/#{view_file}"
12
+ if File.directory? full_path
13
+ result.concat find_all_views(full_path)
14
+ else
15
+ result << full_path
16
+ end
17
+ end
18
+ result
19
+ end
20
+
21
+ # Used for :prepare_pages. Not used right now.
22
+ def self.parse_views views
23
+ result = {}
24
+ views_to_parse.each do |view_to_parse|
25
+ view_text = IO.read(File.join root, view_to_parse)
26
+ result[view_to_parse] = find_sections_in_text view_text
27
+ end
28
+ result
29
+ end
30
+
31
+ end
32
+ end
@@ -1,25 +1,20 @@
1
+ require 'sections_rails/view_finder'
2
+
1
3
  namespace :sections do
2
4
 
3
5
  desc "Prepares the assets for precompilation in a setup with a single application.js file"
4
6
  task :prepare do
5
- print "\nPreparing sections assets ..." ; STDOUT.flush
7
+ puts "\nPreparing sections assets:"
6
8
 
7
- # Find all sections used in the views.
8
- sections = find_all_views('app/views').map do |view|
9
- SectionsRails::Section.find_sections IO.read "app/views/#{view}"
10
- end.flatten.sort.uniq
11
-
12
- # Find all sections within the already known sections.
13
- i = 0
14
- while i < sections.size
15
- section = sections[i]
16
- referenced_sections = find_sections_in_section section
17
- referenced_sections.each do |referenced_section|
18
- sections << referenced_section unless sections.include? referenced_section
9
+ sections = SectionsRails::ViewFinder.find_all_views('app/views').map do |view|
10
+ SectionsRails::PartialParser.find_sections(IO.read view).map do |section_name|
11
+ sections = SectionsRails::Section.new(section_name).referenced_sections
12
+ sections << section_name
13
+ puts "* #{section_name}: #{sections.join ', '}"
14
+ sections
19
15
  end
20
- i += 1
21
- end
22
- sections.sort!
16
+ end.flatten.sort.uniq
17
+ puts ''
23
18
 
24
19
  # Create the require file for application.js.
25
20
  File.open "app/assets/javascripts/application_sections.js", 'w' do |file|
@@ -35,13 +30,11 @@ namespace :sections do
35
30
  file.write "/*\n"
36
31
  sections.each do |section_name|
37
32
  section = SectionsRails::Section.new section_name
38
- js_asset = section.find_css_includepath
39
- file.write "*= require #{js_asset}\n" if js_asset
33
+ css_asset = section.find_css_includepath
34
+ file.write " *= require #{css_asset}\n" if css_asset
40
35
  end
41
36
  file.write " */"
42
37
  end
43
-
44
- puts " done.\n\n"
45
38
  end
46
39
 
47
40
  desc "Prepares the assets for precompilation in a setup with multiple files per page."
@@ -90,42 +83,9 @@ namespace :sections do
90
83
  end
91
84
 
92
85
 
93
- # Returns an array with the file name of all views in the given directory.
94
- # Views are all files that end in .html.erb
95
- def find_all_views root
96
- result = []
97
- Dir.entries(root).each do |dir|
98
- next if ['.', '..'].include? dir
99
- Dir.entries(File.join(root, dir)).each do |view_file|
100
- next if ['.', '..'].include? view_file
101
- next if view_file[-4..-1] == '.swp'
102
- view_path = File.join(dir, view_file)
103
- next if File.directory? "#{root}/#{view_path}"
104
- result << view_path
105
- end
106
- end
107
- result
108
- end
109
-
110
- # Used for :prepare_pages. Not used right now.
111
- def parse_views views
112
- result = {}
113
- views_to_parse.each do |view_to_parse|
114
- view_text = IO.read(File.join root, view_to_parse)
115
- result[view_to_parse] = find_sections_in_text view_text
116
- end
117
- result
118
- end
119
-
120
-
121
86
  def find_sections_in_section section_name
122
87
  section = SectionsRails::Section.new section_name
123
- partial_path = section.find_partial_filepath
124
- if partial_path
125
- SectionsRails::Section.find_sections IO.read partial_path
126
- else
127
- []
128
- end
88
+ SectionsRails::Section.find_sections section.partial_content
129
89
  end
130
90
  end
131
91
 
@@ -16365,3 +16365,674 @@ Completed 200 OK in 3ms (Views: 2.5ms)
16365
16365
  Processing by ViewTypesController#haml as HTML
16366
16366
  Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.0ms)
16367
16367
  Completed 200 OK in 2ms (Views: 2.3ms)
16368
+ Processing by ErrorsController#missing_section as HTML
16369
+ Rendered errors/missing_section.html.erb within layouts/application (0.9ms)
16370
+ Completed 500 Internal Server Error in 9ms
16371
+ Processing by PartialsController#erb_section as HTML
16372
+ Rendered /Users/kevin/sections_rails/app/sections/partials/erb_section/_erb_section.html.erb (0.3ms)
16373
+ Completed 200 OK in 8ms (Views: 7.4ms)
16374
+ Processing by PartialsController#haml_section as HTML
16375
+ Rendered /Users/kevin/sections_rails/app/sections/partials/haml_section/_haml_section.html.haml (0.6ms)
16376
+ Completed 200 OK in 4ms (Views: 3.8ms)
16377
+ Processing by PartialsController#no_options as HTML
16378
+ Rendered /Users/kevin/sections_rails/app/sections/partials/no_options/_no_options.html.erb (0.2ms)
16379
+ Completed 200 OK in 4ms (Views: 3.4ms)
16380
+ Processing by PartialsController#custom_partial as HTML
16381
+ Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.2ms)
16382
+ Completed 200 OK in 20ms (Views: 19.6ms)
16383
+ Processing by PartialsController#custom_partial as HTML
16384
+ Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.0ms)
16385
+ Completed 200 OK in 2ms (Views: 1.8ms)
16386
+ Processing by PartialsController#disabled as HTML
16387
+ Completed 200 OK in 2ms (Views: 2.0ms)
16388
+ Processing by PartialsController#disabled as HTML
16389
+ Completed 200 OK in 1ms (Views: 1.1ms)
16390
+ Processing by PartialsController#production_mode as HTML
16391
+ Rendered /Users/kevin/sections_rails/app/sections/partials/production_mode/_production_mode.html.erb (0.2ms)
16392
+ Completed 200 OK in 3ms (Views: 3.2ms)
16393
+ Processing by ScriptAssetsController#javascript as HTML
16394
+ Completed 200 OK in 5ms (Views: 4.8ms)
16395
+ Processing by ScriptAssetsController#coffeescript as HTML
16396
+ Completed 200 OK in 5ms (Views: 4.6ms)
16397
+ Processing by ScriptAssetsController#custom_script as HTML
16398
+ Completed 200 OK in 4ms (Views: 4.1ms)
16399
+ Processing by ScriptAssetsController#custom_script as HTML
16400
+ Completed 200 OK in 3ms (Views: 3.3ms)
16401
+ Processing by ScriptAssetsController#no_script as HTML
16402
+ Completed 200 OK in 2ms (Views: 2.0ms)
16403
+ Processing by ScriptAssetsController#production_mode as HTML
16404
+ Completed 200 OK in 2ms (Views: 2.1ms)
16405
+ Processing by StyleAssetsController#css as HTML
16406
+ Completed 200 OK in 5ms (Views: 4.9ms)
16407
+ Processing by StyleAssetsController#sass as HTML
16408
+ Completed 200 OK in 9ms (Views: 8.6ms)
16409
+ Processing by StyleAssetsController#css_sass as HTML
16410
+ Completed 200 OK in 14ms (Views: 13.9ms)
16411
+ Processing by StyleAssetsController#scss as HTML
16412
+ Completed 200 OK in 6ms (Views: 5.7ms)
16413
+ Processing by StyleAssetsController#css_scss as HTML
16414
+ Completed 200 OK in 5ms (Views: 4.4ms)
16415
+ Processing by StyleAssetsController#custom_style as HTML
16416
+ Completed 200 OK in 5ms (Views: 4.6ms)
16417
+ Processing by StyleAssetsController#custom_style as HTML
16418
+ Completed 200 OK in 3ms (Views: 3.2ms)
16419
+ Processing by StyleAssetsController#no_style as HTML
16420
+ Completed 200 OK in 2ms (Views: 1.9ms)
16421
+ Processing by StyleAssetsController#production_mode as HTML
16422
+ Completed 200 OK in 2ms (Views: 2.2ms)
16423
+ Processing by ViewTypesController#erb as HTML
16424
+ Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.3ms)
16425
+ Completed 200 OK in 4ms (Views: 3.6ms)
16426
+ Processing by ViewTypesController#haml as HTML
16427
+ Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.0ms)
16428
+ Completed 200 OK in 3ms (Views: 3.1ms)
16429
+ Processing by ErrorsController#missing_section as HTML
16430
+ Rendered errors/missing_section.html.erb within layouts/application (0.8ms)
16431
+ Completed 500 Internal Server Error in 6ms
16432
+ Processing by PartialsController#erb_section as HTML
16433
+ Rendered /Users/kevin/sections_rails/app/sections/partials/erb_section/_erb_section.html.erb (0.3ms)
16434
+ Completed 200 OK in 21ms (Views: 20.5ms)
16435
+ Processing by PartialsController#haml_section as HTML
16436
+ Rendered /Users/kevin/sections_rails/app/sections/partials/haml_section/_haml_section.html.haml (0.6ms)
16437
+ Completed 200 OK in 3ms (Views: 2.8ms)
16438
+ Processing by PartialsController#no_options as HTML
16439
+ Rendered /Users/kevin/sections_rails/app/sections/partials/no_options/_no_options.html.erb (0.2ms)
16440
+ Completed 200 OK in 3ms (Views: 2.3ms)
16441
+ Processing by PartialsController#custom_partial as HTML
16442
+ Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.3ms)
16443
+ Completed 200 OK in 4ms (Views: 3.9ms)
16444
+ Processing by PartialsController#custom_partial as HTML
16445
+ Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.0ms)
16446
+ Completed 200 OK in 2ms (Views: 2.0ms)
16447
+ Processing by PartialsController#disabled as HTML
16448
+ Completed 200 OK in 2ms (Views: 1.7ms)
16449
+ Processing by PartialsController#disabled as HTML
16450
+ Completed 200 OK in 1ms (Views: 1.3ms)
16451
+ Processing by PartialsController#production_mode as HTML
16452
+ Rendered /Users/kevin/sections_rails/app/sections/partials/production_mode/_production_mode.html.erb (0.2ms)
16453
+ Completed 200 OK in 2ms (Views: 2.2ms)
16454
+ Processing by ScriptAssetsController#javascript as HTML
16455
+ Completed 200 OK in 4ms (Views: 4.0ms)
16456
+ Processing by ScriptAssetsController#coffeescript as HTML
16457
+ Completed 200 OK in 4ms (Views: 3.8ms)
16458
+ Processing by ScriptAssetsController#custom_script as HTML
16459
+ Completed 200 OK in 4ms (Views: 3.7ms)
16460
+ Processing by ScriptAssetsController#custom_script as HTML
16461
+ Completed 200 OK in 4ms (Views: 3.5ms)
16462
+ Processing by ScriptAssetsController#no_script as HTML
16463
+ Completed 200 OK in 2ms (Views: 1.6ms)
16464
+ Processing by ScriptAssetsController#production_mode as HTML
16465
+ Completed 200 OK in 2ms (Views: 1.5ms)
16466
+ Processing by StyleAssetsController#css as HTML
16467
+ Completed 200 OK in 4ms (Views: 4.0ms)
16468
+ Processing by StyleAssetsController#sass as HTML
16469
+ Completed 200 OK in 4ms (Views: 4.0ms)
16470
+ Processing by StyleAssetsController#css_sass as HTML
16471
+ Completed 200 OK in 4ms (Views: 3.9ms)
16472
+ Processing by StyleAssetsController#scss as HTML
16473
+ Completed 200 OK in 4ms (Views: 3.6ms)
16474
+ Processing by StyleAssetsController#css_scss as HTML
16475
+ Completed 200 OK in 4ms (Views: 3.6ms)
16476
+ Processing by StyleAssetsController#custom_style as HTML
16477
+ Completed 200 OK in 4ms (Views: 3.9ms)
16478
+ Processing by StyleAssetsController#custom_style as HTML
16479
+ Completed 200 OK in 3ms (Views: 3.3ms)
16480
+ Processing by StyleAssetsController#no_style as HTML
16481
+ Completed 200 OK in 2ms (Views: 1.6ms)
16482
+ Processing by StyleAssetsController#production_mode as HTML
16483
+ Completed 200 OK in 2ms (Views: 1.5ms)
16484
+ Processing by ViewTypesController#erb as HTML
16485
+ Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.2ms)
16486
+ Completed 200 OK in 3ms (Views: 2.4ms)
16487
+ Processing by ViewTypesController#haml as HTML
16488
+ Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.0ms)
16489
+ Completed 200 OK in 3ms (Views: 2.6ms)
16490
+ Processing by ErrorsController#missing_section as HTML
16491
+ Rendered errors/missing_section.html.erb within layouts/application (0.8ms)
16492
+ Completed 500 Internal Server Error in 6ms
16493
+ Processing by PartialsController#erb_section as HTML
16494
+ Rendered /Users/kevin/sections_rails/app/sections/partials/erb_section/_erb_section.html.erb (0.3ms)
16495
+ Completed 200 OK in 21ms (Views: 20.8ms)
16496
+ Processing by PartialsController#haml_section as HTML
16497
+ Rendered /Users/kevin/sections_rails/app/sections/partials/haml_section/_haml_section.html.haml (0.6ms)
16498
+ Completed 200 OK in 3ms (Views: 2.8ms)
16499
+ Processing by PartialsController#no_options as HTML
16500
+ Rendered /Users/kevin/sections_rails/app/sections/partials/no_options/_no_options.html.erb (0.2ms)
16501
+ Completed 200 OK in 2ms (Views: 2.3ms)
16502
+ Processing by PartialsController#custom_partial as HTML
16503
+ Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.2ms)
16504
+ Completed 200 OK in 3ms (Views: 2.4ms)
16505
+ Processing by PartialsController#custom_partial as HTML
16506
+ Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.0ms)
16507
+ Completed 200 OK in 2ms (Views: 1.7ms)
16508
+ Processing by PartialsController#disabled as HTML
16509
+ Completed 200 OK in 2ms (Views: 1.4ms)
16510
+ Processing by PartialsController#disabled as HTML
16511
+ Completed 200 OK in 1ms (Views: 1.2ms)
16512
+ Processing by PartialsController#production_mode as HTML
16513
+ Rendered /Users/kevin/sections_rails/app/sections/partials/production_mode/_production_mode.html.erb (0.2ms)
16514
+ Completed 200 OK in 2ms (Views: 2.2ms)
16515
+ Processing by ScriptAssetsController#javascript as HTML
16516
+ Completed 200 OK in 4ms (Views: 3.9ms)
16517
+ Processing by ScriptAssetsController#coffeescript as HTML
16518
+ Completed 200 OK in 4ms (Views: 3.6ms)
16519
+ Processing by ScriptAssetsController#custom_script as HTML
16520
+ Completed 200 OK in 4ms (Views: 4.0ms)
16521
+ Processing by ScriptAssetsController#custom_script as HTML
16522
+ Completed 200 OK in 3ms (Views: 3.2ms)
16523
+ Processing by ScriptAssetsController#no_script as HTML
16524
+ Completed 200 OK in 2ms (Views: 1.5ms)
16525
+ Processing by ScriptAssetsController#production_mode as HTML
16526
+ Completed 200 OK in 2ms (Views: 1.5ms)
16527
+ Processing by StyleAssetsController#css as HTML
16528
+ Completed 200 OK in 4ms (Views: 4.1ms)
16529
+ Processing by StyleAssetsController#sass as HTML
16530
+ Completed 200 OK in 4ms (Views: 3.8ms)
16531
+ Processing by StyleAssetsController#css_sass as HTML
16532
+ Completed 200 OK in 4ms (Views: 3.9ms)
16533
+ Processing by StyleAssetsController#scss as HTML
16534
+ Completed 200 OK in 4ms (Views: 3.5ms)
16535
+ Processing by StyleAssetsController#css_scss as HTML
16536
+ Completed 200 OK in 4ms (Views: 3.8ms)
16537
+ Processing by StyleAssetsController#custom_style as HTML
16538
+ Completed 200 OK in 4ms (Views: 4.0ms)
16539
+ Processing by StyleAssetsController#custom_style as HTML
16540
+ Completed 200 OK in 3ms (Views: 3.4ms)
16541
+ Processing by StyleAssetsController#no_style as HTML
16542
+ Completed 200 OK in 2ms (Views: 1.6ms)
16543
+ Processing by StyleAssetsController#production_mode as HTML
16544
+ Completed 200 OK in 2ms (Views: 1.4ms)
16545
+ Processing by ViewTypesController#erb as HTML
16546
+ Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.2ms)
16547
+ Completed 200 OK in 2ms (Views: 2.3ms)
16548
+ Processing by ViewTypesController#haml as HTML
16549
+ Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.0ms)
16550
+ Completed 200 OK in 3ms (Views: 2.4ms)
16551
+ Processing by ErrorsController#missing_section as HTML
16552
+ Rendered errors/missing_section.html.erb within layouts/application (0.9ms)
16553
+ Completed 500 Internal Server Error in 8ms
16554
+ Processing by PartialsController#erb_section as HTML
16555
+ Rendered /Users/kevin/sections_rails/app/sections/partials/erb_section/_erb_section.html.erb (0.3ms)
16556
+ Completed 200 OK in 24ms (Views: 23.3ms)
16557
+ Processing by PartialsController#haml_section as HTML
16558
+ Rendered /Users/kevin/sections_rails/app/sections/partials/haml_section/_haml_section.html.haml (0.7ms)
16559
+ Completed 200 OK in 3ms (Views: 3.2ms)
16560
+ Processing by PartialsController#no_options as HTML
16561
+ Rendered /Users/kevin/sections_rails/app/sections/partials/no_options/_no_options.html.erb (0.3ms)
16562
+ Completed 200 OK in 4ms (Views: 3.6ms)
16563
+ Processing by PartialsController#custom_partial as HTML
16564
+ Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.2ms)
16565
+ Completed 200 OK in 3ms (Views: 2.4ms)
16566
+ Processing by PartialsController#custom_partial as HTML
16567
+ Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.0ms)
16568
+ Completed 200 OK in 2ms (Views: 1.9ms)
16569
+ Processing by PartialsController#disabled as HTML
16570
+ Completed 200 OK in 2ms (Views: 1.5ms)
16571
+ Processing by PartialsController#disabled as HTML
16572
+ Completed 200 OK in 2ms (Views: 1.4ms)
16573
+ Processing by PartialsController#production_mode as HTML
16574
+ Rendered /Users/kevin/sections_rails/app/sections/partials/production_mode/_production_mode.html.erb (0.3ms)
16575
+ Completed 200 OK in 3ms (Views: 2.8ms)
16576
+ Processing by ScriptAssetsController#javascript as HTML
16577
+ Completed 200 OK in 5ms (Views: 4.7ms)
16578
+ Processing by ScriptAssetsController#coffeescript as HTML
16579
+ Completed 200 OK in 4ms (Views: 4.1ms)
16580
+ Processing by ScriptAssetsController#custom_script as HTML
16581
+ Completed 200 OK in 4ms (Views: 4.2ms)
16582
+ Processing by ScriptAssetsController#custom_script as HTML
16583
+ Completed 200 OK in 4ms (Views: 4.2ms)
16584
+ Processing by ScriptAssetsController#no_script as HTML
16585
+ Completed 200 OK in 2ms (Views: 1.8ms)
16586
+ Processing by ScriptAssetsController#production_mode as HTML
16587
+ Completed 200 OK in 2ms (Views: 1.9ms)
16588
+ Processing by StyleAssetsController#css as HTML
16589
+ Completed 200 OK in 4ms (Views: 4.1ms)
16590
+ Processing by StyleAssetsController#sass as HTML
16591
+ Completed 200 OK in 4ms (Views: 3.8ms)
16592
+ Processing by StyleAssetsController#css_sass as HTML
16593
+ Completed 200 OK in 4ms (Views: 3.9ms)
16594
+ Processing by StyleAssetsController#scss as HTML
16595
+ Completed 200 OK in 4ms (Views: 3.9ms)
16596
+ Processing by StyleAssetsController#css_scss as HTML
16597
+ Completed 200 OK in 4ms (Views: 3.7ms)
16598
+ Processing by StyleAssetsController#custom_style as HTML
16599
+ Completed 200 OK in 4ms (Views: 4.0ms)
16600
+ Processing by StyleAssetsController#custom_style as HTML
16601
+ Completed 200 OK in 4ms (Views: 3.5ms)
16602
+ Processing by StyleAssetsController#no_style as HTML
16603
+ Completed 200 OK in 2ms (Views: 1.6ms)
16604
+ Processing by StyleAssetsController#production_mode as HTML
16605
+ Completed 200 OK in 2ms (Views: 1.7ms)
16606
+ Processing by ViewTypesController#erb as HTML
16607
+ Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.2ms)
16608
+ Completed 200 OK in 3ms (Views: 2.6ms)
16609
+ Processing by ViewTypesController#haml as HTML
16610
+ Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.0ms)
16611
+ Completed 200 OK in 3ms (Views: 2.5ms)
16612
+ Processing by ErrorsController#missing_section as HTML
16613
+ Rendered errors/missing_section.html.erb within layouts/application (0.8ms)
16614
+ Completed 500 Internal Server Error in 6ms
16615
+ Processing by PartialsController#erb_section as HTML
16616
+ Rendered /Users/kevin/sections_rails/app/sections/partials/erb_section/_erb_section.html.erb (0.3ms)
16617
+ Completed 200 OK in 21ms (Views: 20.3ms)
16618
+ Processing by PartialsController#haml_section as HTML
16619
+ Rendered /Users/kevin/sections_rails/app/sections/partials/haml_section/_haml_section.html.haml (0.6ms)
16620
+ Completed 200 OK in 3ms (Views: 2.7ms)
16621
+ Processing by PartialsController#no_options as HTML
16622
+ Rendered /Users/kevin/sections_rails/app/sections/partials/no_options/_no_options.html.erb (0.2ms)
16623
+ Completed 200 OK in 2ms (Views: 2.1ms)
16624
+ Processing by PartialsController#custom_partial as HTML
16625
+ Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.2ms)
16626
+ Completed 200 OK in 2ms (Views: 2.2ms)
16627
+ Processing by PartialsController#custom_partial as HTML
16628
+ Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.0ms)
16629
+ Completed 200 OK in 2ms (Views: 1.6ms)
16630
+ Processing by PartialsController#disabled as HTML
16631
+ Completed 200 OK in 2ms (Views: 1.4ms)
16632
+ Processing by PartialsController#disabled as HTML
16633
+ Completed 200 OK in 1ms (Views: 1.1ms)
16634
+ Processing by PartialsController#production_mode as HTML
16635
+ Rendered /Users/kevin/sections_rails/app/sections/partials/production_mode/_production_mode.html.erb (0.2ms)
16636
+ Completed 200 OK in 2ms (Views: 2.1ms)
16637
+ Processing by ScriptAssetsController#javascript as HTML
16638
+ Completed 200 OK in 4ms (Views: 3.9ms)
16639
+ Processing by ScriptAssetsController#coffeescript as HTML
16640
+ Completed 200 OK in 4ms (Views: 3.5ms)
16641
+ Processing by ScriptAssetsController#custom_script as HTML
16642
+ Completed 200 OK in 4ms (Views: 3.6ms)
16643
+ Processing by ScriptAssetsController#custom_script as HTML
16644
+ Completed 200 OK in 3ms (Views: 3.4ms)
16645
+ Processing by ScriptAssetsController#no_script as HTML
16646
+ Completed 200 OK in 2ms (Views: 1.6ms)
16647
+ Processing by ScriptAssetsController#production_mode as HTML
16648
+ Completed 200 OK in 2ms (Views: 1.4ms)
16649
+ Processing by StyleAssetsController#css as HTML
16650
+ Completed 200 OK in 4ms (Views: 3.7ms)
16651
+ Processing by StyleAssetsController#sass as HTML
16652
+ Completed 200 OK in 4ms (Views: 3.5ms)
16653
+ Processing by StyleAssetsController#css_sass as HTML
16654
+ Completed 200 OK in 4ms (Views: 3.7ms)
16655
+ Processing by StyleAssetsController#scss as HTML
16656
+ Completed 200 OK in 4ms (Views: 3.5ms)
16657
+ Processing by StyleAssetsController#css_scss as HTML
16658
+ Completed 200 OK in 4ms (Views: 3.4ms)
16659
+ Processing by StyleAssetsController#custom_style as HTML
16660
+ Completed 200 OK in 4ms (Views: 3.3ms)
16661
+ Processing by StyleAssetsController#custom_style as HTML
16662
+ Completed 200 OK in 3ms (Views: 3.4ms)
16663
+ Processing by StyleAssetsController#no_style as HTML
16664
+ Completed 200 OK in 2ms (Views: 1.4ms)
16665
+ Processing by StyleAssetsController#production_mode as HTML
16666
+ Completed 200 OK in 1ms (Views: 1.3ms)
16667
+ Processing by ViewTypesController#erb as HTML
16668
+ Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.2ms)
16669
+ Completed 200 OK in 3ms (Views: 2.4ms)
16670
+ Processing by ViewTypesController#haml as HTML
16671
+ Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.0ms)
16672
+ Completed 200 OK in 3ms (Views: 2.4ms)
16673
+ Processing by ErrorsController#missing_section as HTML
16674
+ Rendered errors/missing_section.html.erb within layouts/application (0.8ms)
16675
+ Completed 500 Internal Server Error in 6ms
16676
+ Processing by PartialsController#erb_section as HTML
16677
+ Rendered /Users/kevin/sections_rails/app/sections/partials/erb_section/_erb_section.html.erb (0.3ms)
16678
+ Completed 200 OK in 20ms (Views: 20.1ms)
16679
+ Processing by PartialsController#haml_section as HTML
16680
+ Rendered /Users/kevin/sections_rails/app/sections/partials/haml_section/_haml_section.html.haml (0.6ms)
16681
+ Completed 200 OK in 3ms (Views: 2.6ms)
16682
+ Processing by PartialsController#no_options as HTML
16683
+ Rendered /Users/kevin/sections_rails/app/sections/partials/no_options/_no_options.html.erb (0.2ms)
16684
+ Completed 200 OK in 2ms (Views: 2.2ms)
16685
+ Processing by PartialsController#custom_partial as HTML
16686
+ Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.2ms)
16687
+ Completed 200 OK in 2ms (Views: 2.2ms)
16688
+ Processing by PartialsController#custom_partial as HTML
16689
+ Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.0ms)
16690
+ Completed 200 OK in 2ms (Views: 1.7ms)
16691
+ Processing by PartialsController#disabled as HTML
16692
+ Completed 200 OK in 2ms (Views: 1.4ms)
16693
+ Processing by PartialsController#disabled as HTML
16694
+ Completed 200 OK in 1ms (Views: 1.1ms)
16695
+ Processing by PartialsController#production_mode as HTML
16696
+ Rendered /Users/kevin/sections_rails/app/sections/partials/production_mode/_production_mode.html.erb (0.2ms)
16697
+ Completed 200 OK in 2ms (Views: 2.1ms)
16698
+ Processing by ScriptAssetsController#javascript as HTML
16699
+ Completed 200 OK in 4ms (Views: 3.9ms)
16700
+ Processing by ScriptAssetsController#coffeescript as HTML
16701
+ Completed 200 OK in 4ms (Views: 3.5ms)
16702
+ Processing by ScriptAssetsController#custom_script as HTML
16703
+ Completed 200 OK in 4ms (Views: 3.5ms)
16704
+ Processing by ScriptAssetsController#custom_script as HTML
16705
+ Completed 200 OK in 3ms (Views: 3.3ms)
16706
+ Processing by ScriptAssetsController#no_script as HTML
16707
+ Completed 200 OK in 2ms (Views: 1.6ms)
16708
+ Processing by ScriptAssetsController#production_mode as HTML
16709
+ Completed 200 OK in 2ms (Views: 1.4ms)
16710
+ Processing by StyleAssetsController#css as HTML
16711
+ Completed 200 OK in 4ms (Views: 3.6ms)
16712
+ Processing by StyleAssetsController#sass as HTML
16713
+ Completed 200 OK in 4ms (Views: 3.5ms)
16714
+ Processing by StyleAssetsController#css_sass as HTML
16715
+ Completed 200 OK in 4ms (Views: 3.8ms)
16716
+ Processing by StyleAssetsController#scss as HTML
16717
+ Completed 200 OK in 4ms (Views: 3.6ms)
16718
+ Processing by StyleAssetsController#css_scss as HTML
16719
+ Completed 200 OK in 4ms (Views: 3.4ms)
16720
+ Processing by StyleAssetsController#custom_style as HTML
16721
+ Completed 200 OK in 4ms (Views: 3.5ms)
16722
+ Processing by StyleAssetsController#custom_style as HTML
16723
+ Completed 200 OK in 3ms (Views: 3.2ms)
16724
+ Processing by StyleAssetsController#no_style as HTML
16725
+ Completed 200 OK in 2ms (Views: 1.4ms)
16726
+ Processing by StyleAssetsController#production_mode as HTML
16727
+ Completed 200 OK in 1ms (Views: 1.3ms)
16728
+ Processing by ViewTypesController#erb as HTML
16729
+ Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.2ms)
16730
+ Completed 200 OK in 2ms (Views: 2.3ms)
16731
+ Processing by ViewTypesController#haml as HTML
16732
+ Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.0ms)
16733
+ Completed 200 OK in 2ms (Views: 2.3ms)
16734
+ Processing by ErrorsController#missing_section as HTML
16735
+ Rendered errors/missing_section.html.erb within layouts/application (0.7ms)
16736
+ Completed 500 Internal Server Error in 6ms
16737
+ Processing by PartialsController#erb_section as HTML
16738
+ Rendered /Users/kevin/sections_rails/app/sections/partials/erb_section/_erb_section.html.erb (0.3ms)
16739
+ Completed 200 OK in 20ms (Views: 19.5ms)
16740
+ Processing by PartialsController#haml_section as HTML
16741
+ Rendered /Users/kevin/sections_rails/app/sections/partials/haml_section/_haml_section.html.haml (0.6ms)
16742
+ Completed 200 OK in 3ms (Views: 2.7ms)
16743
+ Processing by PartialsController#no_options as HTML
16744
+ Rendered /Users/kevin/sections_rails/app/sections/partials/no_options/_no_options.html.erb (0.2ms)
16745
+ Completed 200 OK in 2ms (Views: 2.0ms)
16746
+ Processing by PartialsController#custom_partial as HTML
16747
+ Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.2ms)
16748
+ Completed 200 OK in 2ms (Views: 2.1ms)
16749
+ Processing by PartialsController#custom_partial as HTML
16750
+ Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.0ms)
16751
+ Completed 200 OK in 2ms (Views: 1.7ms)
16752
+ Processing by PartialsController#disabled as HTML
16753
+ Completed 200 OK in 2ms (Views: 1.3ms)
16754
+ Processing by PartialsController#disabled as HTML
16755
+ Completed 200 OK in 1ms (Views: 1.1ms)
16756
+ Processing by PartialsController#production_mode as HTML
16757
+ Rendered /Users/kevin/sections_rails/app/sections/partials/production_mode/_production_mode.html.erb (0.2ms)
16758
+ Completed 200 OK in 2ms (Views: 2.0ms)
16759
+ Processing by ScriptAssetsController#javascript as HTML
16760
+ Completed 200 OK in 4ms (Views: 3.8ms)
16761
+ Processing by ScriptAssetsController#coffeescript as HTML
16762
+ Completed 200 OK in 4ms (Views: 3.6ms)
16763
+ Processing by ScriptAssetsController#custom_script as HTML
16764
+ Completed 200 OK in 4ms (Views: 3.4ms)
16765
+ Processing by ScriptAssetsController#custom_script as HTML
16766
+ Completed 200 OK in 4ms (Views: 3.5ms)
16767
+ Processing by ScriptAssetsController#no_script as HTML
16768
+ Completed 200 OK in 2ms (Views: 1.5ms)
16769
+ Processing by ScriptAssetsController#production_mode as HTML
16770
+ Completed 200 OK in 2ms (Views: 1.5ms)
16771
+ Processing by StyleAssetsController#css as HTML
16772
+ Completed 200 OK in 4ms (Views: 3.7ms)
16773
+ Processing by StyleAssetsController#sass as HTML
16774
+ Completed 200 OK in 4ms (Views: 3.5ms)
16775
+ Processing by StyleAssetsController#css_sass as HTML
16776
+ Completed 200 OK in 4ms (Views: 3.6ms)
16777
+ Processing by StyleAssetsController#scss as HTML
16778
+ Completed 200 OK in 4ms (Views: 3.5ms)
16779
+ Processing by StyleAssetsController#css_scss as HTML
16780
+ Completed 200 OK in 3ms (Views: 3.3ms)
16781
+ Processing by StyleAssetsController#custom_style as HTML
16782
+ Completed 200 OK in 4ms (Views: 3.3ms)
16783
+ Processing by StyleAssetsController#custom_style as HTML
16784
+ Completed 200 OK in 3ms (Views: 3.1ms)
16785
+ Processing by StyleAssetsController#no_style as HTML
16786
+ Completed 200 OK in 2ms (Views: 1.4ms)
16787
+ Processing by StyleAssetsController#production_mode as HTML
16788
+ Completed 200 OK in 1ms (Views: 1.3ms)
16789
+ Processing by ViewTypesController#erb as HTML
16790
+ Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.2ms)
16791
+ Completed 200 OK in 2ms (Views: 2.2ms)
16792
+ Processing by ViewTypesController#haml as HTML
16793
+ Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.0ms)
16794
+ Completed 200 OK in 3ms (Views: 2.5ms)
16795
+ Processing by ErrorsController#missing_section as HTML
16796
+ Rendered errors/missing_section.html.erb within layouts/application (0.8ms)
16797
+ Completed 500 Internal Server Error in 6ms
16798
+ Processing by PartialsController#erb_section as HTML
16799
+ Rendered /Users/kevin/sections_rails/app/sections/partials/erb_section/_erb_section.html.erb (0.3ms)
16800
+ Completed 200 OK in 20ms (Views: 20.0ms)
16801
+ Processing by PartialsController#haml_section as HTML
16802
+ Rendered /Users/kevin/sections_rails/app/sections/partials/haml_section/_haml_section.html.haml (0.6ms)
16803
+ Completed 200 OK in 3ms (Views: 2.7ms)
16804
+ Processing by PartialsController#no_options as HTML
16805
+ Rendered /Users/kevin/sections_rails/app/sections/partials/no_options/_no_options.html.erb (0.2ms)
16806
+ Completed 200 OK in 2ms (Views: 2.0ms)
16807
+ Processing by PartialsController#custom_partial as HTML
16808
+ Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.2ms)
16809
+ Completed 200 OK in 2ms (Views: 2.1ms)
16810
+ Processing by PartialsController#custom_partial as HTML
16811
+ Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.0ms)
16812
+ Completed 200 OK in 2ms (Views: 1.6ms)
16813
+ Processing by PartialsController#disabled as HTML
16814
+ Completed 200 OK in 2ms (Views: 1.3ms)
16815
+ Processing by PartialsController#disabled as HTML
16816
+ Completed 200 OK in 1ms (Views: 1.1ms)
16817
+ Processing by PartialsController#production_mode as HTML
16818
+ Rendered /Users/kevin/sections_rails/app/sections/partials/production_mode/_production_mode.html.erb (0.2ms)
16819
+ Completed 200 OK in 2ms (Views: 2.2ms)
16820
+ Processing by ScriptAssetsController#javascript as HTML
16821
+ Completed 200 OK in 4ms (Views: 3.9ms)
16822
+ Processing by ScriptAssetsController#coffeescript as HTML
16823
+ Completed 200 OK in 4ms (Views: 3.5ms)
16824
+ Processing by ScriptAssetsController#custom_script as HTML
16825
+ Completed 200 OK in 4ms (Views: 3.5ms)
16826
+ Processing by ScriptAssetsController#custom_script as HTML
16827
+ Completed 200 OK in 3ms (Views: 3.2ms)
16828
+ Processing by ScriptAssetsController#no_script as HTML
16829
+ Completed 200 OK in 2ms (Views: 1.7ms)
16830
+ Processing by ScriptAssetsController#production_mode as HTML
16831
+ Completed 200 OK in 2ms (Views: 1.4ms)
16832
+ Processing by StyleAssetsController#css as HTML
16833
+ Completed 200 OK in 4ms (Views: 3.9ms)
16834
+ Processing by StyleAssetsController#sass as HTML
16835
+ Completed 200 OK in 4ms (Views: 3.8ms)
16836
+ Processing by StyleAssetsController#css_sass as HTML
16837
+ Completed 200 OK in 4ms (Views: 3.7ms)
16838
+ Processing by StyleAssetsController#scss as HTML
16839
+ Completed 200 OK in 4ms (Views: 3.5ms)
16840
+ Processing by StyleAssetsController#css_scss as HTML
16841
+ Completed 200 OK in 4ms (Views: 3.4ms)
16842
+ Processing by StyleAssetsController#custom_style as HTML
16843
+ Completed 200 OK in 3ms (Views: 3.2ms)
16844
+ Processing by StyleAssetsController#custom_style as HTML
16845
+ Completed 200 OK in 3ms (Views: 3.0ms)
16846
+ Processing by StyleAssetsController#no_style as HTML
16847
+ Completed 200 OK in 2ms (Views: 1.5ms)
16848
+ Processing by StyleAssetsController#production_mode as HTML
16849
+ Completed 200 OK in 2ms (Views: 1.4ms)
16850
+ Processing by ViewTypesController#erb as HTML
16851
+ Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.2ms)
16852
+ Completed 200 OK in 2ms (Views: 2.2ms)
16853
+ Processing by ViewTypesController#haml as HTML
16854
+ Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.0ms)
16855
+ Completed 200 OK in 2ms (Views: 2.3ms)
16856
+ Processing by ErrorsController#missing_section as HTML
16857
+ Rendered errors/missing_section.html.erb within layouts/application (0.8ms)
16858
+ Completed 500 Internal Server Error in 6ms
16859
+ Processing by PartialsController#erb_section as HTML
16860
+ Rendered /Users/kevin/sections_rails/app/sections/partials/erb_section/_erb_section.html.erb (0.3ms)
16861
+ Completed 200 OK in 20ms (Views: 19.8ms)
16862
+ Processing by PartialsController#haml_section as HTML
16863
+ Rendered /Users/kevin/sections_rails/app/sections/partials/haml_section/_haml_section.html.haml (0.6ms)
16864
+ Completed 200 OK in 3ms (Views: 2.6ms)
16865
+ Processing by PartialsController#no_options as HTML
16866
+ Rendered /Users/kevin/sections_rails/app/sections/partials/no_options/_no_options.html.erb (0.2ms)
16867
+ Completed 200 OK in 2ms (Views: 2.3ms)
16868
+ Processing by PartialsController#custom_partial as HTML
16869
+ Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.2ms)
16870
+ Completed 200 OK in 2ms (Views: 2.1ms)
16871
+ Processing by PartialsController#custom_partial as HTML
16872
+ Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.0ms)
16873
+ Completed 200 OK in 2ms (Views: 1.6ms)
16874
+ Processing by PartialsController#disabled as HTML
16875
+ Completed 200 OK in 2ms (Views: 1.5ms)
16876
+ Processing by PartialsController#disabled as HTML
16877
+ Completed 200 OK in 1ms (Views: 1.1ms)
16878
+ Processing by PartialsController#production_mode as HTML
16879
+ Rendered /Users/kevin/sections_rails/app/sections/partials/production_mode/_production_mode.html.erb (0.2ms)
16880
+ Completed 200 OK in 2ms (Views: 2.0ms)
16881
+ Processing by ScriptAssetsController#javascript as HTML
16882
+ Completed 200 OK in 4ms (Views: 3.8ms)
16883
+ Processing by ScriptAssetsController#coffeescript as HTML
16884
+ Completed 200 OK in 4ms (Views: 3.3ms)
16885
+ Processing by ScriptAssetsController#custom_script as HTML
16886
+ Completed 200 OK in 4ms (Views: 3.6ms)
16887
+ Processing by ScriptAssetsController#custom_script as HTML
16888
+ Completed 200 OK in 3ms (Views: 3.2ms)
16889
+ Processing by ScriptAssetsController#no_script as HTML
16890
+ Completed 200 OK in 2ms (Views: 1.6ms)
16891
+ Processing by ScriptAssetsController#production_mode as HTML
16892
+ Completed 200 OK in 2ms (Views: 1.5ms)
16893
+ Processing by StyleAssetsController#css as HTML
16894
+ Completed 200 OK in 4ms (Views: 3.7ms)
16895
+ Processing by StyleAssetsController#sass as HTML
16896
+ Completed 200 OK in 4ms (Views: 3.7ms)
16897
+ Processing by StyleAssetsController#css_sass as HTML
16898
+ Completed 200 OK in 4ms (Views: 3.9ms)
16899
+ Processing by StyleAssetsController#scss as HTML
16900
+ Completed 200 OK in 4ms (Views: 3.5ms)
16901
+ Processing by StyleAssetsController#css_scss as HTML
16902
+ Completed 200 OK in 4ms (Views: 3.5ms)
16903
+ Processing by StyleAssetsController#custom_style as HTML
16904
+ Completed 200 OK in 4ms (Views: 3.5ms)
16905
+ Processing by StyleAssetsController#custom_style as HTML
16906
+ Completed 200 OK in 3ms (Views: 3.2ms)
16907
+ Processing by StyleAssetsController#no_style as HTML
16908
+ Completed 200 OK in 2ms (Views: 1.5ms)
16909
+ Processing by StyleAssetsController#production_mode as HTML
16910
+ Completed 200 OK in 2ms (Views: 1.4ms)
16911
+ Processing by ViewTypesController#erb as HTML
16912
+ Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.2ms)
16913
+ Completed 200 OK in 2ms (Views: 2.3ms)
16914
+ Processing by ViewTypesController#haml as HTML
16915
+ Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.0ms)
16916
+ Completed 200 OK in 2ms (Views: 2.3ms)
16917
+ Processing by ErrorsController#missing_section as HTML
16918
+ Rendered errors/missing_section.html.erb within layouts/application (0.7ms)
16919
+ Completed 500 Internal Server Error in 6ms
16920
+ Processing by PartialsController#erb_section as HTML
16921
+ Rendered /Users/kevin/sections_rails/app/sections/partials/erb_section/_erb_section.html.erb (0.3ms)
16922
+ Completed 200 OK in 21ms (Views: 20.4ms)
16923
+ Processing by PartialsController#haml_section as HTML
16924
+ Rendered /Users/kevin/sections_rails/app/sections/partials/haml_section/_haml_section.html.haml (0.6ms)
16925
+ Completed 200 OK in 3ms (Views: 2.5ms)
16926
+ Processing by PartialsController#no_options as HTML
16927
+ Rendered /Users/kevin/sections_rails/app/sections/partials/no_options/_no_options.html.erb (0.4ms)
16928
+ Completed 200 OK in 3ms (Views: 2.6ms)
16929
+ Processing by PartialsController#custom_partial as HTML
16930
+ Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.2ms)
16931
+ Completed 200 OK in 3ms (Views: 2.9ms)
16932
+ Processing by PartialsController#custom_partial as HTML
16933
+ Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.0ms)
16934
+ Completed 200 OK in 2ms (Views: 1.8ms)
16935
+ Processing by PartialsController#disabled as HTML
16936
+ Completed 200 OK in 2ms (Views: 1.4ms)
16937
+ Processing by PartialsController#disabled as HTML
16938
+ Completed 200 OK in 1ms (Views: 1.1ms)
16939
+ Processing by PartialsController#production_mode as HTML
16940
+ Rendered /Users/kevin/sections_rails/app/sections/partials/production_mode/_production_mode.html.erb (0.2ms)
16941
+ Completed 200 OK in 2ms (Views: 2.1ms)
16942
+ Processing by ScriptAssetsController#javascript as HTML
16943
+ Completed 200 OK in 4ms (Views: 3.8ms)
16944
+ Processing by ScriptAssetsController#coffeescript as HTML
16945
+ Completed 200 OK in 4ms (Views: 3.5ms)
16946
+ Processing by ScriptAssetsController#custom_script as HTML
16947
+ Completed 200 OK in 4ms (Views: 3.8ms)
16948
+ Processing by ScriptAssetsController#custom_script as HTML
16949
+ Completed 200 OK in 3ms (Views: 3.3ms)
16950
+ Processing by ScriptAssetsController#no_script as HTML
16951
+ Completed 200 OK in 2ms (Views: 1.7ms)
16952
+ Processing by ScriptAssetsController#production_mode as HTML
16953
+ Completed 200 OK in 2ms (Views: 1.4ms)
16954
+ Processing by StyleAssetsController#css as HTML
16955
+ Completed 200 OK in 4ms (Views: 3.6ms)
16956
+ Processing by StyleAssetsController#sass as HTML
16957
+ Completed 200 OK in 4ms (Views: 3.5ms)
16958
+ Processing by StyleAssetsController#css_sass as HTML
16959
+ Completed 200 OK in 4ms (Views: 3.6ms)
16960
+ Processing by StyleAssetsController#scss as HTML
16961
+ Completed 200 OK in 3ms (Views: 3.3ms)
16962
+ Processing by StyleAssetsController#css_scss as HTML
16963
+ Completed 200 OK in 4ms (Views: 3.7ms)
16964
+ Processing by StyleAssetsController#custom_style as HTML
16965
+ Completed 200 OK in 4ms (Views: 3.6ms)
16966
+ Processing by StyleAssetsController#custom_style as HTML
16967
+ Completed 200 OK in 3ms (Views: 3.3ms)
16968
+ Processing by StyleAssetsController#no_style as HTML
16969
+ Completed 200 OK in 2ms (Views: 1.5ms)
16970
+ Processing by StyleAssetsController#production_mode as HTML
16971
+ Completed 200 OK in 1ms (Views: 1.3ms)
16972
+ Processing by ViewTypesController#erb as HTML
16973
+ Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.2ms)
16974
+ Completed 200 OK in 2ms (Views: 2.3ms)
16975
+ Processing by ViewTypesController#haml as HTML
16976
+ Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.0ms)
16977
+ Completed 200 OK in 2ms (Views: 2.2ms)
16978
+ Processing by ErrorsController#missing_section as HTML
16979
+ Rendered errors/missing_section.html.erb within layouts/application (0.7ms)
16980
+ Completed 500 Internal Server Error in 6ms
16981
+ Processing by PartialsController#erb_section as HTML
16982
+ Rendered /Users/kevin/sections_rails/app/sections/partials/erb_section/_erb_section.html.erb (0.3ms)
16983
+ Completed 200 OK in 20ms (Views: 19.7ms)
16984
+ Processing by PartialsController#haml_section as HTML
16985
+ Rendered /Users/kevin/sections_rails/app/sections/partials/haml_section/_haml_section.html.haml (0.6ms)
16986
+ Completed 200 OK in 3ms (Views: 2.6ms)
16987
+ Processing by PartialsController#no_options as HTML
16988
+ Rendered /Users/kevin/sections_rails/app/sections/partials/no_options/_no_options.html.erb (0.2ms)
16989
+ Completed 200 OK in 2ms (Views: 2.0ms)
16990
+ Processing by PartialsController#custom_partial as HTML
16991
+ Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.2ms)
16992
+ Completed 200 OK in 2ms (Views: 2.2ms)
16993
+ Processing by PartialsController#custom_partial as HTML
16994
+ Rendered /Users/kevin/sections_rails/app/sections/partials/custom_partial/_different_name.html.erb (0.0ms)
16995
+ Completed 200 OK in 2ms (Views: 1.8ms)
16996
+ Processing by PartialsController#disabled as HTML
16997
+ Completed 200 OK in 1ms (Views: 1.3ms)
16998
+ Processing by PartialsController#disabled as HTML
16999
+ Completed 200 OK in 1ms (Views: 1.1ms)
17000
+ Processing by PartialsController#production_mode as HTML
17001
+ Rendered /Users/kevin/sections_rails/app/sections/partials/production_mode/_production_mode.html.erb (0.2ms)
17002
+ Completed 200 OK in 2ms (Views: 2.1ms)
17003
+ Processing by ScriptAssetsController#javascript as HTML
17004
+ Completed 200 OK in 4ms (Views: 4.1ms)
17005
+ Processing by ScriptAssetsController#coffeescript as HTML
17006
+ Completed 200 OK in 4ms (Views: 3.5ms)
17007
+ Processing by ScriptAssetsController#custom_script as HTML
17008
+ Completed 200 OK in 4ms (Views: 3.6ms)
17009
+ Processing by ScriptAssetsController#custom_script as HTML
17010
+ Completed 200 OK in 4ms (Views: 3.5ms)
17011
+ Processing by ScriptAssetsController#no_script as HTML
17012
+ Completed 200 OK in 2ms (Views: 1.6ms)
17013
+ Processing by ScriptAssetsController#production_mode as HTML
17014
+ Completed 200 OK in 2ms (Views: 1.4ms)
17015
+ Processing by StyleAssetsController#css as HTML
17016
+ Completed 200 OK in 4ms (Views: 3.7ms)
17017
+ Processing by StyleAssetsController#sass as HTML
17018
+ Completed 200 OK in 4ms (Views: 3.4ms)
17019
+ Processing by StyleAssetsController#css_sass as HTML
17020
+ Completed 200 OK in 4ms (Views: 4.1ms)
17021
+ Processing by StyleAssetsController#scss as HTML
17022
+ Completed 200 OK in 4ms (Views: 3.7ms)
17023
+ Processing by StyleAssetsController#css_scss as HTML
17024
+ Completed 200 OK in 4ms (Views: 3.5ms)
17025
+ Processing by StyleAssetsController#custom_style as HTML
17026
+ Completed 200 OK in 4ms (Views: 3.5ms)
17027
+ Processing by StyleAssetsController#custom_style as HTML
17028
+ Completed 200 OK in 3ms (Views: 3.0ms)
17029
+ Processing by StyleAssetsController#no_style as HTML
17030
+ Completed 200 OK in 2ms (Views: 1.5ms)
17031
+ Processing by StyleAssetsController#production_mode as HTML
17032
+ Completed 200 OK in 2ms (Views: 1.5ms)
17033
+ Processing by ViewTypesController#erb as HTML
17034
+ Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.2ms)
17035
+ Completed 200 OK in 3ms (Views: 2.4ms)
17036
+ Processing by ViewTypesController#haml as HTML
17037
+ Rendered /Users/kevin/sections_rails/app/sections/view_types/foo/_foo.html.erb (0.0ms)
17038
+ Completed 200 OK in 2ms (Views: 2.3ms)
@@ -0,0 +1,55 @@
1
+ require "spec_helper"
2
+
3
+ describe SectionsRails::PartialParser do
4
+
5
+ describe '#find_sections' do
6
+ it 'finds ERB sections with symbols' do
7
+ SectionsRails::PartialParser.find_sections("one <%= section :alpha %> two").should == ['alpha']
8
+ end
9
+
10
+ it 'finds ERB sections with single quotes' do
11
+ SectionsRails::PartialParser.find_sections("one <%= section 'alpha' %> two").should == ['alpha']
12
+ end
13
+
14
+ it 'finds ERB sections with double quotes' do
15
+ SectionsRails::PartialParser.find_sections('one <%= section "alpha" %> two').should == ['alpha']
16
+ end
17
+
18
+ it 'finds ERB sections with parameters' do
19
+ SectionsRails::PartialParser.find_sections('one <%= section "alpha", css: false %> two').should == ['alpha']
20
+ end
21
+
22
+ it 'finds HAML sections with symbols' do
23
+ SectionsRails::PartialParser.find_sections("= section :alpha").should == ['alpha']
24
+ end
25
+
26
+ it 'finds HAML sections with single quotes' do
27
+ SectionsRails::PartialParser.find_sections("= section 'alpha'").should == ['alpha']
28
+ end
29
+
30
+ it 'finds HAML sections with double quotes' do
31
+ SectionsRails::PartialParser.find_sections('= section "alpha"').should == ['alpha']
32
+ end
33
+
34
+ it 'finds indented HAML sections' do
35
+ SectionsRails::PartialParser.find_sections(' = section :alpha').should == ['alpha']
36
+ end
37
+
38
+ it 'finds HAML sections with parameters' do
39
+ SectionsRails::PartialParser.find_sections('= section "alpha", css: false').should == ['alpha']
40
+ end
41
+
42
+ it 'finds all results in the text' do
43
+ SectionsRails::PartialParser.find_sections("one <%= section 'alpha' \ntwo <%= section 'beta'").should == ['alpha', 'beta']
44
+ end
45
+
46
+ it 'sorts the results' do
47
+ SectionsRails::PartialParser.find_sections("one <%= section 'beta' \ntwo <%= section 'alpha'").should == ['alpha', 'beta']
48
+ end
49
+
50
+ it 'removes duplicates' do
51
+ SectionsRails::PartialParser.find_sections("one <%= section 'alpha' \ntwo <%= section 'alpha'").should == ['alpha']
52
+ end
53
+ end
54
+ end
55
+
@@ -44,9 +44,9 @@ describe SectionsRails::Section do
44
44
  describe 'find_js_includepath' do
45
45
 
46
46
  it 'tries all different JS asset file types for sections' do
47
- SectionsRails.config.js_extensions.each do |ext|
48
- File.should_receive(:exists?).with("app/sections/folder/section/section.#{ext}").and_return(false)
49
- end
47
+ File.should_receive(:exists?).with("app/sections/folder/section/section.js").and_return(false)
48
+ File.should_receive(:exists?).with("app/sections/folder/section/section.js.coffee").and_return(false)
49
+ File.should_receive(:exists?).with("app/sections/folder/section/section.coffee").and_return(false)
50
50
  subject.find_js_includepath
51
51
  end
52
52
 
@@ -69,6 +69,7 @@ describe SectionsRails::Section do
69
69
  end
70
70
 
71
71
  it 'returns the custom JS asset path if one is set' do
72
+ File.stub(:exists?).and_return(true)
72
73
  section = SectionsRails::Section.new 'folder/section', nil, js: 'custom'
73
74
  section.find_js_includepath.should == 'custom'
74
75
  end
@@ -117,57 +118,6 @@ describe SectionsRails::Section do
117
118
  end
118
119
 
119
120
 
120
- describe '#find_sections' do
121
- it 'finds ERB sections with symbols' do
122
- SectionsRails::Section.find_sections("one <%= section :alpha %> two").should == ['alpha']
123
- end
124
-
125
- it 'finds ERB sections with single quotes' do
126
- SectionsRails::Section.find_sections("one <%= section 'alpha' %> two").should == ['alpha']
127
- end
128
-
129
- it 'finds ERB sections with double quotes' do
130
- SectionsRails::Section.find_sections('one <%= section "alpha" %> two').should == ['alpha']
131
- end
132
-
133
- it 'finds ERB sections with parameters' do
134
- SectionsRails::Section.find_sections('one <%= section "alpha", css: false %> two').should == ['alpha']
135
- end
136
-
137
- it 'finds HAML sections with symbols' do
138
- SectionsRails::Section.find_sections("= section :alpha").should == ['alpha']
139
- end
140
-
141
- it 'finds HAML sections with single quotes' do
142
- SectionsRails::Section.find_sections("= section 'alpha'").should == ['alpha']
143
- end
144
-
145
- it 'finds HAML sections with double quotes' do
146
- SectionsRails::Section.find_sections('= section "alpha"').should == ['alpha']
147
- end
148
-
149
- it 'finds indented HAML sections' do
150
- SectionsRails::Section.find_sections(' = section "alpha"').should == ['alpha']
151
- end
152
-
153
- it 'finds HAML sections with parameters' do
154
- SectionsRails::Section.find_sections('= section "alpha", css: false').should == ['alpha']
155
- end
156
-
157
- it 'finds all results in the text' do
158
- SectionsRails::Section.find_sections("one <%= section 'alpha' \ntwo <%= section 'beta'").should == ['alpha', 'beta']
159
- end
160
-
161
- it 'sorts the results' do
162
- SectionsRails::Section.find_sections("one <%= section 'beta' \ntwo <%= section 'alpha'").should == ['alpha', 'beta']
163
- end
164
-
165
- it 'removes duplicates' do
166
- SectionsRails::Section.find_sections("one <%= section 'alpha' \ntwo <%= section 'alpha'").should == ['alpha']
167
- end
168
- end
169
-
170
-
171
121
  describe "#has_asset?" do
172
122
 
173
123
  it "tries filename variations with all given extensions" do
@@ -201,4 +151,40 @@ describe SectionsRails::Section do
201
151
  subject.has_default_js_asset?.should be_true
202
152
  end
203
153
  end
154
+
155
+ describe 'partial_content' do
156
+ it 'returns the content of the partial if one exists' do
157
+ SectionsRails::Section.new('partial_content/erb_partial').partial_content.strip.should == 'ERB partial content'
158
+ SectionsRails::Section.new('partial_content/haml_partial').partial_content.strip.should == 'HAML partial content'
159
+ end
160
+
161
+ it 'returns nil if no partial exists' do
162
+ SectionsRails::Section.new('partial_content/no_partial').partial_content.should be_nil
163
+ end
164
+ end
165
+
166
+ describe 'referenced_sections' do
167
+
168
+ it 'returns the sections that are referenced in the section partial' do
169
+ SectionsRails::Section.new('referenced_sections/erb_partial').referenced_sections.should == ['one', 'two/three']
170
+ SectionsRails::Section.new('referenced_sections/haml_partial').referenced_sections.should == ['one', 'two/three']
171
+ end
172
+
173
+ it 'returns an empty array if there is no partial' do
174
+ SectionsRails::Section.new('referenced_sections/no_partial').referenced_sections.should == []
175
+ end
176
+
177
+ it "returns an empty array if the partial doesn't reference any sections" do
178
+ SectionsRails::Section.new('referenced_sections/no_referenced_sections').referenced_sections.should == []
179
+ end
180
+
181
+ it 'finds sections referenced by referenced sections' do
182
+ SectionsRails::Section.new('referenced_sections/recursive').referenced_sections.should == ['referenced_sections/recursive/one', 'referenced_sections/recursive/three', 'referenced_sections/recursive/two']
183
+ end
184
+
185
+ it 'can handle reference loops' do
186
+ SectionsRails::Section.new('referenced_sections/loop').referenced_sections.should == ['referenced_sections/loop', 'referenced_sections/loop/one']
187
+ end
188
+ end
204
189
  end
190
+
@@ -0,0 +1,28 @@
1
+ require "spec_helper"
2
+ require 'sections_rails/view_finder'
3
+
4
+
5
+ describe "SectionsRails::ViewFinder" do
6
+
7
+ describe '#find_all_views' do
8
+ let(:result) { SectionsRails::ViewFinder.find_all_views 'spec/sections_rails/view_finder_spec' }
9
+ let(:empty_result) { SectionsRails::ViewFinder.find_all_views 'spec/sections_rails/view_finder_spec/empty' }
10
+
11
+ it 'returns all erb views' do
12
+ result.should include 'spec/sections_rails/view_finder_spec/erb/_erb.html.erb'
13
+ end
14
+
15
+ it 'returns all haml views' do
16
+ result.should include 'spec/sections_rails/view_finder_spec/haml/_haml.html.haml'
17
+ end
18
+
19
+ it 'returns views that are deeper nested in the directory structure' do
20
+ result.should include 'spec/sections_rails/view_finder_spec/nested/deeper/nested.html.erb'
21
+ end
22
+
23
+ it 'returns an empty array if there are no views' do
24
+ empty_result.should == []
25
+ end
26
+ end
27
+ end
28
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sections_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.11
4
+ version: 0.6.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-11 00:00:00.000000000 Z
12
+ date: 2012-06-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70243624962300 !ruby/object:Gem::Requirement
16
+ requirement: &70195575617860 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '3.1'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70243624962300
24
+ version_requirements: *70195575617860
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: haml
27
- requirement: &70243624961500 !ruby/object:Gem::Requirement
27
+ requirement: &70195575617440 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70243624961500
35
+ version_requirements: *70195575617440
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec-rails
38
- requirement: &70243624960640 !ruby/object:Gem::Requirement
38
+ requirement: &70195575616980 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70243624960640
46
+ version_requirements: *70195575616980
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: guard-rspec
49
- requirement: &70243624959880 !ruby/object:Gem::Requirement
49
+ requirement: &70195575616560 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70243624959880
57
+ version_requirements: *70195575616560
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rb-fsevent
60
- requirement: &70243624959300 !ruby/object:Gem::Requirement
60
+ requirement: &70195575616140 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70243624959300
68
+ version_requirements: *70195575616140
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: sqlite3
71
- requirement: &70243624954480 !ruby/object:Gem::Requirement
71
+ requirement: &70195575615720 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,7 +76,7 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *70243624954480
79
+ version_requirements: *70195575615720
80
80
  description: Sections_rails adds infrastructure to the view layer of Ruby on Rails.
81
81
  It allows to define and use the HTML, CSS, and JavaScript code of dedicated sections
82
82
  of pages together in one place.
@@ -89,9 +89,11 @@ files:
89
89
  - lib/generators/section_generator.rb
90
90
  - lib/generators/sections_generator.rb
91
91
  - lib/sections_rails/config.rb
92
+ - lib/sections_rails/partial_parser.rb
92
93
  - lib/sections_rails/railtie.rb
93
94
  - lib/sections_rails/section.rb
94
95
  - lib/sections_rails/version.rb
96
+ - lib/sections_rails/view_finder.rb
95
97
  - lib/sections_rails.rb
96
98
  - lib/tasks/sections_rails_tasks.rake
97
99
  - MIT-LICENSE
@@ -153,7 +155,12 @@ files:
153
155
  - spec/dummy/tmp/cache/assets/DE1/6A0/sprockets%2Fcae9aba95894da8a28fa8a5387dc565f
154
156
  - spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
155
157
  - spec/dummy/tmp/cache/assets/E1D/010/sprockets%2Fdffad412d86bfdfbb1f307d711da21d3
158
+ - spec/sections_rails/partial_parser_spec.rb
156
159
  - spec/sections_rails/section_spec.rb
160
+ - spec/sections_rails/view_finder_spec/erb/_erb.html.erb
161
+ - spec/sections_rails/view_finder_spec/haml/_haml.html.haml
162
+ - spec/sections_rails/view_finder_spec/nested/deeper/nested.html.erb
163
+ - spec/sections_rails/view_finder_spec.rb
157
164
  - spec/spec_helper.rb
158
165
  homepage: https://github.com/kevgo/sections_rails
159
166
  licenses: []
@@ -237,5 +244,10 @@ test_files:
237
244
  - spec/dummy/tmp/cache/assets/DE1/6A0/sprockets%2Fcae9aba95894da8a28fa8a5387dc565f
238
245
  - spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
239
246
  - spec/dummy/tmp/cache/assets/E1D/010/sprockets%2Fdffad412d86bfdfbb1f307d711da21d3
247
+ - spec/sections_rails/partial_parser_spec.rb
240
248
  - spec/sections_rails/section_spec.rb
249
+ - spec/sections_rails/view_finder_spec/erb/_erb.html.erb
250
+ - spec/sections_rails/view_finder_spec/haml/_haml.html.haml
251
+ - spec/sections_rails/view_finder_spec/nested/deeper/nested.html.erb
252
+ - spec/sections_rails/view_finder_spec.rb
241
253
  - spec/spec_helper.rb