bullet_train-themes 1.0.12 → 1.0.13
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 +4 -4
- data/app/helpers/theme_helper.rb +0 -6
- data/lib/bullet_train/themes/version.rb +1 -1
- metadata +2 -2
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/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
|
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
|