nanoc 4.8.9 → 4.8.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +6 -4
  3. data/Gemfile +2 -1
  4. data/NEWS.md +7 -0
  5. data/README.md +1 -1
  6. data/lib/nanoc.rb +2 -6
  7. data/lib/nanoc/base/entities/site.rb +9 -5
  8. data/lib/nanoc/base/repos/data_source.rb +0 -15
  9. data/lib/nanoc/base/repos/outdatedness_store.rb +17 -15
  10. data/lib/nanoc/base/services/compilation_context.rb +4 -4
  11. data/lib/nanoc/base/services/compiler.rb +102 -103
  12. data/lib/nanoc/base/services/compiler/stages/build_reps.rb +7 -7
  13. data/lib/nanoc/base/services/compiler/stages/compile_reps.rb +4 -2
  14. data/lib/nanoc/base/services/compiler/stages/determine_outdatedness.rb +25 -7
  15. data/lib/nanoc/base/services/compiler/stages/postprocess.rb +3 -3
  16. data/lib/nanoc/base/services/compiler/stages/preprocess.rb +3 -0
  17. data/lib/nanoc/base/services/compiler_loader.rb +1 -4
  18. data/lib/nanoc/base/views.rb +13 -6
  19. data/lib/nanoc/base/views/{item_rep_collection_view.rb → basic_item_rep_collection_view.rb} +6 -6
  20. data/lib/nanoc/base/views/{item_rep_view.rb → basic_item_rep_view.rb} +8 -29
  21. data/lib/nanoc/base/views/{item_without_reps_view.rb → basic_item_view.rb} +3 -3
  22. data/lib/nanoc/base/views/compilation_item_rep_collection_view.rb +10 -0
  23. data/lib/nanoc/base/views/compilation_item_rep_view.rb +42 -0
  24. data/lib/nanoc/base/views/{mixins/with_reps_view_mixin.rb → compilation_item_view.rb} +3 -3
  25. data/lib/nanoc/base/views/item_collection_with_reps_view.rb +1 -1
  26. data/lib/nanoc/base/views/item_collection_without_reps_view.rb +1 -1
  27. data/lib/nanoc/base/views/mixins/mutable_document_view_mixin.rb +1 -1
  28. data/lib/nanoc/base/views/mutable_item_view.rb +1 -1
  29. data/lib/nanoc/base/views/post_compile_item_rep_collection_view.rb +1 -1
  30. data/lib/nanoc/base/views/post_compile_item_rep_view.rb +7 -2
  31. data/lib/nanoc/base/views/post_compile_item_view.rb +1 -1
  32. data/lib/nanoc/base/views/{view_context.rb → view_context_for_compilation.rb} +10 -1
  33. data/lib/nanoc/base/views/view_context_for_pre_compilation.rb +18 -0
  34. data/lib/nanoc/base/views/view_context_for_shell.rb +23 -0
  35. data/lib/nanoc/checking/check.rb +5 -1
  36. data/lib/nanoc/checking/runner.rb +1 -1
  37. data/lib/nanoc/cli.rb +1 -0
  38. data/lib/nanoc/cli/command_runner.rb +1 -7
  39. data/lib/nanoc/cli/commands/check.rb +2 -2
  40. data/lib/nanoc/cli/commands/compile.rb +8 -47
  41. data/lib/nanoc/cli/commands/compile_listeners/abstract.rb +9 -0
  42. data/lib/nanoc/cli/commands/compile_listeners/aggregate.rb +49 -0
  43. data/lib/nanoc/cli/commands/deploy.rb +2 -1
  44. data/lib/nanoc/cli/commands/prune.rb +5 -4
  45. data/lib/nanoc/cli/commands/shell.rb +4 -6
  46. data/lib/nanoc/cli/commands/show-data.rb +20 -27
  47. data/lib/nanoc/cli/commands/show-rules.rb +20 -22
  48. data/lib/nanoc/cli/error_handler.rb +0 -17
  49. data/lib/nanoc/data_sources/filesystem.rb +4 -2
  50. data/lib/nanoc/deploying/deployers/fog.rb +4 -1
  51. data/lib/nanoc/helpers/link_to.rb +1 -1
  52. data/lib/nanoc/rule_dsl/action_provider.rb +8 -11
  53. data/lib/nanoc/rule_dsl/action_sequence_calculator.rb +14 -5
  54. data/lib/nanoc/rule_dsl/recording_executor.rb +4 -0
  55. data/lib/nanoc/rule_dsl/rule.rb +14 -9
  56. data/lib/nanoc/rule_dsl/rule_context.rb +4 -4
  57. data/lib/nanoc/spec.rb +27 -19
  58. data/lib/nanoc/version.rb +1 -1
  59. data/spec/nanoc/base/checksummer_spec.rb +19 -11
  60. data/spec/nanoc/base/compiler_spec.rb +18 -14
  61. data/spec/nanoc/base/filter_spec.rb +7 -6
  62. data/spec/nanoc/base/repos/outdatedness_store_spec.rb +3 -32
  63. data/spec/nanoc/base/services/compiler/stages/compile_reps_spec.rb +2 -1
  64. data/spec/nanoc/base/services/compiler/stages/determine_outdatedness_spec.rb +148 -0
  65. data/spec/nanoc/base/services/compiler/stages/preprocess_spec.rb +110 -0
  66. data/spec/nanoc/base/services/executor_spec.rb +6 -6
  67. data/spec/nanoc/base/views/basic_item_rep_collection_view_spec.rb +8 -0
  68. data/spec/nanoc/base/views/basic_item_rep_view_spec.rb +9 -0
  69. data/spec/nanoc/base/views/compilation_item_rep_collection_view_spec.rb +8 -0
  70. data/spec/nanoc/base/views/compilation_item_rep_view_spec.rb +136 -0
  71. data/spec/nanoc/base/views/config_view_spec.rb +5 -5
  72. data/spec/nanoc/base/views/item_collection_with_reps_view_spec.rb +4 -2
  73. data/spec/nanoc/base/views/item_collection_without_reps_view_spec.rb +4 -2
  74. data/spec/nanoc/base/views/item_view_spec.rb +13 -11
  75. data/spec/nanoc/base/views/layout_collection_view_spec.rb +3 -1
  76. data/spec/nanoc/base/views/layout_view_spec.rb +3 -1
  77. data/spec/nanoc/base/views/mutable_item_collection_view_spec.rb +5 -2
  78. data/spec/nanoc/base/views/mutable_item_view_spec.rb +2 -0
  79. data/spec/nanoc/base/views/mutable_layout_collection_view_spec.rb +5 -2
  80. data/spec/nanoc/base/views/mutable_layout_view_spec.rb +2 -0
  81. data/spec/nanoc/base/views/post_compile_item_rep_collection_view_spec.rb +2 -0
  82. data/spec/nanoc/base/views/post_compile_item_rep_view_spec.rb +9 -3
  83. data/spec/nanoc/base/views/{document_view_spec.rb → support/document_view_examples.rb} +5 -5
  84. data/spec/nanoc/base/views/{identifiable_collection_view_spec.rb → support/identifiable_collection_view_examples.rb} +4 -4
  85. data/spec/nanoc/base/views/{item_rep_collection_view_spec.rb → support/item_rep_collection_view_examples.rb} +3 -8
  86. data/spec/nanoc/base/views/{item_rep_view_spec.rb → support/item_rep_view_examples.rb} +10 -111
  87. data/spec/nanoc/base/views/{mutable_document_view_spec.rb → support/mutable_document_view_examples.rb} +7 -6
  88. data/spec/nanoc/base/views/{mutable_identifiable_collection_view_spec.rb → support/mutable_identifiable_collection_view_examples.rb} +1 -1
  89. data/spec/nanoc/cli/commands/compile/abstract_spec.rb +80 -0
  90. data/spec/nanoc/cli/commands/compile_spec.rb +30 -51
  91. data/spec/nanoc/cli/commands/show_data_spec.rb +2 -23
  92. data/spec/nanoc/cli/commands/show_rules_spec.rb +4 -2
  93. data/spec/nanoc/regressions/gh_767_spec.rb +1 -1
  94. data/spec/nanoc/regressions/gh_776_spec.rb +2 -1
  95. data/spec/nanoc/rule_dsl/action_sequence_calculator_spec.rb +25 -12
  96. data/spec/nanoc/rule_dsl/rule_context_spec.rb +16 -6
  97. data/test/base/test_data_source.rb +0 -18
  98. data/test/checking/checks/test_external_links.rb +4 -6
  99. data/test/checking/checks/test_internal_links.rb +6 -9
  100. data/test/cli/commands/test_compile.rb +0 -35
  101. data/test/cli/test_cleaning_stream.rb +1 -1
  102. data/test/data_sources/test_filesystem.rb +16 -0
  103. data/test/filters/test_kramdown.rb +4 -4
  104. data/test/filters/test_sass.rb +1 -1
  105. data/test/filters/test_slim.rb +7 -5
  106. data/test/filters/test_xsl.rb +10 -8
  107. data/test/helpers/test_blogging.rb +5 -5
  108. data/test/helpers/test_capturing.rb +8 -6
  109. data/test/helpers/test_link_to.rb +4 -4
  110. data/test/helpers/test_xml_sitemap.rb +19 -19
  111. metadata +25 -15
  112. data/lib/nanoc/base/views/item_with_reps_view.rb +0 -7
  113. data/spec/nanoc/base/core_ext/pathname_spec.rb +0 -0
