nanoc-core 4.14.2 → 4.14.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/nanoc/core/item_rep_selector.rb +13 -1
- data/lib/nanoc/core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6654a9dc862f8e0ff682547725c8479ebc4e50d848c55e70f3ba7d902fff008c
|
|
4
|
+
data.tar.gz: a6260a1f1aa36656b15f494e9ad0a0242dc7ea4d3385511e85ba30f55d7e4f7b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 74ba0d19319adb353c6284db11f0f8ec94f7e8c4672e50be452332664d2e5ac16efaebe247cc81d6738fbe908502819018e1404449a54869aaf55e6a96b3e157
|
|
7
|
+
data.tar.gz: 82bc7bbbeb7764a0d23962da4bdc50f18024c16b663fa3af08e3ac5da2f07097832e88aa2e0086bef88a758720f07dbdfd9213f3e8f882f45a07364a9523be99
|
|
@@ -45,7 +45,7 @@ module Nanoc
|
|
|
45
45
|
|
|
46
46
|
# Read prio B
|
|
47
47
|
@this = @prio_b.shift
|
|
48
|
-
@this = @prio_b.shift while @seen.include?(@this)
|
|
48
|
+
@this = @prio_b.shift while @seen.include?(@this) || @completed.include?(@this)
|
|
49
49
|
if @this
|
|
50
50
|
return @this
|
|
51
51
|
end
|
|
@@ -83,6 +83,18 @@ module Nanoc
|
|
|
83
83
|
# element will come from @prio_b at some point in the future, so we’ll
|
|
84
84
|
# have to skip it then.
|
|
85
85
|
@seen << needed_rep
|
|
86
|
+
|
|
87
|
+
# Add everything else that `@this` depends on to the queue. It is OK
|
|
88
|
+
# if there are duplicates; `#next` will filter them out.
|
|
89
|
+
@dependency_store.objects_causing_outdatedness_of(@this.item).each do |obj|
|
|
90
|
+
if obj.is_a?(Nanoc::Core::Item)
|
|
91
|
+
item = obj
|
|
92
|
+
|
|
93
|
+
@reps[item].each do |rep|
|
|
94
|
+
@prio_b.unshift(rep)
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
end
|
|
86
98
|
end
|
|
87
99
|
|
|
88
100
|
private
|
data/lib/nanoc/core/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nanoc-core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.14.
|
|
4
|
+
version: 4.14.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Denis Defreyne
|
|
@@ -303,7 +303,7 @@ licenses:
|
|
|
303
303
|
- MIT
|
|
304
304
|
metadata:
|
|
305
305
|
rubygems_mfa_required: 'true'
|
|
306
|
-
source_code_uri: https://github.com/nanoc/nanoc/tree/nanoc-core-v4.14.
|
|
306
|
+
source_code_uri: https://github.com/nanoc/nanoc/tree/nanoc-core-v4.14.3/nanoc-core
|
|
307
307
|
rdoc_options: []
|
|
308
308
|
require_paths:
|
|
309
309
|
- lib
|