nanoc 4.7.4 → 4.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -2
- data/Gemfile.lock +19 -29
- data/NEWS.md +11 -0
- data/lib/nanoc/base/entities/identifiable_collection.rb +21 -0
- data/lib/nanoc/base/services/compilation_context.rb +54 -0
- data/lib/nanoc/base/services/compiler/stages/build_reps.rb +27 -0
- data/lib/nanoc/base/services/compiler/stages/determine_outdatedness.rb +4 -6
- data/lib/nanoc/base/services/compiler/stages/forget_outdated_dependencies.rb +14 -0
- data/lib/nanoc/base/services/compiler/stages/load_stores.rb +22 -0
- data/lib/nanoc/base/services/compiler/stages/postprocess.rb +16 -0
- data/lib/nanoc/base/services/compiler/stages/store_post_compilation_state.rb +14 -0
- data/lib/nanoc/base/services/compiler/stages/store_pre_compilation_state.rb +33 -0
- data/lib/nanoc/base/services/compiler/stages.rb +6 -0
- data/lib/nanoc/base/services/compiler.rb +85 -142
- data/lib/nanoc/base/services/compiler_loader.rb +0 -11
- data/lib/nanoc/base/services/outdatedness_checker.rb +19 -40
- data/lib/nanoc/base/services.rb +1 -0
- data/lib/nanoc/base/views/identifiable_collection_view.rb +1 -2
- data/lib/nanoc/cli/commands/compile_listeners/timing_recorder.rb +2 -2
- data/lib/nanoc/cli/commands/show-data.rb +14 -12
- data/lib/nanoc/version.rb +1 -1
- data/spec/nanoc/base/compiler_spec.rb +0 -5
- data/spec/nanoc/base/entities/identifiable_collection_spec.rb +34 -0
- data/spec/nanoc/base/services/compiler/stages/compile_reps_spec.rb +1 -1
- data/spec/nanoc/base/services/executor_spec.rb +1 -1
- data/spec/nanoc/base/services/outdatedness_checker_spec.rb +21 -8
- data/spec/nanoc/base/services/outdatedness_rules_spec.rb +6 -9
- data/spec/nanoc/cli/commands/show_data_spec.rb +147 -0
- data/spec/nanoc/integration/outdatedness_integration_spec.rb +14 -14
- data/spec/nanoc/integration/partial_recompilation_spec.rb +4 -4
- data/spec/nanoc/regressions/gh_1145_spec.rb +16 -0
- data/spec/nanoc/regressions/gh_970b_spec.rb +3 -3
- data/spec/spec_helper.rb +1 -1
- metadata +10 -3
- data/test/base/test_outdatedness_checker.rb +0 -491
@@ -10,7 +10,7 @@ describe Nanoc::Int::OutdatednessRules do
|
|
10
10
|
checksum_store: checksum_store,
|
11
11
|
dependency_store: dependency_store,
|
12
12
|
action_sequence_store: action_sequence_store,
|
13
|
-
|
13
|
+
action_sequences: action_sequences,
|
14
14
|
reps: reps,
|
15
15
|
)
|
16
16
|
end
|
@@ -30,7 +30,7 @@ describe Nanoc::Int::OutdatednessRules do
|
|
30
30
|
)
|
31
31
|
end
|
32
32
|
|
33
|
-
let(:
|
33
|
+
let(:action_sequences) { {} }
|
34
34
|
let(:reps) { Nanoc::Int::ItemRepRepo.new }
|
35
35
|
let(:dependency_store) { Nanoc::Int::DependencyStore.new(dependency_store_objects) }
|
36
36
|
let(:action_sequence_store) { Nanoc::Int::ActionSequenceStore.new }
|
@@ -309,9 +309,10 @@ describe Nanoc::Int::OutdatednessRules do
|
|
309
309
|
end
|
310
310
|
end
|
311
311
|
|
312
|
+
let(:action_sequences) { { item_rep => new_mem } }
|
313
|
+
|
312
314
|
before do
|
313
315
|
action_sequence_store[item_rep] = old_mem.serialize
|
314
|
-
allow(action_provider).to receive(:action_sequence_for).with(item_rep).and_return(new_mem)
|
315
316
|
end
|
316
317
|
|
317
318
|
context 'memory is the same' do
|
@@ -334,9 +335,7 @@ describe Nanoc::Int::OutdatednessRules do
|
|
334
335
|
context 'PathsModified' do
|
335
336
|
let(:rule_class) { Nanoc::Int::OutdatednessRules::PathsModified }
|
336
337
|
|
337
|
-
|
338
|
-
allow(action_provider).to receive(:action_sequence_for).with(item_rep).and_return(new_mem)
|
339
|
-
end
|
338
|
+
let(:action_sequences) { { item_rep => new_mem } }
|
340
339
|
|
341
340
|
context 'old mem does not exist' do
|
342
341
|
let(:new_mem) do
|
@@ -513,9 +512,7 @@ describe Nanoc::Int::OutdatednessRules do
|
|
513
512
|
describe 'UsesAlwaysOutdatedFilter' do
|
514
513
|
let(:rule_class) { Nanoc::Int::OutdatednessRules::UsesAlwaysOutdatedFilter }
|
515
514
|
|
516
|
-
|
517
|
-
allow(action_provider).to receive(:action_sequence_for).with(item_rep).and_return(mem)
|
518
|
-
end
|
515
|
+
let(:action_sequences) { { item_rep => mem } }
|
519
516
|
|
520
517
|
context 'unknown filter' do
|
521
518
|
let(:mem) do
|
@@ -125,4 +125,151 @@ describe Nanoc::CLI::Commands::ShowData, stdio: true do
|
|
125
125
|
end
|
126
126
|
end
|
127
127
|
end
|
128
|
+
|
129
|
+
describe '#print_item_rep_outdatedness' do
|
130
|
+
subject { runner.send(:print_item_rep_outdatedness, items, compiler) }
|
131
|
+
|
132
|
+
let(:runner) do
|
133
|
+
described_class.new(options, arguments, command)
|
134
|
+
end
|
135
|
+
|
136
|
+
let(:options) { {} }
|
137
|
+
let(:arguments) { [] }
|
138
|
+
let(:command) { double(:command) }
|
139
|
+
|
140
|
+
let(:config) { Nanoc::Int::Configuration.new }
|
141
|
+
|
142
|
+
let(:items) do
|
143
|
+
Nanoc::Int::IdentifiableCollection.new(
|
144
|
+
config,
|
145
|
+
[
|
146
|
+
item_about,
|
147
|
+
item_dog,
|
148
|
+
],
|
149
|
+
)
|
150
|
+
end
|
151
|
+
|
152
|
+
let(:item_about) { Nanoc::Int::Item.new('About Me', {}, '/about.md') }
|
153
|
+
let(:item_dog) { Nanoc::Int::Item.new('About My Dog', {}, '/dog.md') }
|
154
|
+
|
155
|
+
let(:item_rep_about) { Nanoc::Int::ItemRep.new(item_about, :default) }
|
156
|
+
let(:item_rep_dog) { Nanoc::Int::ItemRep.new(item_dog, :default) }
|
157
|
+
|
158
|
+
let(:site) { double(:site) }
|
159
|
+
let(:compiler) { double(:compiler) }
|
160
|
+
let(:outdatedness_checker) { double(:outdatedness_checker) }
|
161
|
+
|
162
|
+
let(:reps) do
|
163
|
+
{
|
164
|
+
item_about => [item_rep_about],
|
165
|
+
item_dog => [item_rep_dog],
|
166
|
+
}
|
167
|
+
end
|
168
|
+
|
169
|
+
before do
|
170
|
+
allow(runner).to receive(:site).and_return(site)
|
171
|
+
allow(site).to receive(:compiler).and_return(compiler)
|
172
|
+
allow(compiler).to receive(:create_outdatedness_checker).and_return(outdatedness_checker)
|
173
|
+
allow(compiler).to receive(:reps).and_return(reps)
|
174
|
+
end
|
175
|
+
|
176
|
+
context 'not outdated' do
|
177
|
+
before do
|
178
|
+
allow(outdatedness_checker).to receive(:outdatedness_reasons_for).with(item_rep_about).and_return([])
|
179
|
+
allow(outdatedness_checker).to receive(:outdatedness_reasons_for).with(item_rep_dog).and_return([])
|
180
|
+
end
|
181
|
+
|
182
|
+
example do
|
183
|
+
expect { subject }.to output(%r{^item /about.md, rep default:\n is not outdated$}).to_stdout
|
184
|
+
end
|
185
|
+
|
186
|
+
example do
|
187
|
+
expect { subject }.to output(%r{^item /dog.md, rep default:\n is not outdated$}).to_stdout
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
191
|
+
context 'outdated' do
|
192
|
+
before do
|
193
|
+
reasons_about =
|
194
|
+
[
|
195
|
+
Nanoc::Int::OutdatednessReasons::ContentModified,
|
196
|
+
Nanoc::Int::OutdatednessReasons::AttributesModified.new([:title]),
|
197
|
+
]
|
198
|
+
|
199
|
+
reasons_dog =
|
200
|
+
[Nanoc::Int::OutdatednessReasons::DependenciesOutdated]
|
201
|
+
|
202
|
+
allow(outdatedness_checker).to receive(:outdatedness_reasons_for)
|
203
|
+
.with(item_rep_about).and_return(reasons_about)
|
204
|
+
|
205
|
+
allow(outdatedness_checker).to receive(:outdatedness_reasons_for)
|
206
|
+
.with(item_rep_dog).and_return(reasons_dog)
|
207
|
+
end
|
208
|
+
|
209
|
+
example do
|
210
|
+
expect { subject }.to output(%r{^item /about.md, rep default:\n is outdated:\n - The content of this item has been modified since the last time the site was compiled.\n - The attributes of this item have been modified since the last time the site was compiled.$}).to_stdout
|
211
|
+
end
|
212
|
+
|
213
|
+
example do
|
214
|
+
expect { subject }.to output(%r{^item /dog.md, rep default:\n is outdated:\n - This item uses content or attributes that have changed since the last time the site was compiled.$}).to_stdout
|
215
|
+
end
|
216
|
+
end
|
217
|
+
end
|
218
|
+
|
219
|
+
describe '#print_layouts' do
|
220
|
+
subject { runner.send(:print_layouts, layouts, compiler) }
|
221
|
+
|
222
|
+
let(:runner) do
|
223
|
+
described_class.new(options, arguments, command)
|
224
|
+
end
|
225
|
+
|
226
|
+
let(:options) { {} }
|
227
|
+
let(:arguments) { [] }
|
228
|
+
let(:command) { double(:command) }
|
229
|
+
|
230
|
+
let(:config) { Nanoc::Int::Configuration.new }
|
231
|
+
|
232
|
+
let(:layouts) do
|
233
|
+
Nanoc::Int::IdentifiableCollection.new(config, [layout])
|
234
|
+
end
|
235
|
+
|
236
|
+
let(:layout) { Nanoc::Int::Layout.new('stuff', {}, '/default.erb') }
|
237
|
+
|
238
|
+
let(:site) { double(:site) }
|
239
|
+
let(:compiler) { double(:compiler) }
|
240
|
+
let(:outdatedness_checker) { double(:outdatedness_checker) }
|
241
|
+
|
242
|
+
before do
|
243
|
+
allow(runner).to receive(:site).and_return(site)
|
244
|
+
allow(site).to receive(:compiler).and_return(compiler)
|
245
|
+
allow(compiler).to receive(:create_outdatedness_checker).and_return(outdatedness_checker)
|
246
|
+
end
|
247
|
+
|
248
|
+
context 'not outdated' do
|
249
|
+
before do
|
250
|
+
allow(outdatedness_checker).to receive(:outdatedness_reasons_for).with(layout).and_return([])
|
251
|
+
end
|
252
|
+
|
253
|
+
example do
|
254
|
+
expect { subject }.to output(%r{^layout /default.erb:\n is not outdated$}).to_stdout
|
255
|
+
end
|
256
|
+
end
|
257
|
+
|
258
|
+
context 'outdated' do
|
259
|
+
before do
|
260
|
+
reasons =
|
261
|
+
[
|
262
|
+
Nanoc::Int::OutdatednessReasons::ContentModified,
|
263
|
+
Nanoc::Int::OutdatednessReasons::AttributesModified.new([:title]),
|
264
|
+
]
|
265
|
+
|
266
|
+
allow(outdatedness_checker).to receive(:outdatedness_reasons_for)
|
267
|
+
.with(layout).and_return(reasons)
|
268
|
+
end
|
269
|
+
|
270
|
+
example do
|
271
|
+
expect { subject }.to output(%r{^layout /default.erb:\n is outdated:\n - The content of this item has been modified since the last time the site was compiled.\n - The attributes of this item have been modified since the last time the site was compiled.$}).to_stdout
|
272
|
+
end
|
273
|
+
end
|
274
|
+
end
|
128
275
|
end
|
@@ -40,7 +40,7 @@ EOS
|
|
40
40
|
output(/^item \/foo\.md, rep default:\n is not outdated/).to_stdout,
|
41
41
|
)
|
42
42
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }.to(
|
43
|
-
output(/^item \/bar\.md, rep default:\n is outdated
|
43
|
+
output(/^item \/bar\.md, rep default:\n is outdated:/).to_stdout,
|
44
44
|
)
|
45
45
|
end
|
46
46
|
|
@@ -49,7 +49,7 @@ EOS
|
|
49
49
|
FileUtils.touch('content/foo.md', mtime: time)
|
50
50
|
|
51
51
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }.to(
|
52
|
-
output(/^item \/foo\.md, rep default:\n is outdated
|
52
|
+
output(/^item \/foo\.md, rep default:\n is outdated:/).to_stdout,
|
53
53
|
)
|
54
54
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }.to(
|
55
55
|
output(/^item \/bar\.md, rep default:\n is not outdated/).to_stdout,
|
@@ -61,10 +61,10 @@ EOS
|
|
61
61
|
FileUtils.touch('content/foo.md', mtime: time)
|
62
62
|
|
63
63
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }.to(
|
64
|
-
output(/^item \/foo\.md, rep default:\n is outdated
|
64
|
+
output(/^item \/foo\.md, rep default:\n is outdated:/).to_stdout,
|
65
65
|
)
|
66
66
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }.to(
|
67
|
-
output(/^item \/bar\.md, rep default:\n is outdated
|
67
|
+
output(/^item \/bar\.md, rep default:\n is outdated:/).to_stdout,
|
68
68
|
)
|
69
69
|
end
|
70
70
|
end
|
@@ -104,7 +104,7 @@ EOS
|
|
104
104
|
output(/^item \/foo\.md, rep default:\n is not outdated/).to_stdout,
|
105
105
|
)
|
106
106
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }.to(
|
107
|
-
output(/^item \/bar\.md, rep default:\n is outdated
|
107
|
+
output(/^item \/bar\.md, rep default:\n is outdated:/).to_stdout,
|
108
108
|
)
|
109
109
|
end
|
110
110
|
|
@@ -112,10 +112,10 @@ EOS
|
|
112
112
|
File.write('content/foo.md', "---\ntitle: hello\n---\n\nfoooOoooOOoooOooo")
|
113
113
|
|
114
114
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }.to(
|
115
|
-
output(/^item \/foo\.md, rep default:\n is outdated
|
115
|
+
output(/^item \/foo\.md, rep default:\n is outdated:/).to_stdout,
|
116
116
|
)
|
117
117
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }.to(
|
118
|
-
output(/^item \/bar\.md, rep default:\n is outdated
|
118
|
+
output(/^item \/bar\.md, rep default:\n is outdated:/).to_stdout,
|
119
119
|
)
|
120
120
|
end
|
121
121
|
|
@@ -123,7 +123,7 @@ EOS
|
|
123
123
|
File.write('content/foo.md', "---\ntitle: bye\n---\n\nfoo")
|
124
124
|
|
125
125
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }.to(
|
126
|
-
output(/^item \/foo\.md, rep default:\n is outdated
|
126
|
+
output(/^item \/foo\.md, rep default:\n is outdated:/).to_stdout,
|
127
127
|
)
|
128
128
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }.to(
|
129
129
|
output(/^item \/bar\.md, rep default:\n is not outdated/).to_stdout,
|
@@ -166,7 +166,7 @@ EOS
|
|
166
166
|
output(/^item \/foo\.md, rep default:\n is not outdated/).to_stdout,
|
167
167
|
)
|
168
168
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }.to(
|
169
|
-
output(/^item \/bar\.md, rep default:\n is outdated
|
169
|
+
output(/^item \/bar\.md, rep default:\n is outdated:/).to_stdout,
|
170
170
|
)
|
171
171
|
end
|
172
172
|
|
@@ -174,10 +174,10 @@ EOS
|
|
174
174
|
File.write('content/foo.md', "---\ntitle: hello\n---\n\nfoooOoooOOoooOooo")
|
175
175
|
|
176
176
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }.to(
|
177
|
-
output(/^item \/foo\.md, rep default:\n is outdated
|
177
|
+
output(/^item \/foo\.md, rep default:\n is outdated:/).to_stdout,
|
178
178
|
)
|
179
179
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }.to(
|
180
|
-
output(/^item \/bar\.md, rep default:\n is outdated
|
180
|
+
output(/^item \/bar\.md, rep default:\n is outdated:/).to_stdout,
|
181
181
|
)
|
182
182
|
end
|
183
183
|
|
@@ -185,10 +185,10 @@ EOS
|
|
185
185
|
File.write('content/foo.md', "---\ntitle: bye\n---\n\nfoo")
|
186
186
|
|
187
187
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }.to(
|
188
|
-
output(/^item \/foo\.md, rep default:\n is outdated
|
188
|
+
output(/^item \/foo\.md, rep default:\n is outdated:/).to_stdout,
|
189
189
|
)
|
190
190
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }.to(
|
191
|
-
output(/^item \/bar\.md, rep default:\n is outdated
|
191
|
+
output(/^item \/bar\.md, rep default:\n is outdated:/).to_stdout,
|
192
192
|
)
|
193
193
|
end
|
194
194
|
|
@@ -206,7 +206,7 @@ end
|
|
206
206
|
EOS
|
207
207
|
|
208
208
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }.to(
|
209
|
-
output(/^item \/foo\.md, rep default:\n is outdated
|
209
|
+
output(/^item \/foo\.md, rep default:\n is outdated:/).to_stdout,
|
210
210
|
)
|
211
211
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }.to(
|
212
212
|
output(/^item \/bar\.md, rep default:\n is not outdated/).to_stdout,
|
@@ -20,9 +20,9 @@ EOS
|
|
20
20
|
expect(File.file?('output/bar.html')).not_to be
|
21
21
|
|
22
22
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }
|
23
|
-
.to(output(/^item \/foo\.md, rep default:\n is outdated
|
23
|
+
.to(output(/^item \/foo\.md, rep default:\n is outdated:/).to_stdout)
|
24
24
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }
|
25
|
-
.to(output(/^item \/bar\.md, rep default:\n is outdated
|
25
|
+
.to(output(/^item \/bar\.md, rep default:\n is outdated:/).to_stdout)
|
26
26
|
|
27
27
|
expect { Nanoc::CLI.run(%w(compile --verbose)) rescue nil }
|
28
28
|
.to output(/create.*output\/foo\.html/).to_stdout
|
@@ -30,7 +30,7 @@ EOS
|
|
30
30
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }
|
31
31
|
.to(output(/^item \/foo\.md, rep default:\n is not outdated/).to_stdout)
|
32
32
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }
|
33
|
-
.to(output(/^item \/bar\.md, rep default:\n is outdated
|
33
|
+
.to(output(/^item \/bar\.md, rep default:\n is outdated:/).to_stdout)
|
34
34
|
|
35
35
|
expect(File.file?('output/foo.html')).to be
|
36
36
|
expect(File.file?('output/bar.html')).not_to be
|
@@ -43,6 +43,6 @@ EOS
|
|
43
43
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }
|
44
44
|
.to(output(/^item \/foo\.md, rep default:\n is not outdated/).to_stdout)
|
45
45
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }
|
46
|
-
.to(output(/^item \/bar\.md, rep default:\n is outdated
|
46
|
+
.to(output(/^item \/bar\.md, rep default:\n is outdated:/).to_stdout)
|
47
47
|
end
|
48
48
|
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
describe 'GH-1145', site: true, stdio: true do
|
2
|
+
before do
|
3
|
+
File.write('content/foo.txt', 'asdf')
|
4
|
+
|
5
|
+
File.write('Rules', <<EOS)
|
6
|
+
compile '/**/*' do
|
7
|
+
filter :erb
|
8
|
+
write '/last.html'
|
9
|
+
end
|
10
|
+
EOS
|
11
|
+
end
|
12
|
+
|
13
|
+
it 'detects missing output file of non-default rep' do
|
14
|
+
expect { Nanoc::CLI.run(%w(--verbose)) }.to output(/erb /).to_stdout
|
15
|
+
end
|
16
|
+
end
|
@@ -33,7 +33,7 @@ EOS
|
|
33
33
|
output(/^item \/foo\.md, rep default:\n is not outdated/).to_stdout,
|
34
34
|
)
|
35
35
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }.to(
|
36
|
-
output(/^item \/bar\.md, rep default:\n is outdated
|
36
|
+
output(/^item \/bar\.md, rep default:\n is outdated:/).to_stdout,
|
37
37
|
)
|
38
38
|
end
|
39
39
|
|
@@ -41,10 +41,10 @@ EOS
|
|
41
41
|
File.write('content/foo.md', 'FOO!')
|
42
42
|
|
43
43
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }.to(
|
44
|
-
output(/^item \/foo\.md, rep default:\n is outdated
|
44
|
+
output(/^item \/foo\.md, rep default:\n is outdated:/).to_stdout,
|
45
45
|
)
|
46
46
|
expect { Nanoc::CLI.run(%w(show-data --no-color)) }.to(
|
47
|
-
output(/^item \/bar\.md, rep default:\n is outdated
|
47
|
+
output(/^item \/bar\.md, rep default:\n is outdated:/).to_stdout,
|
48
48
|
)
|
49
49
|
end
|
50
50
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -70,7 +70,7 @@ RSpec.configure do |c|
|
|
70
70
|
File.write('Rules', 'passthrough "/**/*"')
|
71
71
|
end
|
72
72
|
|
73
|
-
c.include(Nanoc::Spec::HelperHelper, helper: true)
|
73
|
+
c.include(Nanoc::Spec::HelperHelper, helper: true)
|
74
74
|
|
75
75
|
# Set focus if any
|
76
76
|
if ENV.fetch('FOCUS', false)
|
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.5
|
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-
|
11
|
+
date: 2017-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cri
|
@@ -178,6 +178,7 @@ files:
|
|
178
178
|
- lib/nanoc/base/services.rb
|
179
179
|
- lib/nanoc/base/services/action_provider.rb
|
180
180
|
- lib/nanoc/base/services/checksummer.rb
|
181
|
+
- lib/nanoc/base/services/compilation_context.rb
|
181
182
|
- lib/nanoc/base/services/compiler.rb
|
182
183
|
- lib/nanoc/base/services/compiler/phases.rb
|
183
184
|
- lib/nanoc/base/services/compiler/phases/abstract.rb
|
@@ -187,11 +188,17 @@ files:
|
|
187
188
|
- lib/nanoc/base/services/compiler/phases/resume.rb
|
188
189
|
- lib/nanoc/base/services/compiler/phases/write.rb
|
189
190
|
- lib/nanoc/base/services/compiler/stages.rb
|
191
|
+
- lib/nanoc/base/services/compiler/stages/build_reps.rb
|
190
192
|
- lib/nanoc/base/services/compiler/stages/cleanup.rb
|
191
193
|
- lib/nanoc/base/services/compiler/stages/compile_reps.rb
|
192
194
|
- lib/nanoc/base/services/compiler/stages/determine_outdatedness.rb
|
195
|
+
- lib/nanoc/base/services/compiler/stages/forget_outdated_dependencies.rb
|
196
|
+
- lib/nanoc/base/services/compiler/stages/load_stores.rb
|
197
|
+
- lib/nanoc/base/services/compiler/stages/postprocess.rb
|
193
198
|
- lib/nanoc/base/services/compiler/stages/preprocess.rb
|
194
199
|
- lib/nanoc/base/services/compiler/stages/prune.rb
|
200
|
+
- lib/nanoc/base/services/compiler/stages/store_post_compilation_state.rb
|
201
|
+
- lib/nanoc/base/services/compiler/stages/store_pre_compilation_state.rb
|
195
202
|
- lib/nanoc/base/services/compiler_loader.rb
|
196
203
|
- lib/nanoc/base/services/dependency_tracker.rb
|
197
204
|
- lib/nanoc/base/services/executor.rb
|
@@ -477,6 +484,7 @@ files:
|
|
477
484
|
- spec/nanoc/regressions/gh_1107_spec.rb
|
478
485
|
- spec/nanoc/regressions/gh_1130_spec.rb
|
479
486
|
- spec/nanoc/regressions/gh_1134_spec.rb
|
487
|
+
- spec/nanoc/regressions/gh_1145_spec.rb
|
480
488
|
- spec/nanoc/regressions/gh_761_spec.rb
|
481
489
|
- spec/nanoc/regressions/gh_767_spec.rb
|
482
490
|
- spec/nanoc/regressions/gh_769_spec.rb
|
@@ -536,7 +544,6 @@ files:
|
|
536
544
|
- test/base/test_item_array.rb
|
537
545
|
- test/base/test_layout.rb
|
538
546
|
- test/base/test_notification_center.rb
|
539
|
-
- test/base/test_outdatedness_checker.rb
|
540
547
|
- test/base/test_site.rb
|
541
548
|
- test/base/test_store.rb
|
542
549
|
- test/checking/checks/test_css.rb
|