nanoc 4.8.10 → 4.8.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +6 -0
  3. data/NEWS.md +7 -0
  4. data/lib/nanoc.rb +11 -6
  5. data/lib/nanoc/base.rb +1 -0
  6. data/lib/nanoc/base/changes_stream.rb +53 -0
  7. data/lib/nanoc/base/contracts_support.rb +0 -2
  8. data/lib/nanoc/base/feature.rb +3 -0
  9. data/lib/nanoc/base/memoization.rb +0 -2
  10. data/lib/nanoc/base/repos/aggregate_data_source.rb +8 -0
  11. data/lib/nanoc/base/repos/data_source.rb +12 -0
  12. data/lib/nanoc/base/repos/in_mem_data_source.rb +10 -1
  13. data/lib/nanoc/base/repos/prefixed_data_source.rb +8 -0
  14. data/lib/nanoc/base/repos/site_loader.rb +11 -7
  15. data/lib/nanoc/base/services/compiler.rb +2 -3
  16. data/lib/nanoc/base/services/compiler/stages/postprocess.rb +2 -3
  17. data/lib/nanoc/base/services/compiler/stages/preprocess.rb +1 -1
  18. data/lib/nanoc/base/services/pruner.rb +0 -2
  19. data/lib/nanoc/base/services/temp_filename_factory.rb +0 -2
  20. data/lib/nanoc/checking/checks/external_links.rb +0 -5
  21. data/lib/nanoc/checking/checks/internal_links.rb +0 -2
  22. data/lib/nanoc/checking/checks/stale.rb +0 -2
  23. data/lib/nanoc/cli.rb +7 -1
  24. data/lib/nanoc/cli/commands/compile_listeners/diff_generator.rb +0 -3
  25. data/lib/nanoc/cli/commands/live.rb +30 -0
  26. data/lib/nanoc/cli/commands/view.rb +4 -5
  27. data/lib/nanoc/cli/error_handler.rb +52 -36
  28. data/lib/nanoc/cli/logger.rb +0 -2
  29. data/lib/nanoc/cli/stack_trace_writer.rb +50 -0
  30. data/lib/nanoc/data_sources/filesystem.rb +25 -0
  31. data/lib/nanoc/extra.rb +1 -0
  32. data/lib/nanoc/extra/jruby_nokogiri_warner.rb +0 -2
  33. data/lib/nanoc/extra/link_collector.rb +0 -2
  34. data/lib/nanoc/extra/live_recompiler.rb +131 -0
  35. data/lib/nanoc/extra/parallel_collection.rb +0 -2
  36. data/lib/nanoc/extra/piper.rb +0 -2
  37. data/lib/nanoc/filters/relativize_paths.rb +8 -7
  38. data/lib/nanoc/helpers/link_to.rb +0 -2
  39. data/lib/nanoc/rule_dsl/action_provider.rb +2 -2
  40. data/lib/nanoc/version.rb +1 -1
  41. data/nanoc.gemspec +15 -4
  42. data/nanoc.manifest +545 -0
  43. data/spec/manifest_spec.rb +22 -0
  44. data/spec/nanoc/base/changes_stream_spec.rb +45 -0
  45. data/spec/nanoc/base/checksummer_spec.rb +0 -2
  46. data/spec/nanoc/base/directed_graph_spec.rb +66 -0
  47. data/spec/nanoc/base/entities/code_snippet_spec.rb +9 -0
  48. data/spec/nanoc/base/entities/context_spec.rb +26 -0
  49. data/spec/nanoc/base/entities/identifiable_collection_spec.rb +53 -0
  50. data/spec/nanoc/base/repos/aggregate_data_source_spec.rb +87 -0
  51. data/spec/nanoc/base/repos/data_source_spec.rb +95 -0
  52. data/spec/nanoc/base/repos/in_mem_data_source_spec.rb +39 -0
  53. data/spec/nanoc/base/repos/prefixed_data_source_spec.rb +39 -0
  54. data/spec/nanoc/cli/error_handler_spec.rb +43 -0
  55. data/spec/nanoc/cli/stack_trace_writer_spec.rb +156 -0
  56. data/spec/nanoc/data_sources/filesystem_spec.rb +46 -0
  57. data/spec/nanoc/extra/live_recompiler_spec.rb +129 -0
  58. data/spec/nanoc/helpers/blogging_spec.rb +1 -1
  59. data/spec/spec_helper.rb +60 -0
  60. data/test/base/test_compiler.rb +11 -11
  61. data/test/cli/test_cli.rb +0 -1
  62. data/test/cli/test_error_handler.rb +4 -5
  63. data/test/filters/test_relativize_paths.rb +30 -0
  64. data/test/filters/test_sass.rb +3 -3
  65. data/test/rule_dsl/test_compiler_dsl.rb +2 -2
  66. metadata +39 -43
  67. data/.github/CONTRIBUTING.md +0 -17
  68. data/.github/ISSUE_TEMPLATE.md +0 -23
  69. data/.github/PULL_REQUEST_TEMPLATE.md +0 -18
  70. data/.gitignore +0 -10
  71. data/.travis.yml +0 -27
  72. data/Gemfile +0 -73
  73. data/Guardfile +0 -5
  74. data/scripts/release +0 -95
  75. data/test/base/test_code_snippet.rb +0 -17
  76. data/test/base/test_context.rb +0 -35
  77. data/test/base/test_data_source.rb +0 -60
  78. data/test/base/test_directed_graph.rb +0 -56
  79. data/test/base/test_item_array.rb +0 -37
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'thread'
4
-
5
3
  module Nanoc::Extra
6
4
  # @api private
7
5
  class ParallelCollection
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'open3'
4
-
5
3
  module Nanoc::Extra
