bullet_train 1.3.13 → 1.3.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3fc370d1121df2825260d53e2b73da43644b952399992e520f2159522c3fa909
|
|
4
|
+
data.tar.gz: fd9ebef2d20fa5dec15e76b8500d44ea44f179177956d14170d882b70041c11d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
@@ -4,7 +4,7 @@ module AttributesHelper
|
|
|
4
4
|
end
|
|
5
5
|
|
|
6
6
|
def current_attributes_strategy
|
|
7
|
-
@
|
|
7
|
+
@_current_attribute_settings&.dig(:strategy)
|
|
8
8
|
end
|
|
9
9
|
|
|
10
10
|
def with_attribute_settings(object: current_attributes_object, strategy: current_attributes_strategy)
|
|
@@ -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
|
data/lib/bullet_train/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bullet_train
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.15
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrew Culver
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-08-
|
|
11
|
+
date: 2023-08-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: standard
|