dato 0.1.15 → 0.1.16

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: 567493bd3eb8d7f5557b48d73a178158f9cab913
4
- data.tar.gz: 91ae71521e1d37a8b522ff6ec033994cf19d3c56
3
+ metadata.gz: 533a5d37f9dff3cbc602b883ed756ec32e4789d1
4
+ data.tar.gz: 5944df90119f30f5ae405a05c3815b8886edbd48
5
5
  SHA512:
6
- metadata.gz: b86c6adbb48e1a93ec74f4dc91f3e9021dc2c6fdd74abf0d1a9bf816fa0ddf7c81365698fbcfde7d886f86dc133171e6416ae067b0a9f04c3cc882f48b71fa7c
7
- data.tar.gz: da20fe6f53f09da89134624136f1a561c16f0d65291a0fee2bc21a9eac90576262e7dd55e2badd7907494666d6f32ad8cfb238c43389d756a09f0704ef7ae797
6
+ metadata.gz: 5790252b8424c93deb85bd9ecfd381967f74bd5ed0c282d28374574c9865635e19ceeaee4d591ea128b773bb3f2b0201d93bdf3ffdb2c706c4377efe13cec755
7
+ data.tar.gz: 5adaac88df4891ae29975609a1189ced814f6dc3a443b93f0edb15aab9e93f4735a28e7f6b2ef64a36603b8cdc3911624e2e1cf70928063f6431a0f68d695444
@@ -85,8 +85,8 @@ module Dato
85
85
 
86
86
  def hugo
87
87
  HUGO.any? do |option|
88
- path = File.join(path, option[:file])
89
- config = option[:loader].call(File.read(path))
88
+ config_path = File.join(path, option[:file])
89
+ config = option[:loader].call(File.read(config_path))
90
90
  config.key? 'baseurl'
91
91
  end && 'hugo'
92
92
  rescue JSON::ParserError
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Dato
3
- VERSION = '0.1.15'
3
+ VERSION = '0.1.16'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dato
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Verna