6
4
  # @api private
7
5
  class Piper
@@ -61,14 +61,15 @@ module Nanoc::Filters
61
61
  end
62
62
 
63
63
  def relativize_html_like(content, params)
64
- selectors = params.fetch(:select, SELECTORS)
65
- namespaces = params.fetch(:namespaces, {})
66
- type = params.fetch(:type)
64
+ selectors = params.fetch(:select, SELECTORS)
65
+ namespaces = params.fetch(:namespaces, {})
66
+ type = params.fetch(:type)
67
+ nokogiri_save_options = params.fetch(:nokogiri_save_options, nil)
67
68
 
68
69
  parser = parser_for(type)
69
70
  content = fix_content(content, type)
70
71
 
71
- nokogiri_process(content, selectors, namespaces, parser, type)
72
+ nokogiri_process(content, selectors, namespaces, parser, type, nokogiri_save_options)
72
73
  end
73
74
 
74
75
  def parser_for(type)
@@ -101,7 +102,7 @@ module Nanoc::Filters
101
102
  end
102
103
  end
103
104
 
104
- def nokogiri_process(content, selectors, namespaces, klass, type)
105
+ def nokogiri_process(content, selectors, namespaces, klass, type, nokogiri_save_options = nil)
105
106
  # Ensure that all prefixes are strings
106
107
  namespaces = namespaces.reduce({}) { |new, (prefix, uri)| new.merge(prefix.to_s => uri) }
107
108
 
@@ -117,9 +118,9 @@ module Nanoc::Filters
117
118
 
118
119
  case type
119
120
  when :html5
120
- doc.to_html
121
+ doc.to_html(save_with: nokogiri_save_options)
121
122
  else
122
- doc.send("to_#{type}")
123
+ doc.send("to_#{type}", save_with: nokogiri_save_options)
123
124
  end
124
125
  end
125
126
 
@@ -52,8 +52,6 @@ module Nanoc::Helpers
52
52
 
53
53
  # @return [String]
54
54
  def relative_path_to(target)
55
- require 'pathname'
56
-
57
55
  # Find path
58
56
  if target.is_a?(String)
59
57
  path = target
@@ -50,10 +50,10 @@ module Nanoc::RuleDSL
50
50
  end
51
51
 
52
52
  site.data_source =
53
- Nanoc::Int::InMemDataSource.new(ctx.items.unwrap, ctx.layouts.unwrap)
53
+ Nanoc::Int::InMemDataSource.new(ctx.items.unwrap, ctx.layouts.unwrap, site.data_source)
54
54
  end
55
55
 
56
- def postprocess(site, compiler, reps)
56
+ def postprocess(site, compiler)
57
57
  dependency_tracker = Nanoc::Int::DependencyTracker::Null.new
58
58
 
59
59
  res = compiler.run_until_reps_built
data/lib/nanoc/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Nanoc
4
4
  # The current Nanoc version.
5
- VERSION = '4.8.10'
5
+ VERSION = '4.8.11'
6
6
  end
data/nanoc.gemspec CHANGED
@@ -2,6 +2,17 @@
2
2
 
3
3
  require_relative 'lib/nanoc/version'
4
4
 
5
+ ignored_files = %w[
6
+ .github/CONTRIBUTING.md
7
+ .github/ISSUE_TEMPLATE.md
8
+ .github/PULL_REQUEST_TEMPLATE.md
9
+ .gitignore
10
+ .travis.yml
11
+ scripts/release
12
+ Gemfile
13
+ Guardfile
14
+ ]
15
+
5
16
  Gem::Specification.new do |s|
6
17
  s.name = 'nanoc'
7
18
  s.version = Nanoc::VERSION
@@ -13,7 +24,7 @@ Gem::Specification.new do |s|
13
24
  s.email = 'denis@stoneship.org'
14
25
  s.license = 'MIT'
15
26
 
16
- s.files = `git ls-files -z`.split("\x0")
27
+ s.files = `git ls-files -z`.split("\x0") - ignored_files
17
28
  s.executables = ['nanoc']
18
29
  s.require_paths = ['lib']
19
30
 
@@ -22,12 +33,12 @@ Gem::Specification.new do |s|
22
33
 
23
34
  s.required_ruby_version = '>= 2.3.0'
24
35
 
36
+ s.add_runtime_dependency('addressable', '~> 2.5')
25
37
  s.add_runtime_dependency('cri', '~> 2.8')
38
+ s.add_runtime_dependency('ddplugin', '~> 1.0')
26
39
  s.add_runtime_dependency('hamster', '~> 3.0')
27
40
  s.add_runtime_dependency('ref', '~> 2.0')
28
- s.add_runtime_dependency('ddplugin', '~> 1.0')
29
- s.add_runtime_dependency('addressable', '~> 2.5')
41
+ s.add_runtime_dependency('slow_enumerator_tools', '~> 1.0')
30
42
 
31
- s.add_development_dependency('bundler', '>= 1.7.10', '< 2.0')
32
43
  s.add_development_dependency('appraisal', '~> 2.1')
33
44
  end
