middleman-search 0.1.0 → 0.1.1

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: babd4c65f48bfaea3d9e56804730085f3da0d61d
4
- data.tar.gz: dde7fcfe03b538ecf9ff05d2aba74afd26346f9b
3
+ metadata.gz: 45b0b7ea39a4402d2b911c7d7b89506b32180ca3
4
+ data.tar.gz: 8108ba80710087dbb4a6988f82a0bd134e9f98e0
5
5
  SHA512:
6
- metadata.gz: c852610b5e5e3a81842b26426196fe3c83918442d4044ff8adef2033273e1619476c8e3291a3a06299a3ef4222e625a9650a6a2ab8332f5a62e3b1a235b0010a
7
- data.tar.gz: 0d085e9ae20acb842672f77fa8beb3ac3d7ecb840a8726ec1ec0f451b67ccb0f34127bed4089b4dabd6ecde5df87a342aab32f34d6f3f9045f2987079197379e
6
+ metadata.gz: 6eacff7d6a9016b9aec9ca43afc57f9e21db8f3e89c476beef83b47179007146ca28573a6a2fc9273bee9a73019303db031697d825953045649d409f96c7d77e
7
+ data.tar.gz: 8dba254174d7f2ec35cc21a5a8d97b40f17fec211aedf8565bc309c7ac65ef979de50048aefb7d3af1181095570314e3292a20c570d2d8a845794a8dae71e001
@@ -77,7 +77,7 @@ module Middleman
77
77
  when 'url'
78
78
  resource.url
79
79
  else
80
- value = resource.data.send(field) || resource.metadata.fetch(:options, {}).fetch(:data, {}).fetch(field, nil)
80
+ value = resource.data.send(field) || resource.metadata.fetch(:options, {}).fetch(field, nil)
81
81
  value ? Array(value).compact.join(" ") : nil
82
82
  end
83
83
  end
@@ -1,3 +1,3 @@
1
1
  module MiddlemanSearch
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-search
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matías García Isaía
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-10-20 00:00:00.000000000 Z
12
+ date: 2015-10-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: middleman-core