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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8ce3b21afad1661e55eebbd080500931ca976430a2ada9a373eb7e3157c624a2
4
- data.tar.gz: a281fa708287b6d0992dc2d063e303781125a1b61817946ca4ea5384e6ad1bc3
3
+ metadata.gz: cc879c19916c893eaf301d96d22752c768f5de77e9b3f9900edf825639083ea5
4
+ data.tar.gz: 20a29f7de7ec6365ce57571bde29bdcc8ef43a848a37a5f0f7f53cebc9971e5e
5
5
  SHA512:
6
- metadata.gz: 546338a06bd0aeed964446028eac86d1a8f50a39c92b27f97724827bce68cd859e1af0f3720a2b1dd10b41188deae52c038ac2d8dc7228c901ed296654d3bff7
7
- data.tar.gz: 9bb53dbca59f55ffd2bb616c99e90c02202c55367ae0b596f1bdf36fc52021139c15dafa278cbc298c7330c0f542a7242da571133a6eada48b512c90a2f69b82
6
+ metadata.gz: 06b89bc4e91cef52a4dbf44d47476d6949567dfd95279a08ea9e9c05c387bd8513b3e3dbc1ca0edafaf047b04d8aecafbf9a80f536cf51b1e0f92ec6900e335d
7
+ data.tar.gz: 7e448dd68f7dbfbde0362fc9be18520605ba48686b200d8d58aab8ba6009f3961a1b7a62e9563d10b65b48dba5fe64befdc91b6cccb368e8223592f6549b083d
@@ -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
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module Themes
3
- VERSION = "1.0.12"
3
+ VERSION = "1.0.13"
4
4
  end
5
5
  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.12
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-22 00:00:00.000000000 Z
11
+ date: 2022-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails