dato 0.1.14 → 0.1.15

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: 0f1af74b8f267e6497f9cfdee136ee4cb7a8a7f0
4
- data.tar.gz: 7005a1dbb91d56044fa692209450d41623c5994b
3
+ metadata.gz: 567493bd3eb8d7f5557b48d73a178158f9cab913
4
+ data.tar.gz: 91ae71521e1d37a8b522ff6ec033994cf19d3c56
5
5
  SHA512:
6
- metadata.gz: 571a06529b849eb0af276d84736ad1a252ec000f4b16ca369b6f25b7f09872fe848a84e814b57d0aff9e7382141086edefc8722f440de1fb439929d758719cf8
7
- data.tar.gz: 2d2309434398b544338061c53ade7d411f5dd951bc63dae7717cbe9d606255060cf2b6405cf24c6f37b912f30283837163989c93101379d95ccdac07e5b16b00
6
+ metadata.gz: b86c6adbb48e1a93ec74f4dc91f3e9021dc2c6fdd74abf0d1a9bf816fa0ddf7c81365698fbcfde7d886f86dc133171e6416ae067b0a9f04c3cc882f48b71fa7c
7
+ data.tar.gz: da20fe6f53f09da89134624136f1a561c16f0d65291a0fee2bc21a9eac90576262e7dd55e2badd7907494666d6f32ad8cfb238c43389d756a09f0704ef7ae797
@@ -86,7 +86,7 @@ module Dato
86
86
  def hugo
87
87
  HUGO.any? do |option|
88
88
  path = File.join(path, option[:file])
89
- config = option[:parser].call(File.read(path))
89
+ config = option[:loader].call(File.read(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.14'
3
+ VERSION = '0.1.15'
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.14
4
+ version: 0.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Verna