bookbindery 10.1.9 → 10.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/bookbinder.gemspec +7 -5
- data/lib/bookbinder/code_example_reader.rb +1 -1
- data/lib/bookbinder/preprocessing/preprocessor.rb +1 -1
- data/master_middleman/bookbinder_helpers.rb +4 -0
- data/master_middleman/source/stylesheets/partials/_default.scss +3 -1
- data/template_app/Gemfile +2 -2
- data/template_app/Gemfile.lock +14 -11
- data/template_app/lib/search/query.rb +1 -1
- data/template_app/search-results.html.erb +2 -2
- data/template_app/search.yml +1 -2
- metadata +43 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e78325488c028aff56103ebef8da10e8dad90885184ec986bc634c3a8dd87768
|
4
|
+
data.tar.gz: d2d216e9136a38187629c8f9ad2cac182be06b3078fa52c61936b0de695aee7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ccdef42dbbcb3845e8ad89727838caf6b4628bf7f9842cad2a077c899a40771dfbd499fa3354a61e14529bcb41aa9cc5eceb2f24ac6d9849e5a0ce3eb0dbebc
|
7
|
+
data.tar.gz: e118d2695fdc3e0f63807af831532d8aeec854c4b3b0cd8a00ee2e6885c96584444ddf3e7aad7c6b1898acce80fd2fbc08186cd277eaf9e505cb2d40b133213b
|
data/bookbinder.gemspec
CHANGED
@@ -2,10 +2,10 @@ require 'base64'
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'bookbindery'
|
5
|
-
s.version = '10.1.
|
5
|
+
s.version = '10.1.15'
|
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
|
-
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']
|
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', "Rajan Agaskar"]
|
9
9
|
s.email = Base64.decode64('Z21vcmdhbkBnb3Bpdm90YWwuY29t') # Gavin's
|
10
10
|
|
11
11
|
s.files = Dir['lib/**/*'] + Dir['template_app/**/*'] + Dir['master_middleman/**/*'] + Dir['install_bin/bookbinder'] + Dir['bookbinder.gemspec']
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.bindir = 'install_bin'
|
15
15
|
s.executable = 'bookbinder'
|
16
16
|
|
17
|
-
s.required_ruby_version = '>= 2.
|
17
|
+
s.required_ruby_version = '>= 2.3.3'
|
18
18
|
s.add_runtime_dependency 'fog-aws', ['~> 0.7.1']
|
19
19
|
s.add_runtime_dependency 'ansi', ['~> 1.4']
|
20
20
|
s.add_runtime_dependency 'middleman', ['4.1.10']
|
@@ -27,18 +27,20 @@ Gem::Specification.new do |s|
|
|
27
27
|
s.add_runtime_dependency 'rack-rewrite'
|
28
28
|
s.add_runtime_dependency 'therubyracer'
|
29
29
|
s.add_runtime_dependency 'git', '~> 1.2.8'
|
30
|
-
s.add_runtime_dependency 'nokogiri', ['1.
|
30
|
+
s.add_runtime_dependency 'nokogiri', ['1.10.1']
|
31
31
|
s.add_runtime_dependency 'thor', ['0.19.1']
|
32
32
|
s.add_runtime_dependency 'elasticsearch'
|
33
|
-
s.add_runtime_dependency 'font-awesome-sass'
|
33
|
+
s.add_runtime_dependency 'font-awesome-sass', ['4.7.0']
|
34
34
|
s.add_runtime_dependency 'middleman-sprockets'
|
35
35
|
s.add_runtime_dependency 'middleman-compass'
|
36
|
+
s.add_runtime_dependency 'sprockets', '3.7.2'
|
36
37
|
|
37
38
|
s.add_development_dependency 'license_finder'
|
38
39
|
s.add_development_dependency 'pry-byebug'
|
39
40
|
s.add_development_dependency 'rake'
|
40
41
|
s.add_development_dependency 'rspec'
|
41
42
|
s.add_development_dependency 'sendgrid-ruby', '< 3.0'
|
43
|
+
s.add_development_dependency 'sinatra', '1.4.8'
|
42
44
|
s.add_development_dependency 'jasmine'
|
43
45
|
s.add_development_dependency 'rack-test'
|
44
46
|
end
|
@@ -12,7 +12,7 @@ module Bookbinder
|
|
12
12
|
|
13
13
|
def preprocess(sections, *args)
|
14
14
|
sections.group_by { |section|
|
15
|
-
processes.detect
|
15
|
+
processes.detect(Proc.new { NullProcess.new }) { |process| process.applicable_to?(section) }
|
16
16
|
}.each do |process, grouped_sections|
|
17
17
|
process.preprocess(grouped_sections, *args)
|
18
18
|
end
|
data/template_app/Gemfile
CHANGED
data/template_app/Gemfile.lock
CHANGED
@@ -1,22 +1,22 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
elasticsearch (2.0.
|
5
|
-
elasticsearch-api (= 2.0.
|
6
|
-
elasticsearch-transport (= 2.0.
|
7
|
-
elasticsearch-api (2.0.
|
4
|
+
elasticsearch (2.0.2)
|
5
|
+
elasticsearch-api (= 2.0.2)
|
6
|
+
elasticsearch-transport (= 2.0.2)
|
7
|
+
elasticsearch-api (2.0.2)
|
8
8
|
multi_json
|
9
|
-
elasticsearch-transport (2.0.
|
9
|
+
elasticsearch-transport (2.0.2)
|
10
10
|
faraday
|
11
11
|
multi_json
|
12
|
-
faraday (0.
|
12
|
+
faraday (0.15.4)
|
13
13
|
multipart-post (>= 1.2, < 3)
|
14
14
|
libv8 (3.16.14.15)
|
15
15
|
mimemagic (0.3.2)
|
16
|
-
multi_json (1.
|
16
|
+
multi_json (1.13.1)
|
17
17
|
multipart-post (2.0.0)
|
18
|
-
puma (3.
|
19
|
-
rack (2.0.
|
18
|
+
puma (3.12.0)
|
19
|
+
rack (2.0.6)
|
20
20
|
rack-rewrite (1.5.1)
|
21
21
|
ref (2.0.0)
|
22
22
|
sendgrid-ruby (1.1.6)
|
@@ -32,12 +32,15 @@ PLATFORMS
|
|
32
32
|
ruby
|
33
33
|
|
34
34
|
DEPENDENCIES
|
35
|
-
elasticsearch
|
35
|
+
elasticsearch (~> 2.0.0)
|
36
36
|
puma
|
37
37
|
rack
|
38
38
|
rack-rewrite
|
39
39
|
sendgrid-ruby (< 3.0)
|
40
40
|
therubyracer
|
41
41
|
|
42
|
+
RUBY VERSION
|
43
|
+
ruby 2.5.3p105
|
44
|
+
|
42
45
|
BUNDLED WITH
|
43
|
-
1.
|
46
|
+
1.17.3
|
@@ -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']['bool']['
|
21
|
+
options['query']['bool']['must']['simple_query_string']['query'] = search_term
|
22
22
|
|
23
23
|
unless product_name.nil?
|
24
24
|
filters = [{
|
@@ -15,8 +15,8 @@ end
|
|
15
15
|
|
16
16
|
<% unless product_name.nil? %>
|
17
17
|
<h4 style="border: 1px solid #ccc; padding: 4px 20px;">
|
18
|
-
Filtering by: <%= product_name %>
|
19
|
-
<% unless product_version.nil? %>and <%= product_version %>
|
18
|
+
Filtering by: <%= escape_html product_name %>
|
19
|
+
<% unless product_version.nil? %>and <%= escape_html product_version %>
|
20
20
|
<% end %>
|
21
21
|
</h4>
|
22
22
|
<% end %>
|
data/template_app/search.yml
CHANGED
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.
|
4
|
+
version: 10.1.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Grafton
|
@@ -20,10 +20,11 @@ authors:
|
|
20
20
|
- Sarah McAlear
|
21
21
|
- Gregg Van Hove
|
22
22
|
- Jess B Heron
|
23
|
-
|
23
|
+
- Rajan Agaskar
|
24
|
+
autorequire:
|
24
25
|
bindir: install_bin
|
25
26
|
cert_chain: []
|
26
|
-
date:
|
27
|
+
date: 2020-09-10 00:00:00.000000000 Z
|
27
28
|
dependencies:
|
28
29
|
- !ruby/object:Gem::Dependency
|
29
30
|
name: fog-aws
|
@@ -199,14 +200,14 @@ dependencies:
|
|
199
200
|
requirements:
|
200
201
|
- - '='
|
201
202
|
- !ruby/object:Gem::Version
|
202
|
-
version: 1.
|
203
|
+
version: 1.10.1
|
203
204
|
type: :runtime
|
204
205
|
prerelease: false
|
205
206
|
version_requirements: !ruby/object:Gem::Requirement
|
206
207
|
requirements:
|
207
208
|
- - '='
|
208
209
|
- !ruby/object:Gem::Version
|
209
|
-
version: 1.
|
210
|
+
version: 1.10.1
|
210
211
|
- !ruby/object:Gem::Dependency
|
211
212
|
name: thor
|
212
213
|
requirement: !ruby/object:Gem::Requirement
|
@@ -239,16 +240,16 @@ dependencies:
|
|
239
240
|
name: font-awesome-sass
|
240
241
|
requirement: !ruby/object:Gem::Requirement
|
241
242
|
requirements:
|
242
|
-
- -
|
243
|
+
- - '='
|
243
244
|
- !ruby/object:Gem::Version
|
244
|
-
version:
|
245
|
+
version: 4.7.0
|
245
246
|
type: :runtime
|
246
247
|
prerelease: false
|
247
248
|
version_requirements: !ruby/object:Gem::Requirement
|
248
249
|
requirements:
|
249
|
-
- -
|
250
|
+
- - '='
|
250
251
|
- !ruby/object:Gem::Version
|
251
|
-
version:
|
252
|
+
version: 4.7.0
|
252
253
|
- !ruby/object:Gem::Dependency
|
253
254
|
name: middleman-sprockets
|
254
255
|
requirement: !ruby/object:Gem::Requirement
|
@@ -277,6 +278,20 @@ dependencies:
|
|
277
278
|
- - ">="
|
278
279
|
- !ruby/object:Gem::Version
|
279
280
|
version: '0'
|
281
|
+
- !ruby/object:Gem::Dependency
|
282
|
+
name: sprockets
|
283
|
+
requirement: !ruby/object:Gem::Requirement
|
284
|
+
requirements:
|
285
|
+
- - '='
|
286
|
+
- !ruby/object:Gem::Version
|
287
|
+
version: 3.7.2
|
288
|
+
type: :runtime
|
289
|
+
prerelease: false
|
290
|
+
version_requirements: !ruby/object:Gem::Requirement
|
291
|
+
requirements:
|
292
|
+
- - '='
|
293
|
+
- !ruby/object:Gem::Version
|
294
|
+
version: 3.7.2
|
280
295
|
- !ruby/object:Gem::Dependency
|
281
296
|
name: license_finder
|
282
297
|
requirement: !ruby/object:Gem::Requirement
|
@@ -347,6 +362,20 @@ dependencies:
|
|
347
362
|
- - "<"
|
348
363
|
- !ruby/object:Gem::Version
|
349
364
|
version: '3.0'
|
365
|
+
- !ruby/object:Gem::Dependency
|
366
|
+
name: sinatra
|
367
|
+
requirement: !ruby/object:Gem::Requirement
|
368
|
+
requirements:
|
369
|
+
- - '='
|
370
|
+
- !ruby/object:Gem::Version
|
371
|
+
version: 1.4.8
|
372
|
+
type: :development
|
373
|
+
prerelease: false
|
374
|
+
version_requirements: !ruby/object:Gem::Requirement
|
375
|
+
requirements:
|
376
|
+
- - '='
|
377
|
+
- !ruby/object:Gem::Version
|
378
|
+
version: 1.4.8
|
350
379
|
- !ruby/object:Gem::Dependency
|
351
380
|
name: jasmine
|
352
381
|
requirement: !ruby/object:Gem::Requirement
|
@@ -514,7 +543,7 @@ homepage: https://github.com/pivotal-cf/bookbinder
|
|
514
543
|
licenses:
|
515
544
|
- MIT
|
516
545
|
metadata: {}
|
517
|
-
post_install_message:
|
546
|
+
post_install_message:
|
518
547
|
rdoc_options: []
|
519
548
|
require_paths:
|
520
549
|
- lib
|
@@ -522,16 +551,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
522
551
|
requirements:
|
523
552
|
- - ">="
|
524
553
|
- !ruby/object:Gem::Version
|
525
|
-
version: 2.
|
554
|
+
version: 2.3.3
|
526
555
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
527
556
|
requirements:
|
528
557
|
- - ">="
|
529
558
|
- !ruby/object:Gem::Version
|
530
559
|
version: '0'
|
531
560
|
requirements: []
|
532
|
-
rubyforge_project:
|
533
|
-
rubygems_version: 2.
|
534
|
-
signing_key:
|
561
|
+
rubyforge_project:
|
562
|
+
rubygems_version: 2.7.6
|
563
|
+
signing_key:
|
535
564
|
specification_version: 4
|
536
565
|
summary: Markdown to Rackup application documentation generator
|
537
566
|
test_files: []
|