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: e90135f0124afb3b6e54f767de858928e986e1de7ffba7a527e7f7cc87883c1c
4
- data.tar.gz: 178c5f64666f56144702963ba16b1a95a8a798b29071aba47bb0759c7ad8a05c
3
+ metadata.gz: '090d81bfe963fcfc8baec69f97cb2f853ef0e21255d036fbe302784ba8c19d09'
4
+ data.tar.gz: ad8a32a0fe0b4eec37c931fe5be9df1b588550e57e486983d7717b8bb3b81d49
5
5
  SHA512:
6
- metadata.gz: 48aaaa404ea44ad4bb3d2bd4493b28e8f87c785d0a96274903d9c4ad3305dcff298550eb127177f29651cd78e6fb5019d1d2b85f9eb30c78dc55322d32e4ab3e
7
- data.tar.gz: 3d6ff4f5d793e2927e542052f051543bdb3a5bbbf202040460c77d49d55233de096200731ee8c97b2baa5107e872a60a6e6e1aa82931d956ac8ebd9b38cbe8ee
6
+ metadata.gz: 1feea7d75f4829ff4c51a18950471403d088bf195272e6b1522796a99824db7dd09a47d4e2992e024091e58758d34fba143d8d15e4ca5d9a9d9146a69e467094
7
+ data.tar.gz: 56209a1ac0a119b7407aaedbcb88eca37ce8c2eea10ecfe14af792f70a0cef320666cd5145f192a5df68ff87a5819e6d552d3000ac68f5d3549623be5fcae502
@@ -1,5 +1,3 @@
1
- require_relative "path_snitch"
2
-
3
1
  module BulletTrain
4
2
  module Themes
5
3
  module Base
@@ -0,0 +1,11 @@
1
+ module BulletTrain
2
+ module Themes
3
+ module Base
4
+ class Theme
5
+ def directory_order
6
+ ['base']
7
+ end
8
+ end
9
+ end
10
+ end
11
+ end
@@ -1,7 +1,7 @@
1
1
  module BulletTrain
2
2
  module Themes
3
3
  module Base
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
6
6
  end
7
7
  end
@@ -1,10 +1,10 @@
1
1
  require "bullet_train/themes/base/version"
2
2
  require "bullet_train/themes/base/engine"
3
+ require "bullet_train/themes/base/theme"
3
4
 
4
5
  module BulletTrain
5
6
  module Themes
6
7
  module Base
7
- # Your code goes here...
8
8
  end
9
9
  end
10
10
  end
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.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-01-24 00:00:00.000000000 Z
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/path_snitch.rb
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