data/nanoc.manifest ADDED
@@ -0,0 +1,545 @@
1
+ .rspec
2
+ .rubocop.yml
3
+ Appraisals
4
+ CODE_OF_CONDUCT.md
5
+ LICENSE
6
+ nanoc.gemspec
7
+ nanoc.manifest
8
+ NEWS.md
9
+ Rakefile
10
+ README.md
11
+
12
+ bin/nanoc
13
+
14
+ lib/nanoc.rb
15
+ lib/nanoc/base.rb
16
+ lib/nanoc/base/changes_stream.rb
17
+ lib/nanoc/base/contracts_support.rb
18
+ lib/nanoc/base/core_ext.rb
19
+ lib/nanoc/base/core_ext/array.rb
20
+ lib/nanoc/base/core_ext/hash.rb
21
+ lib/nanoc/base/core_ext/string.rb
22
+ lib/nanoc/base/entities.rb
23
+ lib/nanoc/base/entities/action_sequence.rb
24
+ lib/nanoc/base/entities/checksum_collection.rb
25
+ lib/nanoc/base/entities/code_snippet.rb
26
+ lib/nanoc/base/entities/configuration.rb
27
+ lib/nanoc/base/entities/content.rb
28
+ lib/nanoc/base/entities/context.rb
29
+ lib/nanoc/base/entities/dependency.rb
30
+ lib/nanoc/base/entities/directed_graph.rb
31
+ lib/nanoc/base/entities/document.rb
32
+ lib/nanoc/base/entities/identifiable_collection.rb
33
+ lib/nanoc/base/entities/identifier.rb
34
+ lib/nanoc/base/entities/item_collection.rb
35
+ lib/nanoc/base/entities/item_rep.rb
36
+ lib/nanoc/base/entities/item.rb
37
+ lib/nanoc/base/entities/layout_collection.rb
38
+ lib/nanoc/base/entities/layout.rb
39
+ lib/nanoc/base/entities/lazy_value.rb
40
+ lib/nanoc/base/entities/outdatedness_reasons.rb
41
+ lib/nanoc/base/entities/outdatedness_status.rb
42
+ lib/nanoc/base/entities/pattern.rb
43
+ lib/nanoc/base/entities/processing_action.rb
44
+ lib/nanoc/base/entities/processing_actions.rb
45
+ lib/nanoc/base/entities/processing_actions/filter.rb
46
+ lib/nanoc/base/entities/processing_actions/layout.rb
47
+ lib/nanoc/base/entities/processing_actions/snapshot.rb
48
+ lib/nanoc/base/entities/props.rb
49
+ lib/nanoc/base/entities/site.rb
50
+ lib/nanoc/base/entities/snapshot_def.rb
51
+ lib/nanoc/base/error.rb
52
+ lib/nanoc/base/errors.rb
53
+ lib/nanoc/base/feature.rb
54
+ lib/nanoc/base/memoization.rb
55
+ lib/nanoc/base/repos.rb
56
+ lib/nanoc/base/repos/action_sequence_store.rb
57
+ lib/nanoc/base/repos/aggregate_data_source.rb
58
+ lib/nanoc/base/repos/checksum_store.rb
59
+ lib/nanoc/base/repos/compiled_content_cache.rb
60
+ lib/nanoc/base/repos/config_loader.rb
61
+ lib/nanoc/base/repos/data_source.rb
62
+ lib/nanoc/base/repos/dependency_store.rb
63
+ lib/nanoc/base/repos/in_mem_data_source.rb
64
+ lib/nanoc/base/repos/item_rep_repo.rb
65
+ lib/nanoc/base/repos/outdatedness_store.rb
66
+ lib/nanoc/base/repos/prefixed_data_source.rb
67
+ lib/nanoc/base/repos/site_loader.rb
68
+ lib/nanoc/base/repos/snapshot_repo.rb
69
+ lib/nanoc/base/repos/store.rb
70
+ lib/nanoc/base/services.rb
71
+ lib/nanoc/base/services/action_provider.rb
72
+ lib/nanoc/base/services/action_sequence_builder.rb
73
+ lib/nanoc/base/services/checksummer.rb
74
+ lib/nanoc/base/services/compilation_context.rb
75
+ lib/nanoc/base/services/compiler_loader.rb
76
+ lib/nanoc/base/services/compiler.rb
77
+ lib/nanoc/base/services/compiler/phases.rb
78
+ lib/nanoc/base/services/compiler/phases/abstract.rb
79
+ lib/nanoc/base/services/compiler/phases/cache.rb
80
+ lib/nanoc/base/services/compiler/phases/mark_done.rb
81
+ lib/nanoc/base/services/compiler/phases/recalculate.rb
82
+ lib/nanoc/base/services/compiler/phases/resume.rb
83
+ lib/nanoc/base/services/compiler/phases/write.rb
84
+ lib/nanoc/base/services/compiler/stages.rb
85
+ lib/nanoc/base/services/compiler/stages/build_reps.rb
86
+ lib/nanoc/base/services/compiler/stages/calculate_checksums.rb
87
+ lib/nanoc/base/services/compiler/stages/cleanup.rb
88
+ lib/nanoc/base/services/compiler/stages/compile_reps.rb
89
+ lib/nanoc/base/services/compiler/stages/determine_outdatedness.rb
90
+ lib/nanoc/base/services/compiler/stages/forget_outdated_dependencies.rb
91
+ lib/nanoc/base/services/compiler/stages/load_stores.rb
92
+ lib/nanoc/base/services/compiler/stages/postprocess.rb
93
+ lib/nanoc/base/services/compiler/stages/preprocess.rb
94
+ lib/nanoc/base/services/compiler/stages/prune.rb
95
+ lib/nanoc/base/services/compiler/stages/store_post_compilation_state.rb
96
+ lib/nanoc/base/services/compiler/stages/store_pre_compilation_state.rb
97
+ lib/nanoc/base/services/dependency_tracker.rb
98
+ lib/nanoc/base/services/executor.rb
99
+ lib/nanoc/base/services/filter.rb
100
+ lib/nanoc/base/services/item_rep_builder.rb
101
+ lib/nanoc/base/services/item_rep_router.rb
102
+ lib/nanoc/base/services/item_rep_selector.rb
103
+ lib/nanoc/base/services/item_rep_writer.rb
104
+ lib/nanoc/base/services/notification_center.rb
105
+ lib/nanoc/base/services/outdatedness_checker.rb
106
+ lib/nanoc/base/services/outdatedness_rule.rb
107
+ lib/nanoc/base/services/outdatedness_rules.rb
108
+ lib/nanoc/base/services/outdatedness_rules/attributes_modified.rb
109
+ lib/nanoc/base/services/outdatedness_rules/code_snippets_modified.rb
110
+ lib/nanoc/base/services/outdatedness_rules/content_modified.rb
111
+ lib/nanoc/base/services/outdatedness_rules/item_collection_extended.rb
112
+ lib/nanoc/base/services/outdatedness_rules/layout_collection_extended.rb
113
+ lib/nanoc/base/services/outdatedness_rules/not_written.rb
114
+ lib/nanoc/base/services/outdatedness_rules/rules_modified.rb
115
+ lib/nanoc/base/services/outdatedness_rules/uses_always_outdated_filter.rb
116
+ lib/nanoc/base/services/pruner.rb
117
+ lib/nanoc/base/services/temp_filename_factory.rb
118
+ lib/nanoc/base/views.rb
119
+ lib/nanoc/base/views/basic_item_rep_collection_view.rb
120
+ lib/nanoc/base/views/basic_item_rep_view.rb
121
+ lib/nanoc/base/views/basic_item_view.rb
122
+ lib/nanoc/base/views/compilation_item_rep_collection_view.rb
123
+ lib/nanoc/base/views/compilation_item_rep_view.rb
124
+ lib/nanoc/base/views/compilation_item_view.rb
125
+ lib/nanoc/base/views/config_view.rb
126
+ lib/nanoc/base/views/identifiable_collection_view.rb
127
+ lib/nanoc/base/views/item_collection_with_reps_view.rb
128
+ lib/nanoc/base/views/item_collection_without_reps_view.rb
129
+ lib/nanoc/base/views/layout_collection_view.rb
130
+ lib/nanoc/base/views/layout_view.rb
131
+ lib/nanoc/base/views/mixins/document_view_mixin.rb
132
+ lib/nanoc/base/views/mixins/mutable_document_view_mixin.rb
133
+ lib/nanoc/base/views/mutable_config_view.rb
134
+ lib/nanoc/base/views/mutable_identifiable_collection_view.rb
135
+ lib/nanoc/base/views/mutable_item_collection_view.rb
136
+ lib/nanoc/base/views/mutable_item_view.rb
137
+ lib/nanoc/base/views/mutable_layout_collection_view.rb
138
+ lib/nanoc/base/views/mutable_layout_view.rb
139
+ lib/nanoc/base/views/post_compile_item_collection_view.rb
140
+ lib/nanoc/base/views/post_compile_item_rep_collection_view.rb
141
+ lib/nanoc/base/views/post_compile_item_rep_view.rb
142
+ lib/nanoc/base/views/post_compile_item_view.rb
143
+ lib/nanoc/base/views/view_context_for_compilation.rb
144
+ lib/nanoc/base/views/view_context_for_pre_compilation.rb
145
+ lib/nanoc/base/views/view_context_for_shell.rb
146
+ lib/nanoc/base/views/view.rb
147
+ lib/nanoc/checking.rb
148
+ lib/nanoc/checking/check.rb
149
+ lib/nanoc/checking/checks.rb
150
+ lib/nanoc/checking/checks/css.rb
151
+ lib/nanoc/checking/checks/external_links.rb
152
+ lib/nanoc/checking/checks/html.rb
153
+ lib/nanoc/checking/checks/internal_links.rb
154
+ lib/nanoc/checking/checks/mixed_content.rb
155
+ lib/nanoc/checking/checks/stale.rb
156
+ lib/nanoc/checking/checks/w3c_validator.rb
157
+ lib/nanoc/checking/dsl.rb
158
+ lib/nanoc/checking/issue.rb
159
+ lib/nanoc/checking/runner.rb
160
+ lib/nanoc/cli.rb
161
+ lib/nanoc/cli/ansi_string_colorizer.rb
162
+ lib/nanoc/cli/cleaning_stream.rb
163
+ lib/nanoc/cli/command_runner.rb
164
+ lib/nanoc/cli/commands/check.rb
165
+ lib/nanoc/cli/commands/compile_listeners/abstract.rb
166
+ lib/nanoc/cli/commands/compile_listeners/aggregate.rb
167
+ lib/nanoc/cli/commands/compile_listeners/debug_printer.rb
168
+ lib/nanoc/cli/commands/compile_listeners/diff_generator.rb
169
+ lib/nanoc/cli/commands/compile_listeners/file_action_printer.rb
170
+ lib/nanoc/cli/commands/compile_listeners/timing_recorder.rb
171
+ lib/nanoc/cli/commands/compile.rb
172
+ lib/nanoc/cli/commands/create-site.rb
173
+ lib/nanoc/cli/commands/deploy.rb
174
+ lib/nanoc/cli/commands/live.rb
175
+ lib/nanoc/cli/commands/nanoc.rb
176
+ lib/nanoc/cli/commands/prune.rb
177
+ lib/nanoc/cli/commands/shell.rb
178
+ lib/nanoc/cli/commands/show-data.rb
179
+ lib/nanoc/cli/commands/show-plugins.rb
180
+ lib/nanoc/cli/commands/show-rules.rb
181
+ lib/nanoc/cli/commands/view.rb
182
+ lib/nanoc/cli/error_handler.rb
183
+ lib/nanoc/cli/logger.rb
184
+ lib/nanoc/cli/stack_trace_writer.rb
185
+ lib/nanoc/cli/stream_cleaners.rb
186
+ lib/nanoc/cli/stream_cleaners/abstract.rb
187
+ lib/nanoc/cli/stream_cleaners/ansi_colors.rb
188
+ lib/nanoc/cli/stream_cleaners/utf8.rb
189
+ lib/nanoc/data_sources.rb
190
+ lib/nanoc/data_sources/filesystem.rb
191
+ lib/nanoc/data_sources/filesystem/errors.rb
192
+ lib/nanoc/data_sources/filesystem/tools.rb
193
+ lib/nanoc/deploying.rb
194
+ lib/nanoc/deploying/deployer.rb
195
+ lib/nanoc/deploying/deployers.rb
196
+ lib/nanoc/deploying/deployers/fog.rb
197
+ lib/nanoc/deploying/deployers/git.rb
198
+ lib/nanoc/deploying/deployers/rsync.rb
199
+ lib/nanoc/extra.rb
200
+ lib/nanoc/extra/core_ext.rb
201
+ lib/nanoc/extra/core_ext/pathname.rb
202
+ lib/nanoc/extra/core_ext/time.rb
203
+ lib/nanoc/extra/jruby_nokogiri_warner.rb
204
+ lib/nanoc/extra/link_collector.rb
205
+ lib/nanoc/extra/live_recompiler.rb
206
+ lib/nanoc/extra/parallel_collection.rb
207
+ lib/nanoc/extra/piper.rb
208
+ lib/nanoc/filters.rb
209
+ lib/nanoc/filters/asciidoc.rb
210
+ lib/nanoc/filters/asciidoctor.rb
211
+ lib/nanoc/filters/bluecloth.rb
212
+ lib/nanoc/filters/coffeescript.rb
213
+ lib/nanoc/filters/colorize_syntax.rb
214
+ lib/nanoc/filters/colorize_syntax/colorizers.rb
215
+ lib/nanoc/filters/erb.rb
216
+ lib/nanoc/filters/erubi.rb
217
+ lib/nanoc/filters/erubis.rb
218
+ lib/nanoc/filters/haml.rb
219
+ lib/nanoc/filters/handlebars.rb
220
+ lib/nanoc/filters/kramdown.rb
221
+ lib/nanoc/filters/less.rb
222
+ lib/nanoc/filters/markaby.rb
223
+ lib/nanoc/filters/maruku.rb
224
+ lib/nanoc/filters/mustache.rb
225
+ lib/nanoc/filters/pandoc.rb
226
+ lib/nanoc/filters/rainpress.rb
227
+ lib/nanoc/filters/rdiscount.rb
228
+ lib/nanoc/filters/rdoc.rb
229
+ lib/nanoc/filters/redcarpet.rb
230
+ lib/nanoc/filters/redcloth.rb
231
+ lib/nanoc/filters/relativize_paths.rb
232
+ lib/nanoc/filters/rubypants.rb
233
+ lib/nanoc/filters/sass.rb
234
+ lib/nanoc/filters/sass/sass_filesystem_importer.rb
235
+ lib/nanoc/filters/slim.rb
236
+ lib/nanoc/filters/typogruby.rb
237
+ lib/nanoc/filters/uglify_js.rb
238
+ lib/nanoc/filters/xsl.rb
239
+ lib/nanoc/filters/yui_compressor.rb
240
+ lib/nanoc/helpers.rb
241
+ lib/nanoc/helpers/blogging.rb
242
+ lib/nanoc/helpers/breadcrumbs.rb
243
+ lib/nanoc/helpers/capturing.rb
244
+ lib/nanoc/helpers/child_parent.rb
245
+ lib/nanoc/helpers/filtering.rb
246
+ lib/nanoc/helpers/html_escape.rb
247
+ lib/nanoc/helpers/link_to.rb
248
+ lib/nanoc/helpers/rendering.rb
249
+ lib/nanoc/helpers/tagging.rb
250
+ lib/nanoc/helpers/text.rb
251
+ lib/nanoc/helpers/xml_sitemap.rb
252
+ lib/nanoc/rule_dsl.rb
253
+ lib/nanoc/rule_dsl/action_provider.rb
254
+ lib/nanoc/rule_dsl/action_sequence_calculator.rb
255
+ lib/nanoc/rule_dsl/compiler_dsl.rb
256
+ lib/nanoc/rule_dsl/recording_executor.rb
257
+ lib/nanoc/rule_dsl/rule_context.rb
258
+ lib/nanoc/rule_dsl/rule.rb
259
+ lib/nanoc/rule_dsl/rules_collection.rb
260
+ lib/nanoc/rule_dsl/rules_loader.rb
261
+ lib/nanoc/spec.rb
262
+ lib/nanoc/telemetry.rb
263
+ lib/nanoc/telemetry/counter.rb
264
+ lib/nanoc/telemetry/labelled_counter.rb
265
+ lib/nanoc/telemetry/labelled_summary.rb
266
+ lib/nanoc/telemetry/registry.rb
267
+ lib/nanoc/telemetry/stopwatch.rb
268
+ lib/nanoc/telemetry/summary.rb
269
+ lib/nanoc/telemetry/table.rb
270
+ lib/nanoc/version.rb
271
+
272
+ spec/contributors_spec.rb
273
+ spec/manifest_spec.rb
274
+ spec/nanoc/base/changes_stream_spec.rb
275
+ spec/nanoc/base/checksummer_spec.rb
276
+ spec/nanoc/base/compiler_spec.rb
277
+ spec/nanoc/base/core_ext/array_spec.rb
278
+ spec/nanoc/base/core_ext/hash_spec.rb
279
+ spec/nanoc/base/core_ext/string_spec.rb
280
+ spec/nanoc/base/directed_graph_spec.rb
281
+ spec/nanoc/base/entities/action_sequence_spec.rb
282
+ spec/nanoc/base/entities/code_snippet_spec.rb
283
+ spec/nanoc/base/entities/configuration_spec.rb
284
+ spec/nanoc/base/entities/content_spec.rb
285
+ spec/nanoc/base/entities/context_spec.rb
286
+ spec/nanoc/base/entities/document_spec.rb
287
+ spec/nanoc/base/entities/identifiable_collection_spec.rb
288
+ spec/nanoc/base/entities/identifier_spec.rb
289
+ spec/nanoc/base/entities/item_rep_spec.rb
290
+ spec/nanoc/base/entities/item_spec.rb
291
+ spec/nanoc/base/entities/layout_spec.rb
292
+ spec/nanoc/base/entities/lazy_value_spec.rb
293
+ spec/nanoc/base/entities/outdatedness_status_spec.rb
294
+ spec/nanoc/base/entities/pattern_spec.rb
295
+ spec/nanoc/base/entities/processing_action_spec.rb
296
+ spec/nanoc/base/entities/processing_actions/filter_spec.rb
297
+ spec/nanoc/base/entities/processing_actions/layout_spec.rb
298
+ spec/nanoc/base/entities/processing_actions/snapshot_spec.rb
299
+ spec/nanoc/base/entities/props_spec.rb
300
+ spec/nanoc/base/entities/site_spec.rb
301
+ spec/nanoc/base/errors/dependency_cycle_spec.rb
302
+ spec/nanoc/base/feature_spec.rb
303
+ spec/nanoc/base/filter_spec.rb
304
+ spec/nanoc/base/item_rep_writer_spec.rb
305
+ spec/nanoc/base/memoization_spec.rb
306
+ spec/nanoc/base/repos/aggregate_data_source_spec.rb
307
+ spec/nanoc/base/repos/checksum_store_spec.rb
308
+ spec/nanoc/base/repos/compiled_content_cache_spec.rb
309
+ spec/nanoc/base/repos/config_loader_spec.rb
310
+ spec/nanoc/base/repos/data_source_spec.rb
311
+ spec/nanoc/base/repos/dependency_store_spec.rb
312
+ spec/nanoc/base/repos/in_mem_data_source_spec.rb
313
+ spec/nanoc/base/repos/outdatedness_store_spec.rb
314
+ spec/nanoc/base/repos/prefixed_data_source_spec.rb
315
+ spec/nanoc/base/repos/site_loader_spec.rb
316
+ spec/nanoc/base/repos/snapshot_repo_spec.rb
317
+ spec/nanoc/base/repos/store_spec.rb
318
+ spec/nanoc/base/services/compiler/phases/abstract_spec.rb
319
+ spec/nanoc/base/services/compiler/phases/cache_spec.rb
320
+ spec/nanoc/base/services/compiler/stages/calculate_checksums_spec.rb
321
+ spec/nanoc/base/services/compiler/stages/cleanup_spec.rb
322
+ spec/nanoc/base/services/compiler/stages/compile_reps_spec.rb
323
+ spec/nanoc/base/services/compiler/stages/determine_outdatedness_spec.rb
324
+ spec/nanoc/base/services/compiler/stages/preprocess_spec.rb
325
+ spec/nanoc/base/services/dependency_tracker_spec.rb
326
+ spec/nanoc/base/services/executor_spec.rb
327
+ spec/nanoc/base/services/item_rep_router_spec.rb
328
+ spec/nanoc/base/services/item_rep_selector_spec.rb
329
+ spec/nanoc/base/services/outdatedness_checker_spec.rb
330
+ spec/nanoc/base/services/outdatedness_rules_spec.rb
331
+ spec/nanoc/base/services/pruner_spec.rb
332
+ spec/nanoc/base/services/temp_filename_factory_spec.rb
333
+ spec/nanoc/base/views/basic_item_rep_collection_view_spec.rb
334
+ spec/nanoc/base/views/basic_item_rep_view_spec.rb
335
+ spec/nanoc/base/views/compilation_item_rep_collection_view_spec.rb
336
+ spec/nanoc/base/views/compilation_item_rep_view_spec.rb
337
+ spec/nanoc/base/views/config_view_spec.rb
338
+ spec/nanoc/base/views/item_collection_with_reps_view_spec.rb
339
+ spec/nanoc/base/views/item_collection_without_reps_view_spec.rb
340
+ spec/nanoc/base/views/item_view_spec.rb
341
+ spec/nanoc/base/views/layout_collection_view_spec.rb
342
+ spec/nanoc/base/views/layout_view_spec.rb
343
+ spec/nanoc/base/views/mutable_config_view_spec.rb
344
+ spec/nanoc/base/views/mutable_item_collection_view_spec.rb
345
+ spec/nanoc/base/views/mutable_item_view_spec.rb
346
+ spec/nanoc/base/views/mutable_layout_collection_view_spec.rb
347
+ spec/nanoc/base/views/mutable_layout_view_spec.rb
348
+ spec/nanoc/base/views/post_compile_item_rep_collection_view_spec.rb
349
+ spec/nanoc/base/views/post_compile_item_rep_view_spec.rb
350
+ spec/nanoc/base/views/post_compile_item_view_spec.rb
351
+ spec/nanoc/base/views/support/document_view_examples.rb
352
+ spec/nanoc/base/views/support/identifiable_collection_view_examples.rb
353
+ spec/nanoc/base/views/support/item_rep_collection_view_examples.rb
354
+ spec/nanoc/base/views/support/item_rep_view_examples.rb
355
+ spec/nanoc/base/views/support/mutable_document_view_examples.rb
356
+ spec/nanoc/base/views/support/mutable_identifiable_collection_view_examples.rb
357
+ spec/nanoc/checking/runner_spec.rb
358
+ spec/nanoc/cli_spec.rb
359
+ spec/nanoc/cli/command_runner_spec.rb
360
+ spec/nanoc/cli/commands/compile_spec.rb
361
+ spec/nanoc/cli/commands/compile/abstract_spec.rb
362
+ spec/nanoc/cli/commands/compile/diff_generator_spec.rb
363
+ spec/nanoc/cli/commands/compile/file_action_printer_spec.rb
364
+ spec/nanoc/cli/commands/compile/timing_recorder_spec.rb
365
+ spec/nanoc/cli/commands/deploy_spec.rb
366
+ spec/nanoc/cli/commands/shell_spec.rb
367
+ spec/nanoc/cli/commands/show_data_spec.rb
368
+ spec/nanoc/cli/commands/show_plugins_spec.rb
369
+ spec/nanoc/cli/commands/show_rules_spec.rb
370
+ spec/nanoc/cli/commands/view_spec.rb
371
+ spec/nanoc/cli/error_handler_spec.rb
372
+ spec/nanoc/cli/stack_trace_writer_spec.rb
373
+ spec/nanoc/cli/stream_cleaners/utf8_spec.rb
374
+ spec/nanoc/data_sources/filesystem_spec.rb
375
+ spec/nanoc/deploying/fog_spec.rb
376
+ spec/nanoc/deploying/git_spec.rb
377
+ spec/nanoc/extra/live_recompiler_spec.rb
378
+ spec/nanoc/extra/parallel_collection_spec.rb
379
+ spec/nanoc/filters/asciidoctor_spec.rb
380
+ spec/nanoc/filters/colorize_syntax/rouge_spec.rb
381
+ spec/nanoc/filters/less_spec.rb
382
+ spec/nanoc/helpers/blogging_spec.rb
383
+ spec/nanoc/helpers/breadcrumbs_spec.rb
384
+ spec/nanoc/helpers/capturing_spec.rb
385
+ spec/nanoc/helpers/child_parent_spec.rb
386
+ spec/nanoc/helpers/filtering_spec.rb
387
+ spec/nanoc/helpers/html_escape_spec.rb
388
+ spec/nanoc/helpers/link_to_spec.rb
389
+ spec/nanoc/helpers/rendering_spec.rb
390
+ spec/nanoc/helpers/tagging_spec.rb
391
+ spec/nanoc/helpers/text_spec.rb
392
+ spec/nanoc/integration/compile_command_spec.rb
393
+ spec/nanoc/integration/outdatedness_integration_spec.rb
394
+ spec/nanoc/integration/partial_recompilation_spec.rb
395
+ spec/nanoc/regressions/gh_1015_spec.rb
396
+ spec/nanoc/regressions/gh_1022_spec.rb
397
+ spec/nanoc/regressions/gh_1031_spec.rb
398
+ spec/nanoc/regressions/gh_1035_spec.rb
399
+ spec/nanoc/regressions/gh_1037a_spec.rb
400
+ spec/nanoc/regressions/gh_1037b_spec.rb
401
+ spec/nanoc/regressions/gh_1040_spec.rb
402
+ spec/nanoc/regressions/gh_1045_spec.rb
403
+ spec/nanoc/regressions/gh_1047_spec.rb
404
+ spec/nanoc/regressions/gh_1064_spec.rb
405
+ spec/nanoc/regressions/gh_1067_spec.rb
406
+ spec/nanoc/regressions/gh_1082a_spec.rb
407
+ spec/nanoc/regressions/gh_1082b_spec.rb
408
+ spec/nanoc/regressions/gh_1082c_spec.rb
409
+ spec/nanoc/regressions/gh_1082d_spec.rb
410
+ spec/nanoc/regressions/gh_1093_spec.rb
411
+ spec/nanoc/regressions/gh_1094_spec.rb
412
+ spec/nanoc/regressions/gh_1097_spec.rb
413
+ spec/nanoc/regressions/gh_1100_spec.rb
414
+ spec/nanoc/regressions/gh_1102_spec.rb
415
+ spec/nanoc/regressions/gh_1107_spec.rb
416
+ spec/nanoc/regressions/gh_1130_spec.rb
417
+ spec/nanoc/regressions/gh_1134_spec.rb
418
+ spec/nanoc/regressions/gh_1145_spec.rb
419
+ spec/nanoc/regressions/gh_1171_spec.rb
420
+ spec/nanoc/regressions/gh_1185_spec.rb
421
+ spec/nanoc/regressions/gh_1216_spec.rb
422
+ spec/nanoc/regressions/gh_761_spec.rb
423
+ spec/nanoc/regressions/gh_767_spec.rb
424
+ spec/nanoc/regressions/gh_769_spec.rb
425
+ spec/nanoc/regressions/gh_776_spec.rb
426
+ spec/nanoc/regressions/gh_787_spec.rb
427
+ spec/nanoc/regressions/gh_795_spec.rb
428
+ spec/nanoc/regressions/gh_804_spec.rb
429
+ spec/nanoc/regressions/gh_807_spec.rb
430
+ spec/nanoc/regressions/gh_809_spec.rb
431
+ spec/nanoc/regressions/gh_813_spec.rb
432
+ spec/nanoc/regressions/gh_815_spec.rb
433
+ spec/nanoc/regressions/gh_828_spec.rb
434
+ spec/nanoc/regressions/gh_833_spec.rb
435
+ spec/nanoc/regressions/gh_841_spec.rb
436
+ spec/nanoc/regressions/gh_867_spec.rb
437
+ spec/nanoc/regressions/gh_882_spec.rb
438
+ spec/nanoc/regressions/gh_885_spec.rb
439
+ spec/nanoc/regressions/gh_891_spec.rb
440
+ spec/nanoc/regressions/gh_913_spec.rb
441
+ spec/nanoc/regressions/gh_924_spec.rb
442
+ spec/nanoc/regressions/gh_928_spec.rb
443
+ spec/nanoc/regressions/gh_937_spec.rb
444
+ spec/nanoc/regressions/gh_942_spec.rb
445
+ spec/nanoc/regressions/gh_947_spec.rb
446
+ spec/nanoc/regressions/gh_948_spec.rb
447
+ spec/nanoc/regressions/gh_951_spec.rb
448
+ spec/nanoc/regressions/gh_954_spec.rb
449
+ spec/nanoc/regressions/gh_970a_spec.rb
450
+ spec/nanoc/regressions/gh_970b_spec.rb
451
+ spec/nanoc/regressions/gh_974_spec.rb
452
+ spec/nanoc/regressions/gh_981_spec.rb
453
+ spec/nanoc/rule_dsl/action_sequence_calculator_spec.rb
454
+ spec/nanoc/rule_dsl/recording_executor_spec.rb
455
+ spec/nanoc/rule_dsl/rule_context_spec.rb
456
+ spec/nanoc/rule_dsl/rules_collection_spec.rb
457
+ spec/nanoc/spec_spec.rb
458
+ spec/nanoc/telemetry_spec.rb
459
+ spec/nanoc/telemetry/counter_spec.rb
460
+ spec/nanoc/telemetry/labelled_counter_spec.rb
461
+ spec/nanoc/telemetry/labelled_summary_spec.rb
462
+ spec/nanoc/telemetry/stopwatch_spec.rb
463
+ spec/nanoc/telemetry/summary_spec.rb
464
+ spec/nanoc/telemetry/table_spec.rb
465
+ spec/regression_filenames_spec.rb
466
+ spec/spec_helper.rb
467
+
468
+ test/base/test_compiler.rb
469
+ test/base/test_dependency_tracker.rb
470
+ test/base/test_filter.rb
471
+ test/base/test_notification_center.rb
472
+ test/base/test_site.rb
473
+ test/base/test_store.rb
474
+ test/checking/checks/test_css.rb
475
+ test/checking/checks/test_external_links.rb
476
+ test/checking/checks/test_html.rb
477
+ test/checking/checks/test_internal_links.rb
478
+ test/checking/checks/test_mixed_content.rb
479
+ test/checking/checks/test_stale.rb
480
+ test/checking/test_check.rb
481
+ test/checking/test_dsl.rb
482
+ test/checking/test_runner.rb
483
+ test/cli/commands/test_check.rb
484
+ test/cli/commands/test_compile.rb
485
+ test/cli/commands/test_create_site.rb
486
+ test/cli/commands/test_help.rb
487
+ test/cli/commands/test_prune.rb
488
+ test/cli/test_cleaning_stream.rb
489
+ test/cli/test_cli.rb
490
+ test/cli/test_error_handler.rb
491
+ test/cli/test_logger.rb
492
+ test/data_sources/test_filesystem_tools.rb
493
+ test/data_sources/test_filesystem.rb
494
+ test/deploying/test_fog.rb
495
+ test/deploying/test_git.rb
496
+ test/deploying/test_rsync.rb
497
+ test/extra/core_ext/test_time.rb
498
+ test/extra/test_link_collector.rb
499
+ test/extra/test_piper.rb
500
+ test/filters/colorize_syntax/test_coderay.rb
501
+ test/filters/colorize_syntax/test_common.rb
502
+ test/filters/colorize_syntax/test_pygmentize.rb
503
+ test/filters/colorize_syntax/test_pygments.rb
504
+ test/filters/colorize_syntax/test_simon.rb
505
+ test/filters/test_asciidoc.rb
506
+ test/filters/test_bluecloth.rb
507
+ test/filters/test_coffeescript.rb
508
+ test/filters/test_erb.rb
509
+ test/filters/test_erubi.rb
510
+ test/filters/test_erubis.rb
511
+ test/filters/test_haml.rb
512
+ test/filters/test_handlebars.rb
513
+ test/filters/test_kramdown.rb
514
+ test/filters/test_markaby.rb
515
+ test/filters/test_maruku.rb
516
+ test/filters/test_mustache.rb
517
+ test/filters/test_pandoc.rb
518
+ test/filters/test_rainpress.rb
519
+ test/filters/test_rdiscount.rb
520
+ test/filters/test_rdoc.rb
521
+ test/filters/test_redcarpet.rb
522
+ test/filters/test_redcloth.rb
523
+ test/filters/test_relativize_paths.rb
524
+ test/filters/test_rubypants.rb
525
+ test/filters/test_sass.rb
526
+ test/filters/test_slim.rb
527
+ test/filters/test_typogruby.rb
528
+ test/filters/test_uglify_js.rb
529
+ test/filters/test_xsl.rb
530
+ test/filters/test_yui_compressor.rb
531
+ test/fixtures/vcr_cassettes/css_run_error.yml
532
+ test/fixtures/vcr_cassettes/css_run_ok.yml
533
+ test/fixtures/vcr_cassettes/css_run_parse_error.yml
534
+ test/fixtures/vcr_cassettes/html_run_error.yml
535
+ test/fixtures/vcr_cassettes/html_run_ok.yml
536
+ test/helper.rb
537
+ test/helpers/test_blogging.rb
538
+ test/helpers/test_capturing.rb
539
+ test/helpers/test_link_to.rb
540
+ test/helpers/test_xml_sitemap.rb
541
+ test/rule_dsl/test_action_provider.rb
542
+ test/rule_dsl/test_compiler_dsl.rb
543
+ test/rule_dsl/test_rule.rb
544
+ test/rule_dsl/test_rules_collection.rb
545
+ test/test_gem.rb