nanoc 4.9.5 → 4.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NEWS.md +6 -0
- data/lib/nanoc/base/views/basic_item_view.rb +1 -1
- data/lib/nanoc/data_sources/filesystem.rb +2 -3
- data/lib/nanoc/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: 8491f07ee37d39dae6c84cb13f3cde0ec967a2fa723d3c6c0ae21283c13d205d
|
4
|
+
data.tar.gz: 57984873a1fd8f9ecde937539b98e19689d6f08e819e30bc76e328e61807531f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 411feb568085bee7a5d28d8941f1b84dc0d573f8f52684c9067035dc7a50e3844a757df62e7f89b874f0a7ee84d111c46de3c4310695f51ea28733d95400bf0f
|
7
|
+
data.tar.gz: 1397fbc30d9a1c717c9932174428baa7804b1460efdba033767b5f9efd83b1b6bd048bf9c04719d86c049559451667d6a10ce57a70b4b3d05e2132af43cade74
|
data/NEWS.md
CHANGED
@@ -43,7 +43,7 @@ module Nanoc
|
|
43
43
|
_unwrap.content.binary?
|
44
44
|
end
|
45
45
|
|
46
|
-
# @
|
46
|
+
# @return [String, nil] The path to the file containing the uncompiled content of this item.
|
47
47
|
def raw_filename
|
48
48
|
@context.dependency_tracker.bounce(_unwrap, raw_content: true)
|
49
49
|
_unwrap.content.filename
|
@@ -201,9 +201,8 @@ module Nanoc::DataSources
|
|
201
201
|
end
|
202
202
|
|
203
203
|
def content_checksum_data_for(proto_doc)
|
204
|
-
|
205
|
-
|
206
|
-
)
|
204
|
+
data = proto_doc.content_checksum_data
|
205
|
+
data ? Digest::SHA1.digest(data) : nil
|
207
206
|
end
|
208
207
|
|
209
208
|
def attributes_checksum_data_for(proto_doc, content_filename, meta_filename)
|
data/lib/nanoc/version.rb
CHANGED
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.9.
|
4
|
+
version: 4.9.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Denis Defreyne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|