dimples 6.0.1 → 6.0.2

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: 46bd78836c4eefef90633f9d64fb4b56ddf0d1f4
4
- data.tar.gz: 540f6d8d3c49e3c1a6df94e947ac5a5887aa18d3
3
+ metadata.gz: 3d605aa50d37fc006b25c9e07e8cd38d3cfec50b
4
+ data.tar.gz: 8c530e04c45301eda05b14afcbed9c66707c38cb
5
5
  SHA512:
6
- metadata.gz: 2255550530fe3209c90a61af839a1348ad82b35d640bebf5a269c9514e1500a6361eefb02983055f7c2542b4b0ec1e906fd473ea276feb12eeb5558c649be327
7
- data.tar.gz: cd94eeb735b178cf9642a05e76970579d9ae9f1a0c0d05a4e273d66892b7523093c1711eadc178f3f7e8ac08c5720ca2b7f7f4041e25160e38ac8c50dcad098b
6
+ metadata.gz: d6bc8038e446d8aef90fa8830518e2367938b9aa9c1b9b3efe5dae0f6a63fb124a804c9c249fdd0ebcde4b2c7e343152bb1375b6e60bb7d7a8d56dfc16233cc3
7
+ data.tar.gz: 66b8c129a6e48c671ae079a69a8b0efa2d2db5dada5090f32ce64ae2a413e1dd376d363f37837d5a38daf42516547d0737e9039f69c31b4c30ed17d88f7bfc59
data/lib/dimples/site.rb CHANGED
@@ -38,6 +38,10 @@ module Dimples
38
38
  @errors << error
39
39
  end
40
40
 
41
+ def data
42
+ @config.data || {}
43
+ end
44
+
41
45
  def inspect
42
46
  "#<#{self.class} @paths=#{paths}>"
43
47
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dimples
4
- VERSION = '6.0.1'
4
+ VERSION = '6.0.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dimples
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.1
4
+ version: 6.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Bogan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-08 00:00:00.000000000 Z
11
+ date: 2018-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hashie