nanoc-core 4.11.15 → 4.11.16
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/checksummer.rb +2 -2
- data/lib/nanoc/core/compilation_phases/abstract.rb +1 -1
- data/lib/nanoc/core/compiled_content_cache.rb +2 -2
- data/lib/nanoc/core/compiler_loader.rb +1 -1
- data/lib/nanoc/core/dependency_store.rb +1 -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: e814752b0c5e45deadac5a7abc2617b54751c07e003eb4d47a337b2182269058
|
4
|
+
data.tar.gz: b44273b6e8c13423397af5813b9a5bdd04e784e4a6b6af5d7f098b93bcc5707e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 490de94696b555b44091fbfb748fade5faabbd54f8c7261140a3592b232912c81fa7551339e130e8d7f853ae24e7645a97df25506fe3ef6de0725e9cd52a4cc5
|
7
|
+
data.tar.gz: c404dc2bcd979554da3c44e3cac8c132534021b24d5de43cf9f93c568173c99d16e144940bcef33cbecbe4705fefa13222ce522a432daa0aecf78bb956279140
|
@@ -50,8 +50,8 @@ module Nanoc
|
|
50
50
|
end
|
51
51
|
|
52
52
|
def calc_for_each_attribute_of(obj, digest_class = CompactDigest)
|
53
|
-
obj.attributes.
|
54
|
-
|
53
|
+
obj.attributes.transform_values do |value|
|
54
|
+
Nanoc::Core::Checksummer.calc(value, digest_class)
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
@@ -32,7 +32,7 @@ module Nanoc
|
|
32
32
|
end
|
33
33
|
|
34
34
|
contract Nanoc::Core::ItemRep, C::KeywordArgs[is_outdated: C::Bool], C::Func[C::None => C::Any] => C::Any
|
35
|
-
def run(_rep, is_outdated:)
|
35
|
+
def run(_rep, is_outdated:)
|
36
36
|
raise NotImplementedError
|
37
37
|
end
|
38
38
|
|
@@ -46,8 +46,8 @@ module Nanoc
|
|
46
46
|
@binary_cache[rep] = content.select { |_key, c| c.binary? }
|
47
47
|
end
|
48
48
|
|
49
|
-
def prune(
|
50
|
-
@wrapped_caches.each { |w| w.prune(
|
49
|
+
def prune(items:)
|
50
|
+
@wrapped_caches.each { |w| w.prune(items: items) }
|
51
51
|
end
|
52
52
|
|
53
53
|
# True if there is cached compiled content available for this item, and
|
@@ -113,7 +113,7 @@ module Nanoc
|
|
113
113
|
src_ref = obj2ref(src)
|
114
114
|
dst_ref = obj2ref(dst)
|
115
115
|
|
116
|
-
existing_props = Nanoc::Core::DependencyProps.new(@graph.props_for(dst_ref, src_ref) || {})
|
116
|
+
existing_props = Nanoc::Core::DependencyProps.new(**(@graph.props_for(dst_ref, src_ref) || {}))
|
117
117
|
new_props = Nanoc::Core::DependencyProps.new(raw_content: raw_content, attributes: attributes, compiled_content: compiled_content, path: path)
|
118
118
|
props = existing_props.merge(new_props)
|
119
119
|
|
data/lib/nanoc/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nanoc-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.11.
|
4
|
+
version: 4.11.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Denis Defreyne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ddmemoize
|