bullet_train-themes-tailwind_css 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: 5c566ea84afbb658c67d730da4e7bd56d7974b43054cec8315627b8b0347c73c
4
- data.tar.gz: 95f4456fe0f50644eed4664d861950e1517d9e0b373de71f26f3977b7d1a6d3d
3
+ metadata.gz: ba2d96d4421470fd991f92a45d0100ae890e2a470e735b92f1648b688843615c
4
+ data.tar.gz: eda0757f60822bf7593942f93df5e4db87d997d4fadb26fbb8eee485e6a511cf
5
5
  SHA512:
6
- metadata.gz: 03b7499166adc33e60b5feb21cc92db6c2620ccec6a6dd916702e360db56172d7f37574b9b575257cd06307cff4d39e0a016b967e15d56990183363ecfdfd1ef
7
- data.tar.gz: d2f7740e557dc8f3174bfbc1d37098fb18311b934128ca2b7c3d1566a6258e7448d64b31e349732364be98ed26796c79642c36d897e7c90837d10a45832565d8
6
+ metadata.gz: ea2eca069084fa3a4892f81750a7ce32f68f84778e24d10168f25557e02d5bff44edf2a1bd44e2ea3338453a4cceddec22baa0c3c67f35451f0bf4326f5ce290
7
+ data.tar.gz: dedd85153c16848650d0275ebe6ec4fc576805d494fc8e5c692debb760b440693d168ab0a810eb045ee010ebaeacac62e284f6c2c73066ceade8d623867fb832
@@ -1,5 +1,3 @@
1
- require_relative "path_snitch"
2
-
3
1
  module BulletTrain
4
2
  module Themes
5
3
  module TailwindCss
@@ -0,0 +1,13 @@
1
+ require "bullet_train/themes/base"
2
+
3
+ module BulletTrain
4
+ module Themes
5
+ module TailwindCss
6
+ class Theme < Base::Theme
7
+ def directory_order
8
+ ['tailwind'] + super
9
+ end
10
+ end
11
+ end
12
+ end
13
+ end
@@ -1,7 +1,7 @@
1
1
  module BulletTrain
2
2
  module Themes
3
3
  module TailwindCss
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/tailwind_css/version"
2
2
  require "bullet_train/themes/tailwind_css/engine"
3
+ require "bullet_train/themes/tailwind_css/theme"
3
4
 
4
5
  module BulletTrain
5
6
  module Themes
6
7
  module TailwindCss
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-tailwind_css
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
@@ -47,7 +47,7 @@ files:
47
47
  - config/routes.rb
48
48
  - lib/bullet_train/themes/tailwind_css.rb
49
49
  - lib/bullet_train/themes/tailwind_css/engine.rb
50
- - lib/bullet_train/themes/tailwind_css/path_snitch.rb
50
+ - lib/bullet_train/themes/tailwind_css/theme.rb
51
51
  - lib/bullet_train/themes/tailwind_css/version.rb
52
52
  - lib/tasks/bullet_train/themes/tailwind_css_tasks.rake
53
53
  homepage: https://github.com/bullet-train-co/bullet_train-themes-tailwind_css
@@ -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::TailwindCss::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