bullet_train-themes-base 1.0.0 → 1.0.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '090d81bfe963fcfc8baec69f97cb2f853ef0e21255d036fbe302784ba8c19d09'
|
4
|
+
data.tar.gz: ad8a32a0fe0b4eec37c931fe5be9df1b588550e57e486983d7717b8bb3b81d49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1feea7d75f4829ff4c51a18950471403d088bf195272e6b1522796a99824db7dd09a47d4e2992e024091e58758d34fba143d8d15e4ca5d9a9d9146a69e467094
|
7
|
+
data.tar.gz: 56209a1ac0a119b7407aaedbcb88eca37ce8c2eea10ecfe14af792f70a0cef320666cd5145f192a5df68ff87a5819e6d552d3000ac68f5d3549623be5fcae502
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train-themes-base
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
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-
|
11
|
+
date: 2022-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -62,7 +62,7 @@ files:
|
|
62
62
|
- config/routes.rb
|
63
63
|
- lib/bullet_train/themes/base.rb
|
64
64
|
- lib/bullet_train/themes/base/engine.rb
|
65
|
-
- lib/bullet_train/themes/base/
|
65
|
+
- lib/bullet_train/themes/base/theme.rb
|
66
66
|
- lib/bullet_train/themes/base/version.rb
|
67
67
|
- lib/tasks/bullet_train/themes/base_tasks.rake
|
68
68
|
homepage: https://github.com/bullet-train-co/bullet_train-themes-base
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# TODO This is my best attempt at allowing us to figure out where theme partials might be getting served from.
|
2
|
-
# We can only inspect the source location of a class (not a module), and this gem has no other classes, so we need this.
|
3
|
-
# See https://stackoverflow.com/questions/13012109/get-class-location-from-class-object for context.
|
4
|
-
class BulletTrain::Themes::Base::PathSnitch
|
5
|
-
def self.confess
|
6
|
-
# This method allows us to call `BulletTrain::Themes::PathSnitch.method(:confess).source_location` and see where
|
7
|
-
# this gem is being served from... which allows us to check it's `view/themes` directory for partials.
|
8
|
-
end
|
9
|
-
end
|