@@ -11,9 +11,9 @@ class Nanoc::Helpers::LinkToTest < Nanoc::TestCase
11
11
 
12
12
  # Mock
13
13
  @items = [
14
- Nanoc::ItemRepView.new(mock, {}),
15
- Nanoc::ItemRepView.new(mock, {}),
16
- Nanoc::ItemRepView.new(mock, {}),
14
+ Nanoc::CompilationItemRepView.new(mock, {}),
15
+ Nanoc::CompilationItemRepView.new(mock, {}),
16
+ Nanoc::CompilationItemRepView.new(mock, {}),
17
17
  ]
18
18
  @items[0].stubs(:identifier).returns('/about/')
19
19
  @items[0].stubs(:path).returns('/about.html')
@@ -21,7 +21,7 @@ class Nanoc::Helpers::LinkToTest < Nanoc::TestCase
21
21
  @items[1].stubs(:path).returns('/software.html')
22
22
  @items[2].stubs(:identifier).returns('/software/nanoc/')
23
23
  @items[2].stubs(:path).returns('/software/nanoc.html')
24
- about_rep_vcard = Nanoc::ItemRepView.new(mock, {})
24
+ about_rep_vcard = Nanoc::CompilationItemRepView.new(mock, {})
25
25
  about_rep_vcard.stubs(:path).returns('/about.vcf')
