dimples 4.3.1 → 4.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dimples/site.rb +6 -8
- data/lib/dimples/version.rb +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: 6bdfb2eae683d3ef78e118e1096319d376db8434
|
4
|
+
data.tar.gz: 402257f0a0610c45baef474482acbe5dc8bf7d94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81064093be0ee7d0c8dc535d99a49e2be396fc5d00132b83c6b869161d5fed9afddd7fdda1616feb496f1d86e235865230ab0fe7de07525e123a188b75954882
|
7
|
+
data.tar.gz: fb65a564e482f7210beb4fa62c1e881847bbe1e0005ddaa1ce97661f4aae72a70a5ef77e0508f7b1e4ba4167c38aafdf999e9e0e03a7337effc565c476347333
|
data/lib/dimples/site.rb
CHANGED
@@ -45,15 +45,7 @@ module Dimples
|
|
45
45
|
def generate
|
46
46
|
scan_files
|
47
47
|
prepare_output_directory
|
48
|
-
publish_files
|
49
|
-
copy_assets
|
50
|
-
rescue Errors::RenderingError,
|
51
|
-
Errors::PublishingError,
|
52
|
-
Errors::GenerationError => e
|
53
|
-
@errors << e.message
|
54
|
-
end
|
55
48
|
|
56
|
-
def publish_files
|
57
49
|
publish_pages unless @pages.count.zero?
|
58
50
|
|
59
51
|
unless @posts.count.zero?
|
@@ -61,6 +53,12 @@ module Dimples
|
|
61
53
|
publish_archives
|
62
54
|
publish_categories if @config[:generation][:categories]
|
63
55
|
end
|
56
|
+
|
57
|
+
copy_assets
|
58
|
+
rescue Errors::RenderingError,
|
59
|
+
Errors::PublishingError,
|
60
|
+
Errors::GenerationError => e
|
61
|
+
@errors << e.message
|
64
62
|
end
|
65
63
|
|
66
64
|
def generated?
|
data/lib/dimples/version.rb
CHANGED