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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: f1078aec1d9ace1967786f6b4a6ff33dfc76c061
4
- data.tar.gz: d1d0259fcbe8134d68ac3858afdb9b5e42b2b0af
2
+ SHA256:
3
+ metadata.gz: e78325488c028aff56103ebef8da10e8dad90885184ec986bc634c3a8dd87768
4
+ data.tar.gz: d2d216e9136a38187629c8f9ad2cac182be06b3078fa52c61936b0de695aee7c
5
5
  SHA512:
6
- metadata.gz: 45dc63f66c36c7c803953e3a9132fc89946d1065814c8364c37125e2228c98d8323ccfcc58613733d41bfe28c6e9e531615783250aafebf6c5ed855d916721a5
7
- data.tar.gz: db2728299b6087f6da94490edd0b945dc5dbe6a4664b7b6f5ba0c3aea15b172164e0ae3e8f1395103786655e4ef92726de54114b0724800683c8f30448554011
6
+ metadata.gz: 8ccdef42dbbcb3845e8ad89727838caf6b4628bf7f9842cad2a077c899a40771dfbd499fa3354a61e14529bcb41aa9cc5eceb2f24ac6d9849e5a0ce3eb0dbebc
7
+ data.tar.gz: e118d2695fdc3e0f63807af831532d8aeec854c4b3b0cd8a00ee2e6885c96584444ddf3e7aad7c6b1898acce80fd2fbc08186cd277eaf9e505cb2d40b133213b
@@ -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.9'
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.0.0'
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.6.7.2']
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
@@ -77,7 +77,7 @@ module Bookbinder
77
77
  end
78
78
  }.
79
79
  map(&:first).
80
- detect ->{""} {|text| text}
80
+ detect(Proc.new {""}) {|text| text}
81
81
  end
82
82
 
83
83
  def pattern_for(marker)
@@ -12,7 +12,7 @@ module Bookbinder
12
12
 
13
13
  def preprocess(sections, *args)
14
14
  sections.group_by { |section|
15
- processes.detect ->{ NullProcess.new } { |process| process.applicable_to?(section) }
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
@@ -119,6 +119,10 @@ module Bookbinder
119
119
  current_page.data.title= args.join(' ')
120
120
  end
121
121
 
122
+ def set_title_no_spaces(*args)
123
+ current_page.data.title= args.join
124
+ end
125
+
122
126
  def product_info
123
127
  config[:product_info].fetch(template_key, {})
124
128
  end
@@ -116,7 +116,9 @@ ol {
116
116
  padding: 0 0 0 1.4em;
117
117
  }
118
118
  ul ul,
119
- ol ol {
119
+ ol ol,
120
+ ul ol,
121
+ ol ul {
120
122
  margin-top: 1em;
121
123
  padding-bottom: 0
122
124
  }
@@ -1,10 +1,10 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
- ruby '~> 2.3.0'
3
+ ruby '~> 2.5.0'
4
4
 
5
5
  gem 'rack'
6
6
  gem 'rack-rewrite'
7
7
  gem 'puma'
8
8
  gem 'therubyracer'
9
9
  gem 'sendgrid-ruby', '< 3.0'
10
- gem 'elasticsearch'
10
+ gem 'elasticsearch', '~> 2.0.0'
@@ -1,22 +1,22 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- elasticsearch (2.0.0)
5
- elasticsearch-api (= 2.0.0)
6
- elasticsearch-transport (= 2.0.0)
7
- elasticsearch-api (2.0.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.0)
9
+ elasticsearch-transport (2.0.2)
10
10
  faraday
11
11
  multi_json
12
- faraday (0.9.2)
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.12.1)
16
+ multi_json (1.13.1)
17
17
  multipart-post (2.0.0)
18
- puma (3.6.0)
19
- rack (2.0.1)
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.12.5
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']['should']['simple_query_string']['query'] = search_term
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 %>
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  query:
3
3
  bool:
4
- should:
4
+ must:
5
5
  simple_query_string:
6
6
  query: ''
7
7
  fields:
@@ -9,7 +9,6 @@ query:
9
9
  - title^20
10
10
  - h2^10
11
11
  - h3^10
12
- minimum_should_match: 75%
13
12
  from: 0
14
13
  size: 10
15
14
  _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.9
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
- autorequire:
23
+ - Rajan Agaskar
24
+ autorequire:
24
25
  bindir: install_bin
25
26
  cert_chain: []
26
- date: 2017-09-27 00:00:00.000000000 Z
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.6.7.2
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.6.7.2
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: '0'
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: '0'
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.0.0
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.5.1
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: []