middleman-google_drive 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/middleman-google_drive/extension.rb +3 -1
- data/lib/middleman-google_drive/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: 94b12d2610b0d417caba3a839f54a5615dacf67f
|
4
|
+
data.tar.gz: 3019fca34183fc0040ecf3b7b852c29ecfa7a641
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0195fe3da1c9b9b2b7e5ab85b7d5129176a9aea0149aef13ab9b0c034cd49ca554e1938a799c5d5249f861217d3a9ca5ea3fdde8e97a1df369a159df7057bae2
|
7
|
+
data.tar.gz: f44e37fc95891b96b6d6950ba113acb948817ea7e746107a0d4d2ee82ae964053fa9d142d50ab74527e24aa6e47cfecb5d512d5de0ee9bdbab0bacf1301fafbd
|
@@ -18,6 +18,8 @@ module Middleman
|
|
18
18
|
|
19
19
|
@app = klass.inst
|
20
20
|
|
21
|
+
Dir.mkdir(File.join(@app.root, 'google_drive_cache'))
|
22
|
+
|
21
23
|
handle_option(options.load_sheets, :xlsx)
|
22
24
|
handle_option(options.load_docs, :txt)
|
23
25
|
handle_option(options.load_docs_html, :html)
|
@@ -111,7 +113,7 @@ Things to check:
|
|
111
113
|
end
|
112
114
|
|
113
115
|
def data_path(basename)
|
114
|
-
File.join(@app.root,
|
116
|
+
File.join(@app.root, 'google_drive_cache', basename)
|
115
117
|
end
|
116
118
|
|
117
119
|
def store_data(key, data)
|