nanoc-sprockets 0.1.0alpha2 → 0.1.0alpha3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nanoc-sprockets.rb +2 -2
- data/nanoc-sprockets.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42201656e059aa8d69999c0e4986c0d0ed446315
|
4
|
+
data.tar.gz: 466bc4a7cd67bbc482e476e5ac1b9962e5021767
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a21c6557202379f52d7254b51083a3bbe6082016ea38a0bb47b75376b9d79380fe88b8a1a3a7867f5bd2bc7a167abaa7fb3f1754cc0e8c1d0d8b3ec315a3594
|
7
|
+
data.tar.gz: eb4437742a7fcb05b691caba4228c6aefa05c3823e0758f4ef10bdc9dc38c0d77dd435d2053d419e5186785d05c82e6509805f5983d9f577b3432df10664ff10
|
data/lib/nanoc-sprockets.rb
CHANGED
@@ -27,8 +27,8 @@ module Nanoc::DataSources
|
|
27
27
|
is_binary = !!(asset.pathname && !@site_config[:text_extensions].include?(File.extname(asset.pathname)[1..-1]))
|
28
28
|
|
29
29
|
content_of_filename = is_binary ? asset.pathname : asset.to_s
|
30
|
-
attributes = {filename: identifier,
|
31
|
-
new_item(content_of_filename, attributes, identifier,
|
30
|
+
attributes = {filename: identifier, mtime: asset.mtime}
|
31
|
+
new_item(content_of_filename, attributes, identifier, binary: is_binary)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
data/nanoc-sprockets.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'nanoc-sprockets'
|
5
|
-
s.version = '0.1.
|
5
|
+
s.version = '0.1.0alpha3'
|
6
6
|
s.summary = 'Use sprockets as a datasource for nanoc.'
|
7
7
|
s.description = 'Use sprockets as a datasource for nanoc.'
|
8
8
|
s.homepage = 'https://github.com/stormz/nanoc-sprockets'
|