nanoc 4.7.7 → 4.7.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -5
- data/NEWS.md +12 -0
- data/lib/nanoc/base/entities.rb +1 -0
- data/lib/nanoc/base/entities/action_sequence.rb +8 -36
- data/lib/nanoc/base/entities/checksum_collection.rb +31 -0
- data/lib/nanoc/base/entities/directed_graph.rb +35 -11
- data/lib/nanoc/base/errors.rb +3 -1
- data/lib/nanoc/base/repos/checksum_store.rb +1 -0
- data/lib/nanoc/base/services.rb +1 -0
- data/lib/nanoc/base/services/action_sequence_builder.rb +45 -0
- data/lib/nanoc/base/services/compiler.rb +34 -14
- data/lib/nanoc/base/services/compiler/stages.rb +1 -0
- data/lib/nanoc/base/services/compiler/stages/calculate_checksums.rb +31 -0
- data/lib/nanoc/base/services/compiler/stages/store_pre_compilation_state.rb +6 -13
- data/lib/nanoc/base/services/outdatedness_checker.rb +4 -2
- data/lib/nanoc/base/services/outdatedness_rules/attributes_modified.rb +1 -1
- data/lib/nanoc/base/services/outdatedness_rules/code_snippets_modified.rb +1 -1
- data/lib/nanoc/base/services/outdatedness_rules/configuration_modified.rb +1 -1
- data/lib/nanoc/base/services/outdatedness_rules/content_modified.rb +1 -1
- data/lib/nanoc/cli/cleaning_stream.rb +1 -1
- data/lib/nanoc/cli/commands/show-data.rb +1 -0
- data/lib/nanoc/rule_dsl/action_sequence_calculator.rb +7 -14
- data/lib/nanoc/rule_dsl/recording_executor.rb +40 -7
- data/lib/nanoc/version.rb +1 -1
- data/spec/nanoc/base/compiler_spec.rb +5 -5
- data/spec/nanoc/base/directed_graph_spec.rb +12 -0
- data/spec/nanoc/base/entities/action_sequence_spec.rb +132 -79
- data/spec/nanoc/base/errors/dependency_cycle_spec.rb +4 -4
- data/spec/nanoc/base/services/compiler/stages/calculate_checksums_spec.rb +69 -0
- data/spec/nanoc/base/services/executor_spec.rb +2 -2
- data/spec/nanoc/base/services/item_rep_router_spec.rb +4 -4
- data/spec/nanoc/base/services/outdatedness_checker_spec.rb +40 -24
- data/spec/nanoc/base/services/outdatedness_rules_spec.rb +27 -15
- data/spec/nanoc/cli/commands/show_data_spec.rb +2 -0
- data/spec/nanoc/rule_dsl/action_sequence_calculator_spec.rb +15 -13
- data/spec/nanoc/rule_dsl/recording_executor_spec.rb +4 -3
- data/test/cli/test_cleaning_stream.rb +8 -0
- metadata +6 -2
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.7.
|
4
|
+
version: 4.7.8
|
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-04-
|
11
|
+
date: 2017-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cri
|
@@ -132,6 +132,7 @@ files:
|
|
132
132
|
- lib/nanoc/base/core_ext/string.rb
|
133
133
|
- lib/nanoc/base/entities.rb
|
134
134
|
- lib/nanoc/base/entities/action_sequence.rb
|
135
|
+
- lib/nanoc/base/entities/checksum_collection.rb
|
135
136
|
- lib/nanoc/base/entities/code_snippet.rb
|
136
137
|
- lib/nanoc/base/entities/configuration.rb
|
137
138
|
- lib/nanoc/base/entities/content.rb
|
@@ -177,6 +178,7 @@ files:
|
|
177
178
|
- lib/nanoc/base/repos/store.rb
|
178
179
|
- lib/nanoc/base/services.rb
|
179
180
|
- lib/nanoc/base/services/action_provider.rb
|
181
|
+
- lib/nanoc/base/services/action_sequence_builder.rb
|
180
182
|
- lib/nanoc/base/services/checksummer.rb
|
181
183
|
- lib/nanoc/base/services/compilation_context.rb
|
182
184
|
- lib/nanoc/base/services/compiler.rb
|
@@ -189,6 +191,7 @@ files:
|
|
189
191
|
- lib/nanoc/base/services/compiler/phases/write.rb
|
190
192
|
- lib/nanoc/base/services/compiler/stages.rb
|
191
193
|
- lib/nanoc/base/services/compiler/stages/build_reps.rb
|
194
|
+
- lib/nanoc/base/services/compiler/stages/calculate_checksums.rb
|
192
195
|
- lib/nanoc/base/services/compiler/stages/cleanup.rb
|
193
196
|
- lib/nanoc/base/services/compiler/stages/compile_reps.rb
|
194
197
|
- lib/nanoc/base/services/compiler/stages/determine_outdatedness.rb
|
@@ -403,6 +406,7 @@ files:
|
|
403
406
|
- spec/nanoc/base/repos/store_spec.rb
|
404
407
|
- spec/nanoc/base/services/compiler/phases/abstract_spec.rb
|
405
408
|
- spec/nanoc/base/services/compiler/phases/cache_spec.rb
|
409
|
+
- spec/nanoc/base/services/compiler/stages/calculate_checksums_spec.rb
|
406
410
|
- spec/nanoc/base/services/compiler/stages/cleanup_spec.rb
|
407
411
|
- spec/nanoc/base/services/compiler/stages/compile_reps_spec.rb
|
408
412
|
- spec/nanoc/base/services/dependency_tracker_spec.rb
|