-
Notifications
You must be signed in to change notification settings - Fork 186
/
Copy pathtailwindcss-rails.gemspec
37 lines (26 loc) · 1.25 KB
/
tailwindcss-rails.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
require_relative "lib/tailwindcss/version"
Gem::Specification.new do |spec|
spec.name = "tailwindcss-rails"
spec.version = Tailwindcss::VERSION
spec.authors = [ "David Heinemeier Hansson" ]
spec.homepage = "https://github.com/rails/tailwindcss-rails"
spec.summary = "Integrate Tailwind CSS with the asset pipeline in Rails."
spec.license = "MIT"
spec.metadata = {
"homepage_uri" => spec.homepage,
"rubygems_mfa_required" => "true"
}
spec.required_rubygems_version = ">= 3.2.0" # for Gem::Platform#match_gem?
spec.files = Dir["{app,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]
spec.add_dependency "railties", ">= 7.0.0"
spec.add_dependency "tailwindcss-ruby", "~> 4.0"
# TODO: remove this after a suitable period of time after the v4.0.0 release.
spec.post_install_message = <<~TEXT
== Upgrading to Tailwind CSS v4 ==
If you are upgrading to tailwindcss-rails 4.x, please read the upgrade guide at:
https://github.com/rails/tailwindcss-rails/blob/main/README.md#upgrading-your-application-from-tailwind-v3-to-v4
If you're not ready to upgrade yet, please pin to version 3 in your Gemfile:
gem "tailwindcss-rails", "~> 3.3.1"
TEXT
end