bullet_train-themes-tailwind_css 1.0.0 → 1.0.4

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: a83e6e1ba42ca442994ee5257f6aa4a878170ca127ed01506551734cd935e168
4
+ data.tar.gz: 85abf3e298c2e3b0c8cbc3b4b895b13d201f7c67cf38b5dfa19310d6ac08e905
5
5
  SHA512:
6
- metadata.gz: 03b7499166adc33e60b5feb21cc92db6c2620ccec6a6dd916702e360db56172d7f37574b9b575257cd06307cff4d39e0a016b967e15d56990183363ecfdfd1ef
7
- data.tar.gz: d2f7740e557dc8f3174bfbc1d37098fb18311b934128ca2b7c3d1566a6258e7448d64b31e349732364be98ed26796c79642c36d897e7c90837d10a45832565d8
6
+ metadata.gz: 0aea4b921f5852da76d01387c347e2a0dd1256c4014c46e240e003eee580d7b7ac43173d48625fda8f516dcff1a0bc4f52192485bba950b908554532acfe3421
7
+ data.tar.gz: ec711ae1a749479a69396e762802a699257783b40ba69547dfd9e5b0ff547d45d228daea50781c94c676f0f4da193b11b4da57cde2ddb18ed44fa7142be9acc6
@@ -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,11 @@
1
+ module BulletTrain
2
+ module Themes
3
+ module TailwindCss
4
+ class Theme < Base::Theme
5
+ def directory_order
6
+ ['tailwind_css'] + super
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 TailwindCss
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.4"
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.4
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-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 7.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: bullet_train-themes
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  description: Bullet Train Themes Tailwind CSS Base
28
42
  email:
29
43
  - andrew.culver@gmail.com
@@ -47,7 +61,7 @@ files:
47
61
  - config/routes.rb
48
62
  - lib/bullet_train/themes/tailwind_css.rb
49
63
  - lib/bullet_train/themes/tailwind_css/engine.rb
50
- - lib/bullet_train/themes/tailwind_css/path_snitch.rb
64
+ - lib/bullet_train/themes/tailwind_css/theme.rb
51
65
  - lib/bullet_train/themes/tailwind_css/version.rb
52
66
  - lib/tasks/bullet_train/themes/tailwind_css_tasks.rake
53
67
  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