bookbindery 10.1.6 → 10.1.7

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: 74b74d17962d5bb51148b342cc02bff39c8629ff
4
- data.tar.gz: b2a349e8f254afaa0edf2046e18f86432e7d97a9
3
+ metadata.gz: 0c34dd817abfb3d373b6522ff8c6bf60bc9d5e22
4
+ data.tar.gz: 54b2dcd7ea39270af493c70819589a7df1aeb81f
5
5
  SHA512:
6
- metadata.gz: 16dfaaa7db2fd839e9a990af6bb8dcd5d05a89d7c6085e8bf35e90fc74f8c5f5c49d04af58f79961a96c8d58e8c6b25bcbb742343d6c29d0749927b39946ff80
7
- data.tar.gz: 73b3bfdf400d4d50b063042a1e237a7b5a3e6c66a04e48ea8b3e1b6bafca66cf523c7ae875c98a09142d87c389f1cba868916d5c739ac03cc369e538f6176765
6
+ metadata.gz: 3e40cbfc6e94d9bea4b3ab4245a6195a3db0cb110fd0cbd89b563de8e3a54e93e70260042794a5f50c0514a5edf29127cdcea1d557b3fc890917e29a56cad649
7
+ data.tar.gz: d07aae13328b90218033fe769536dbd57621deda96a276a5f0cd87aa4aa14111650b007a65ee037ef5ac9bb11a9e5bd4efbea4222a9ed4e64efa82acddaba5c7
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.1.6'
5
+ s.version = '10.1.7'
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']
@@ -103,6 +103,22 @@ module Bookbinder
103
103
  OpenStruct.new config[:template_variables]
104
104
  end
105
105
 
106
+ def product_name
107
+ current_page.data.title= vars.product_name
108
+ end
109
+
110
+ def product_name_long
111
+ current_page.data.title= vars.product_name_long
112
+ end
113
+
114
+ def product_version
115
+ current_page.data.title= vars.product_version
116
+ end
117
+
118
+ def set_title(*args)
119
+ current_page.data.title= args.join(' ')
120
+ end
121
+
106
122
  def product_info
107
123
  config[:product_info].fetch(template_key, {})
108
124
  end
@@ -6,8 +6,10 @@ query:
6
6
  query: ''
7
7
  fields:
8
8
  - text
9
- - title^10
10
- minimum_should_match: 1
9
+ - title^20
10
+ - h2^10
11
+ - h3^10
12
+ minimum_should_match: 75%
11
13
  from: 0
12
14
  size: 10
13
15
  _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.1.6
4
+ version: 10.1.7
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: 2017-07-27 00:00:00.000000000 Z
26
+ date: 2017-08-08 00:00:00.000000000 Z
27
27
  dependencies:
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: fog-aws