26
26
  @items[0].stubs(:rep).with(:vcard).returns(about_rep_vcard)
27
27
 
@@ -15,12 +15,12 @@ class Nanoc::Helpers::XMLSitemapTest < Nanoc::TestCase
15
15
  dependency_tracker = Nanoc::Int::DependencyTracker.new(dep_store)
16
16
 
17
17
  @reps = Nanoc::Int::ItemRepRepo.new
18
- @view_context = Nanoc::ViewContext.new(
19
- reps: @reps,
20
- items: nil,
21
- dependency_tracker: dependency_tracker,
18
+ @view_context = Nanoc::ViewContextForCompilation.new(
19
+ reps: @reps,
20
+ items: Nanoc::Int::ItemCollection.new(config),
21
+ dependency_tracker: dependency_tracker,
22
22
  compilation_context: :__irrelevant__,
23
- snapshot_repo: :__irrelevant_snapshot_repo,
23
+ snapshot_repo: :__irrelevant_snapshot_repo,
24
24
  )
25
25
 
26
26
  @items = nil
@@ -35,24 +35,24 @@ class Nanoc::Helpers::XMLSitemapTest < Nanoc::TestCase
35
35
  items = []
36
36
 
37
37
  # Create item 1
38
- item = Nanoc::ItemWithRepsView.new(Nanoc::Int::Item.new('some content 1', {}, '/item-one'), @view_context)
38
+ item = Nanoc::CompilationItemView.new(Nanoc::Int::Item.new('some content 1', {}, '/item-one'), @view_context)
39
39
  items << item
40
40
  create_item_rep(item.unwrap, :one_a, '/item-one/a/')
41
41
  create_item_rep(item.unwrap, :one_b, '/item-one/b/')
42
42
 
43
43
  # Create item 2
44
- item = Nanoc::ItemWithRepsView.new(Nanoc::Int::Item.new('some content 2', { is_hidden: true }, '/item-two'), @view_context)
44
+ item = Nanoc::CompilationItemView.new(Nanoc::Int::Item.new('some content 2', { is_hidden: true }, '/item-two'), @view_context)
45
45
  items << item
46
46
 
47
47
  # Create item 3
48
48
  attrs = { mtime: Time.parse('2004-07-12 00:00:00 +02:00'), changefreq: 'daily', priority: 0.5 }
49
- item = Nanoc::ItemWithRepsView.new(Nanoc::Int::Item.new('some content 3', attrs, '/item-three'), @view_context)
49
+ item = Nanoc::CompilationItemView.new(Nanoc::Int::Item.new('some content 3', attrs, '/item-three'), @view_context)
50
50
  items << item
51
51
  create_item_rep(item.unwrap, :three_a, '/item-three/a/')
52
52
  create_item_rep(item.unwrap, :three_b, '/item-three/b/')
53
53
 
54
54
  # Create item 4
55
- item = Nanoc::ItemWithRepsView.new(Nanoc::Int::Item.new('some content 4', {}, '/item-four'), @view_context)
55
+ item = Nanoc::CompilationItemView.new(Nanoc::Int::Item.new('some content 4', {}, '/item-four'), @view_context)
56
56
  items << item
57
57
  create_item_rep(item.unwrap, :four_a, nil)
58
58
 
@@ -60,7 +60,7 @@ class Nanoc::Helpers::XMLSitemapTest < Nanoc::TestCase
60
60
  @items = Nanoc::Int::ItemCollection.new({}, items)
61
61
 
62
62
  # Create sitemap item
63
- @item = Nanoc::ItemWithRepsView.new(Nanoc::Int::Item.new('sitemap content', {}, '/sitemap'), @view_context)
63
+ @item = Nanoc::CompilationItemView.new(Nanoc::Int::Item.new('sitemap content', {}, '/sitemap'), @view_context)
64
64
 
65
65
  # Create site
66
66
  config = Nanoc::Int::Configuration.new(hash: { base_url: 'http://example.com' })
@@ -99,7 +99,7 @@ class Nanoc::Helpers::XMLSitemapTest < Nanoc::TestCase
99
99
  # Create items
100
100
  items = []
101
101
  items << nil
102
- item = Nanoc::ItemWithRepsView.new(Nanoc::Int::Item.new('some content 1', {}, '/item-one'), @view_context)
102
+ item = Nanoc::CompilationItemView.new(Nanoc::Int::Item.new('some content 1', {}, '/item-one'), @view_context)
103
103
  items << item
104
104
  create_item_rep(item.unwrap, :one_a, '/item-one/a/')
105
105
  create_item_rep(item.unwrap, :one_b, '/item-one/b/')
@@ -136,13 +136,13 @@ class Nanoc::Helpers::XMLSitemapTest < Nanoc::TestCase
136
136
  def test_filter
137
137
  if_have 'builder', 'nokogiri' do
138
138
  # Create items
139
- item = Nanoc::ItemWithRepsView.new(Nanoc::Int::Item.new('some content 1', {}, '/item-one'), @view_context)
139
+ item = Nanoc::CompilationItemView.new(Nanoc::Int::Item.new('some content 1', {}, '/item-one'), @view_context)
140
140
  @items = Nanoc::Int::ItemCollection.new({}, [item])
141
141
  create_item_rep(item.unwrap, :one_a, '/item-one/a/')
142
142
  create_item_rep(item.unwrap, :one_b, '/item-one/b/')
143
143
 
144
144
  # Create sitemap item
145
- @item = Nanoc::ItemWithRepsView.new(Nanoc::Int::Item.new('sitemap content', {}, '/sitemap'), @view_context)
145
+ @item = Nanoc::CompilationItemView.new(Nanoc::Int::Item.new('sitemap content', {}, '/sitemap'), @view_context)
146
146
 
147
147
  # Create site
148
148
  config = Nanoc::Int::Configuration.new(hash: { base_url: 'http://example.com' })
@@ -168,22 +168,22 @@ class Nanoc::Helpers::XMLSitemapTest < Nanoc::TestCase
168
168
  if_have 'builder', 'nokogiri' do
169
169
  # Create items
170
170
  items = []
171
- item = Nanoc::ItemWithRepsView.new(Nanoc::Int::Item.new('some content 1', {}, '/george'), @view_context)
171
+ item = Nanoc::CompilationItemView.new(Nanoc::Int::Item.new('some content 1', {}, '/george'), @view_context)
172
172
  items << item
173
173
  create_item_rep(item.unwrap, :a_alice, '/george/alice/')
174
174
  create_item_rep(item.unwrap, :b_zoey, '/george/zoey/')
175
- item = Nanoc::ItemWithRepsView.new(Nanoc::Int::Item.new('some content 1', {}, '/walton'), @view_context)
175
+ item = Nanoc::CompilationItemView.new(Nanoc::Int::Item.new('some content 1', {}, '/walton'), @view_context)
176
176
  items << item
177
177
  create_item_rep(item.unwrap, :a_eve, '/walton/eve/')
178
178
  create_item_rep(item.unwrap, :b_bob, '/walton/bob/')
179
- item = Nanoc::ItemWithRepsView.new(Nanoc::Int::Item.new('some content 1', {}, '/lucas'), @view_context)
179
+ item = Nanoc::CompilationItemView.new(Nanoc::Int::Item.new('some content 1', {}, '/lucas'), @view_context)
180
180
  items << item
181
181
  create_item_rep(item.unwrap, :a_trudy, '/lucas/trudy/')
182
182
  create_item_rep(item.unwrap, :b_mallory, '/lucas/mallory/')
183
183
  @items = Nanoc::Int::ItemCollection.new({}, items)
184
184
 
185
185
  # Create sitemap item
186
- @item = Nanoc::ItemWithRepsView.new(Nanoc::Int::Item.new('sitemap content', {}, '/sitemap'), @view_context)
186
+ @item = Nanoc::CompilationItemView.new(Nanoc::Int::Item.new('sitemap content', {}, '/sitemap'), @view_context)
187
187
 
188
188
  # Create site
189
189
  config = Nanoc::Int::Configuration.new(hash: { base_url: 'http://example.com' })
@@ -210,12 +210,12 @@ class Nanoc::Helpers::XMLSitemapTest < Nanoc::TestCase
210
210
  def test_url_escape
211
211
  if_have 'builder', 'nokogiri' do
212
212
  # Create items
213
- item = Nanoc::ItemWithRepsView.new(Nanoc::Int::Item.new('some content 1', {}, '/george'), @view_context)
213
+ item = Nanoc::CompilationItemView.new(Nanoc::Int::Item.new('some content 1', {}, '/george'), @view_context)
214
214
  @items = Nanoc::Int::ItemCollection.new({}, [item])
215
215
  create_item_rep(item.unwrap, :default, '/cool projects/проверка')
216
216
 
217
217
  # Create sitemap item
218
- @item = Nanoc::ItemWithRepsView.new(Nanoc::Int::Item.new('sitemap content', {}, '/sitemap'), @view_context)
218
+ @item = Nanoc::CompilationItemView.new(Nanoc::Int::Item.new('sitemap content', {}, '/sitemap'), @view_context)
219
219
 
220
220
  # Create site
221
221
  config = Nanoc::Int::Configuration.new(hash: { base_url: 'http://example.com' })
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nanoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.8.9
4
+ version: 4.8.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Defreyne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-22 00:00:00.000000000 Z
11
+ date: 2017-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cri
@@ -247,19 +247,20 @@ files:
247
247
  - lib/nanoc/base/services/pruner.rb
248
248
  - lib/nanoc/base/services/temp_filename_factory.rb
249
249
  - lib/nanoc/base/views.rb
250
+ - lib/nanoc/base/views/basic_item_rep_collection_view.rb
251
+ - lib/nanoc/base/views/basic_item_rep_view.rb
252
+ - lib/nanoc/base/views/basic_item_view.rb
253
+ - lib/nanoc/base/views/compilation_item_rep_collection_view.rb
254
+ - lib/nanoc/base/views/compilation_item_rep_view.rb
255
+ - lib/nanoc/base/views/compilation_item_view.rb
250
256
  - lib/nanoc/base/views/config_view.rb
251
257
  - lib/nanoc/base/views/identifiable_collection_view.rb
252
258
  - lib/nanoc/base/views/item_collection_with_reps_view.rb
253
259
  - lib/nanoc/base/views/item_collection_without_reps_view.rb
254
- - lib/nanoc/base/views/item_rep_collection_view.rb
255
- - lib/nanoc/base/views/item_rep_view.rb
256
- - lib/nanoc/base/views/item_with_reps_view.rb
257
- - lib/nanoc/base/views/item_without_reps_view.rb
258
260
  - lib/nanoc/base/views/layout_collection_view.rb
259
261
  - lib/nanoc/base/views/layout_view.rb
260
262
  - lib/nanoc/base/views/mixins/document_view_mixin.rb
261
263
  - lib/nanoc/base/views/mixins/mutable_document_view_mixin.rb
262
- - lib/nanoc/base/views/mixins/with_reps_view_mixin.rb
263
264
  - lib/nanoc/base/views/mutable_config_view.rb
264
265
  - lib/nanoc/base/views/mutable_identifiable_collection_view.rb
265
266
  - lib/nanoc/base/views/mutable_item_collection_view.rb
@@ -271,7 +272,9 @@ files:
271
272
  - lib/nanoc/base/views/post_compile_item_rep_view.rb
272
273
  - lib/nanoc/base/views/post_compile_item_view.rb
273
274
  - lib/nanoc/base/views/view.rb
274
- - lib/nanoc/base/views/view_context.rb
275
+ - lib/nanoc/base/views/view_context_for_compilation.rb
276
+ - lib/nanoc/base/views/view_context_for_pre_compilation.rb
277
+ - lib/nanoc/base/views/view_context_for_shell.rb
275
278
  - lib/nanoc/checking.rb
276
279
  - lib/nanoc/checking/check.rb
277
280
  - lib/nanoc/checking/checks.rb
@@ -292,6 +295,7 @@ files:
292
295
  - lib/nanoc/cli/commands/check.rb
293
296
  - lib/nanoc/cli/commands/compile.rb
294
297
  - lib/nanoc/cli/commands/compile_listeners/abstract.rb
298
+ - lib/nanoc/cli/commands/compile_listeners/aggregate.rb
295
299
  - lib/nanoc/cli/commands/compile_listeners/debug_printer.rb
296
300
  - lib/nanoc/cli/commands/compile_listeners/diff_generator.rb
297
301
  - lib/nanoc/cli/commands/compile_listeners/file_action_printer.rb
@@ -399,7 +403,6 @@ files:
399
403
  - spec/nanoc/base/compiler_spec.rb
400
404
  - spec/nanoc/base/core_ext/array_spec.rb
401
405
  - spec/nanoc/base/core_ext/hash_spec.rb
402
- - spec/nanoc/base/core_ext/pathname_spec.rb
403
406
  - spec/nanoc/base/core_ext/string_spec.rb
404
407
  - spec/nanoc/base/directed_graph_spec.rb
405
408
  - spec/nanoc/base/entities/action_sequence_spec.rb
@@ -439,6 +442,8 @@ files:
439
442
  - spec/nanoc/base/services/compiler/stages/calculate_checksums_spec.rb
440
443
  - spec/nanoc/base/services/compiler/stages/cleanup_spec.rb
441
444
  - spec/nanoc/base/services/compiler/stages/compile_reps_spec.rb
445
+ - spec/nanoc/base/services/compiler/stages/determine_outdatedness_spec.rb
446
+ - spec/nanoc/base/services/compiler/stages/preprocess_spec.rb
442
447
  - spec/nanoc/base/services/dependency_tracker_spec.rb
443
448
  - spec/nanoc/base/services/executor_spec.rb
444
449
  - spec/nanoc/base/services/item_rep_router_spec.rb
@@ -447,19 +452,17 @@ files:
447
452
  - spec/nanoc/base/services/outdatedness_rules_spec.rb
448
453
  - spec/nanoc/base/services/pruner_spec.rb
449
454
  - spec/nanoc/base/services/temp_filename_factory_spec.rb
455
+ - spec/nanoc/base/views/basic_item_rep_collection_view_spec.rb
456
+ - spec/nanoc/base/views/basic_item_rep_view_spec.rb
457
+ - spec/nanoc/base/views/compilation_item_rep_collection_view_spec.rb
458
+ - spec/nanoc/base/views/compilation_item_rep_view_spec.rb
450
459
  - spec/nanoc/base/views/config_view_spec.rb
451
- - spec/nanoc/base/views/document_view_spec.rb
452
- - spec/nanoc/base/views/identifiable_collection_view_spec.rb
453
460
  - spec/nanoc/base/views/item_collection_with_reps_view_spec.rb
454
461
  - spec/nanoc/base/views/item_collection_without_reps_view_spec.rb
455
- - spec/nanoc/base/views/item_rep_collection_view_spec.rb
456
- - spec/nanoc/base/views/item_rep_view_spec.rb
457
462
  - spec/nanoc/base/views/item_view_spec.rb
458
463
  - spec/nanoc/base/views/layout_collection_view_spec.rb
459
464
  - spec/nanoc/base/views/layout_view_spec.rb
460
465
  - spec/nanoc/base/views/mutable_config_view_spec.rb
461
- - spec/nanoc/base/views/mutable_document_view_spec.rb
462
- - spec/nanoc/base/views/mutable_identifiable_collection_view_spec.rb
463
466
  - spec/nanoc/base/views/mutable_item_collection_view_spec.rb
464
467
  - spec/nanoc/base/views/mutable_item_view_spec.rb
465
468
  - spec/nanoc/base/views/mutable_layout_collection_view_spec.rb
@@ -467,8 +470,15 @@ files:
467
470
  - spec/nanoc/base/views/post_compile_item_rep_collection_view_spec.rb
468
471
  - spec/nanoc/base/views/post_compile_item_rep_view_spec.rb
469
472
  - spec/nanoc/base/views/post_compile_item_view_spec.rb
473
+ - spec/nanoc/base/views/support/document_view_examples.rb
474
+ - spec/nanoc/base/views/support/identifiable_collection_view_examples.rb
475
+ - spec/nanoc/base/views/support/item_rep_collection_view_examples.rb
476
+ - spec/nanoc/base/views/support/item_rep_view_examples.rb
477
+ - spec/nanoc/base/views/support/mutable_document_view_examples.rb
478
+ - spec/nanoc/base/views/support/mutable_identifiable_collection_view_examples.rb
470
479
  - spec/nanoc/checking/runner_spec.rb
471
480
  - spec/nanoc/cli/command_runner_spec.rb
481
+ - spec/nanoc/cli/commands/compile/abstract_spec.rb
472
482
  - spec/nanoc/cli/commands/compile/diff_generator_spec.rb
473
483
  - spec/nanoc/cli/commands/compile/file_action_printer_spec.rb
474
484
  - spec/nanoc/cli/commands/compile/timing_recorder_spec.rb
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Nanoc
4
- class ItemWithRepsView < ::Nanoc::ItemWithoutRepsView
5
- include Nanoc::WithRepsViewMixin
6
- end
7
- end
File without changes