zerofetcher 0.0.17 → 0.0.18
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 +3 -0
- 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: 9b99f64374bcaf047dfbcd0c5dbb29aa9cb3797a
|
4
|
+
data.tar.gz: 31d1261a076803689430810ef4869238bf40e072
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6c6e10522f5000680e6a395a52588965e0330f882187582bdb6da18ea3bbf5165c4f24f6e95e87cfda79dd2aba74f3f46ba465aa667e23ba6e9a7eadd74d1b4
|
7
|
+
data.tar.gz: 3bc99414be0eb6dbc008eda2a0cf41036ef687655af2acca7a8156f318d5101e50df2292a1ef8c92aaec7476c083c0c5f8415dd1396f13c028361083215bc70d
|
data/lib/zerofetcher.rb
CHANGED
@@ -275,6 +275,9 @@ class ZeroFetcher
|
|
275
275
|
# Save Json Data
|
276
276
|
File.write(jekyll_path+'/_data/downloads.json', JSON.pretty_generate(data['downloads']))
|
277
277
|
|
278
|
+
# Make Dir
|
279
|
+
FileUtils::mkdir_p jekyll_path+'/assets/files/downloads'
|
280
|
+
|
278
281
|
# Download Files
|
279
282
|
data['downloads'].each do |download|
|
280
283
|
download_path = jekyll_path+'/assets/files/downloads'
|