bullet_train 1.3.14 → 1.3.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
2
  SHA256:
3
- metadata.gz: 6aa72942fc9ca5dd7746d65e9fe63f98fec5f479a0a51cab38243c98bc81e855
4
- data.tar.gz: 5d9e921044fecc3859867da4974e2be40f723359e70d749bb2aff6ed3b201b98
3
+ metadata.gz: 3fc370d1121df2825260d53e2b73da43644b952399992e520f2159522c3fa909
4
+ data.tar.gz: fd9ebef2d20fa5dec15e76b8500d44ea44f179177956d14170d882b70041c11d
5
5
  SHA512:
6
- metadata.gz: d40cf39bbc80b15f2ad1a273ed917574c265cce2416d678a785a0860ebf5b681ac72911c4b21626f8e287c01119f4925cfa45a1a6642dccb2e39d52be822fc0a
7
- data.tar.gz: be0192bb6dbab988f781f032cf6f6adfe62aee272898caf8f4d5989cdbbe38e267270ffe955d1b842370a33eb9d2ad1016346808109371460ff74c3ffc71323d
6
+ metadata.gz: 544da7e87dd48e0503177822ec55e539885232da7e642a25adbe54538781e0603da94bd1a1031b9f43391b981b44724c5ee665b13ecd5992e0e1ba94b6fab4e5
7
+ data.tar.gz: 0d1c5bda4b465a70a6f9f1738d43d892c2c60d23b13e07a4331714bfc9a7019ecbf99f55173eb0f921938238e4087d9d64f8a93582f0efbcad41da0e9925a2a7
@@ -2,6 +2,7 @@ module Account::MarkdownHelper
2
2
  def markdown(string)
3
3
  if defined?(Commonmarker.to_html)
4
4
  Commonmarker.to_html(string, options: {
5
+ extensions: {header_ids: true},
5
6
  plugins: {syntax_highlighter: {theme: "InspiredGitHub"}},
6
7
  render: {width: 120, unsafe: true}
7
8
  }).html_safe
@@ -355,7 +355,7 @@
355
355
  <div class="py-2 px-1">
356
356
  <div class="mx-auto sm:px-6 sm:py-4 px-2">
357
357
  <div class="bg-white rounded-md shadow sm:py-14 sm:px-12 py-10 px-7">
358
- <div class="prose" style="max-width: none;">
358
+ <div class="prose" style="max-width: none;" id="bt-docs-content">
359
359
  <%= yield %>
360
360
  </div>
361
361
  </div>
@@ -1,7 +1,7 @@
1
1
  module BulletTrain
2
2
  class Configuration
3
3
  include Singleton
4
- attr_accessor :strong_passwords
4
+ attr_accessor :strong_passwords, :incoming_webhooks_parent_class_name
5
5
 
6
6
  @@config = nil
7
7
 
@@ -10,12 +10,17 @@ module BulletTrain
10
10
 
11
11
  # Default values
12
12
  @strong_passwords = true
13
+ @incoming_webhooks_parent_class_name = "ApplicationRecord"
13
14
  end
14
15
 
15
16
  class << self
16
17
  def strong_passwords
17
18
  @@config&.strong_passwords
18
19
  end
20
+
21
+ def incoming_webhooks_parent_class_name
22
+ @@config&.incoming_webhooks_parent_class_name
23
+ end
19
24
  end
20
25
  end
21
26
  end
@@ -1,3 +1,3 @@
1
1
  module BulletTrain
2
- VERSION = "1.3.14"
2
+ VERSION = "1.3.15"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.14
4
+ version: 1.3.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver