zerofetcher 0.0.76 → 0.0.77
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/bin/zerofetcher +0 -0
- data/lib/code/JekyllFile.rb +0 -0
- data/lib/code/JekyllPost.rb +0 -0
- data/lib/zerofetcher.rb +9 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82af1d305b4a7b74550e6a43f7e6d924f631fa7c
|
4
|
+
data.tar.gz: b33ccfb6aa4a96b6c7b8216f2513410fe3c477b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c85e194768c7ee34274aa816919a4b1cbb41adaac4eb5ae83e252ad635cb2e7361c5a562c71ddccab941eb18fb7684f636400f941d886ecc84b892881502e861
|
7
|
+
data.tar.gz: 8519d13ac096fbc93a2d9d21e66f0cde82e0a21c433408a09d158dc98760c089286cd996ca250cfda217db34f93743700bcaa5d9711677e75eabd32fd01e6cd2
|
data/bin/zerofetcher
CHANGED
File without changes
|
data/lib/code/JekyllFile.rb
CHANGED
File without changes
|
data/lib/code/JekyllPost.rb
CHANGED
File without changes
|
data/lib/zerofetcher.rb
CHANGED
@@ -172,16 +172,21 @@ ErrorDocument 404 /404/index.html'
|
|
172
172
|
self.log("Writing File /_data/vars.json")
|
173
173
|
end
|
174
174
|
|
175
|
-
# Content Blocks
|
175
|
+
# Content Blocks v2
|
176
176
|
if data.key?("content_blocks")
|
177
177
|
puts 'Content Blocks - ' + data['content_blocks'].length.to_s
|
178
178
|
self.log('Content Blocks - ' + data['content_blocks'].length.to_s)
|
179
179
|
cb_folder = jekyll_path+'/_includes/content_blocks'
|
180
180
|
|
181
|
-
|
182
|
-
|
183
|
-
self.
|
181
|
+
# Save original .md files
|
182
|
+
data['content_blocks'].each do |content_block|
|
183
|
+
self.log('writing File /_includes/content_blocks/'+content_block['key']+'.md')
|
184
|
+
self.writeFile( cb_folder+'/'+content_block['key']+'.md' , content_block['content'].to_s );
|
184
185
|
end
|
186
|
+
|
187
|
+
# Save json data file
|
188
|
+
self.writeFile( jekyll_path+'/_data/content-blocks.json', JSON.pretty_generate(data['content_blocks']) )
|
189
|
+
self.log('Writing file /_data/galleries.json')
|
185
190
|
end
|
186
191
|
|
187
192
|
# Content Images
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zerofetcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.77
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Liccardo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Fetches content from zero
|
14
14
|
email: brian@d3corp.com
|
@@ -41,7 +41,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
41
41
|
version: '0'
|
42
42
|
requirements: []
|
43
43
|
rubyforge_project:
|
44
|
-
rubygems_version: 2.
|
44
|
+
rubygems_version: 2.5.2.1
|
45
45
|
signing_key:
|
46
46
|
specification_version: 4
|
47
47
|
summary: Zero Fetcher
|