zerofetcher 0.0.70 → 0.0.71
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/zerofetcher.rb +8 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80371ea9f9645f2cad201cae9f7ac3b1ed9ef58eeb6d0f7b2041898a5022b556
|
4
|
+
data.tar.gz: '064393959689727c48895825152c11ddc69cf37a4021fed1bfc5060543e3e99a'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6b9072d0bd04079258d66a4e79ecb6086cfb714fd031247a39b03daaa24998072b7e11f3a2c2b1fc504235f358b04d253867d4d92158c3e596596d2624dc218
|
7
|
+
data.tar.gz: f3c153a335d5dee014db8f3f9cbe8da2c92adc3f35e90ca50dfdef86fa2a40cf00b9fd98f30bfca05bc3c08a01fc8d424c793795984f55f3fe7de279768b7e39
|
data/lib/zerofetcher.rb
CHANGED
@@ -320,7 +320,11 @@ ErrorDocument 404 /404/index.html'
|
|
320
320
|
gallery['layout'] = data['site']['gallery_detail_layout']
|
321
321
|
end
|
322
322
|
|
323
|
-
|
323
|
+
gallery_data = gallery.clone
|
324
|
+
gallery_data.delete('id')
|
325
|
+
gallery_data[ 'gallery_id' ] = gallery['id']
|
326
|
+
|
327
|
+
jfile = JekyllFile.new(gallery_collection_path, gallery_data, 'collection', gallery['slug'])
|
324
328
|
jfile.savePageFile
|
325
329
|
|
326
330
|
gallery_files_saved.push( Pathname.new( jfile.getFileName ).basename.to_s )
|
@@ -375,6 +379,9 @@ ErrorDocument 404 /404/index.html'
|
|
375
379
|
|
376
380
|
self.log('Saving Event File ' + event_data['slug']+'-'+event_date['date']+'.md')
|
377
381
|
|
382
|
+
event_data[ 'event_id' ] = event_data['id']
|
383
|
+
event_data.delete('id')
|
384
|
+
|
378
385
|
jfile = JekyllFile.new(event_collection_path, event_data, 'collection', event_data['slug']+'-'+event_date['date'])
|
379
386
|
jfile.savePageFile
|
380
387
|
|