bookbindery 10.0.3 → 10.0.4

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: e9a4aa7add73559fc17c5aa6acd11d812ebbf248
4
- data.tar.gz: f1d10339e9fdc80c5e2d9c047ae965d7615d5aff
3
+ metadata.gz: 90fde5b548a12fdcb31ebf1f426dd47900273f6c
4
+ data.tar.gz: 55019a7b659d8b3e537c3ca12bd4e3c3f1acb274
5
5
  SHA512:
6
- metadata.gz: 2b9dae6c22e18e4479f424d6be694e7f6e19238fbb9edb970ff6aadf31e88ce23a1d93bd96cdf61d2c28c5400d28a488ccb739dd2b2547cacab58b3b0b492a35
7
- data.tar.gz: 1a61f6c75719ff57b58da80746628a3f3c6386362929da739bf98cf2c339214aa591f241ffcc9a6a714fdde3a42a648bd07d1fc163d7419a02db52866996c71b
6
+ metadata.gz: bba5fbda2a5d1b23278de2a636cbe334eee739575f8b31e0c829d496dea79b0ee2b9b36193a72f1f715ae819ca806d0779deea9f7bbfd65ff30ea51f07992f8b
7
+ data.tar.gz: 6ad185ecbfcc645f2e493916487f1f7e935a1999ffe1bf6bc03436be6f66c503fe2e8211f8721be7625fc7234743a5938a974734be956046049d331764f817b9
data/bookbinder.gemspec CHANGED
@@ -2,7 +2,7 @@ require 'base64'
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'bookbindery'
5
- s.version = '10.0.3'
5
+ s.version = '10.0.4'
6
6
  s.summary = 'Markdown to Rackup application documentation generator'
7
7
  s.description = 'A command line utility to be run in Book repositories to stitch together their constituent Markdown repos into a static-HTML-serving application'
8
8
  s.authors = ['Mike Grafton', 'Lucas Marks', 'Gavin Morgan', 'Nikhil Gajwani', 'Dan Wendorf', 'Brenda Chan', 'Matthew Boedicker', 'Andrew Bruce', 'Frank Kotsianas', 'Elena Sharma', 'Christa Hartsock', 'Michael Trestman', 'Alpha Chen', 'Sarah McAlear', 'Gregg Van Hove', 'Jess B Heron']
@@ -18,7 +18,7 @@ module Bookbinder
18
18
  options = YAML.load_file(File.expand_path('../../../search.yml', __FILE__))
19
19
 
20
20
  options['from'] = (page_number - 1) * 10
21
- options['query']['match']['query'] = search_term
21
+ options['query']['bool']['should']['simple_query_string']['query'] = search_term
22
22
 
23
23
  unless product_name.nil?
24
24
  filters = [{
@@ -29,7 +29,7 @@ module Bookbinder
29
29
  filters << {'term' => { 'product_version' => product_version }}
30
30
  end
31
31
 
32
- options['query']['filter'] = {
32
+ options['query']['bool']['filter'] = {
33
33
  'bool' => {
34
34
  'must' => filters
35
35
  }
@@ -1,10 +1,13 @@
1
1
  ---
2
2
  query:
3
- match:
4
- query: ''
5
- fields:
6
- - text
7
- - title^10
3
+ bool:
4
+ should:
5
+ simple_query_string:
6
+ query: ''
7
+ fields:
8
+ - text
9
+ - title^10
10
+ minimum_should_match: 1
8
11
  from: 0
9
12
  size: 10
10
13
  _source:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bookbindery
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.0.3
4
+ version: 10.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Grafton
@@ -23,7 +23,7 @@ authors:
23
23
  autorequire:
24
24
  bindir: install_bin
25
25
  cert_chain: []
26
- date: 2016-10-20 00:00:00.000000000 Z
26
+ date: 2016-10-21 00:00:00.000000000 Z
27
27
  dependencies:
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: fog-aws