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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f94ae0f5e1dc5cacb9af02dd286d77381b91081d
4
- data.tar.gz: 5ee09f46e1fe604ff51319ec939be08a39b4015a
3
+ metadata.gz: 94b12d2610b0d417caba3a839f54a5615dacf67f
4
+ data.tar.gz: 3019fca34183fc0040ecf3b7b852c29ecfa7a641
5
5
  SHA512:
6
- metadata.gz: cf2289726d7874bbb5be981f93a9be956b2d653e9d1715432746ae1de28c384a0647405f4f7267900a65fcc094e38367e57676c28798bc17a177560e9d83fe8c
7
- data.tar.gz: f51bd5d03f94478a74e7ff7dbfb0999f027ca63d66c89f1218cf92fc11ce838a8351978e4333a6ead3f98f6e4c36d9624c0c399a3ccc3f77f95439f8f53d51e2
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, @app.data_dir, basename)
116
+ File.join(@app.root, 'google_drive_cache', basename)
115
117
  end
116
118
 
117
119
  def store_data(key, data)
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module GoogleDrive
3
- VERSION = '0.3.5'
3
+ VERSION = '0.3.6'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-google_drive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Mark