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 +4 -4
- data/lib/middleman-search/search-index-resource.rb +1 -1
- data/lib/middleman-search/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45b0b7ea39a4402d2b911c7d7b89506b32180ca3
|
4
|
+
data.tar.gz: 8108ba80710087dbb4a6988f82a0bd134e9f98e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
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
|
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.
|
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-
|
12
|
+
date: 2015-10-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: middleman-core
|