bullet_train-themes 1.0.10 → 1.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.bt-link +0 -0
- data/app/helpers/theme_helper.rb +0 -6
- data/app/views/themes/base/fields/_password_field.html.erb +2 -1
- data/lib/bullet_train/themes/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc879c19916c893eaf301d96d22752c768f5de77e9b3f9900edf825639083ea5
|
4
|
+
data.tar.gz: 20a29f7de7ec6365ce57571bde29bdcc8ef43a848a37a5f0f7f53cebc9971e5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06b89bc4e91cef52a4dbf44d47476d6949567dfd95279a08ea9e9c05c387bd8513b3e3dbc1ca0edafaf047b04d8aecafbf9a80f536cf51b1e0f92ec6900e335d
|
7
|
+
data.tar.gz: 7e448dd68f7dbfbde0362fc9be18520605ba48686b200d8d58aab8ba6009f3961a1b7a62e9563d10b65b48dba5fe64befdc91b6cccb368e8223592f6549b083d
|
data/.bt-link
ADDED
File without changes
|
data/app/helpers/theme_helper.rb
CHANGED
@@ -8,12 +8,6 @@ module ThemeHelper
|
|
8
8
|
/^shared\//,
|
9
9
|
]
|
10
10
|
|
11
|
-
def current_theme
|
12
|
-
# Temporarily hardcoded. We actually don't want this to be just an `mattr_accessor` because the same application
|
13
|
-
# can use multiple themes. Need to think about this a bit.
|
14
|
-
:light
|
15
|
-
end
|
16
|
-
|
17
11
|
def current_theme_object
|
18
12
|
@current_theme_object ||= "BulletTrain::Themes::#{current_theme.to_s.classify}::Theme".constantize.new
|
19
13
|
end
|
@@ -16,6 +16,7 @@ other_options ||= {}
|
|
16
16
|
<div data-controller="<%= stimulus_controller %>">
|
17
17
|
<%= render 'shared/fields/field', form: form, method: method, helper: :password_field, options: options, other_options: other_options %>
|
18
18
|
<% if options[:show_strength_indicator] %>
|
19
|
-
|
19
|
+
<% # TODO This is the wrong place to define this kind of style, but I couldn't make this work in the `:help` content buffer. %>
|
20
|
+
<div data-<%= stimulus_controller %>-target="strengthIndicator" class="hidden mt-1.5 text-xs text-red"></div>
|
20
21
|
<% end %>
|
21
22
|
</div>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train-themes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -31,6 +31,7 @@ executables: []
|
|
31
31
|
extensions: []
|
32
32
|
extra_rdoc_files: []
|
33
33
|
files:
|
34
|
+
- ".bt-link"
|
34
35
|
- MIT-LICENSE
|
35
36
|
- README.md
|
36
37
|
- Rakefile
|
@@ -86,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
87
|
- !ruby/object:Gem::Version
|
87
88
|
version: '0'
|
88
89
|
requirements: []
|
89
|
-
rubygems_version: 3.
|
90
|
+
rubygems_version: 3.3.7
|
90
91
|
signing_key:
|
91
92
|
specification_version: 4
|
92
93
|
summary: Bullet Train Themes
|