cssbundling-rails 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/cssbundling/version.rb +1 -1
- metadata +18 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe36ff64ebb7a3e45b17d6ce9b8f17646f553688ddfc2394c2b6afa266381bb0
|
4
|
+
data.tar.gz: e76290b4d74b34c56bd3c8ade7758a9b8108ee64da63b047d3a284357a9b1d1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c122aae327a208eb707a291852d96fea430939cea9ad7a1dae182f03efb1f9201c0b2a917e93159c114e7a4e544b10c8faf8f4b8b5b506524d7ef07a405270f
|
7
|
+
data.tar.gz: 5378466b5910acf675be8499cddcb7cb37c39531d4dbc71be6004066ef285438331405faf77c89573f8024f33d3cdcb29d9edcdf0d834a2a5df8db845d4333e9
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# CSS Bundling for Rails
|
2
2
|
|
3
|
-
Use [Tailwind CSS](https://tailwindcss.com), [
|
3
|
+
Use [Tailwind CSS](https://tailwindcss.com), [Bootstrap](https://getbootstrap.com/), [PostCSS](https://postcss.org), or [Dart Sass](https://sass-lang.com/) to bundle and process your CSS, then deliver it via the asset pipeline in Rails. This gem provides installers to get you going with the bundler of your choice in a new Rails application, and a convention to use `app/assets/builds` to hold your bundled output as artifacts that are not checked into source control (the installer adds this directory to `.gitignore` by default).
|
4
4
|
|
5
5
|
You develop using this approach by running the bundler in watch mode in a terminal with `yarn build:css --watch` (and your Rails server in another, if you're not using something like [puma-dev](https://github.com/puma/puma-dev)). Whenever the bundler detects changes to any of the stylesheet files in your project, it'll bundle `app/assets/stylesheets/application.[bundler].css` into `app/assets/builds/application.css`. This build output takes over from the regular asset pipeline default file. So you continue to refer to the build output in your layout using the standard asset pipeline approach with `<%= stylesheet_link_tag "application" %>`.
|
6
6
|
|
@@ -21,9 +21,9 @@ You must already have node and yarn installed on your system. You will also need
|
|
21
21
|
|
22
22
|
1. Add `cssbundling-rails` to your Gemfile with `gem 'cssbundling-rails'`
|
23
23
|
2. Run `./bin/bundle install`
|
24
|
-
3. Run `./bin/rails css:install:[tailwind|postcss|sass
|
24
|
+
3. Run `./bin/rails css:install:[tailwind|bootstrap|postcss|sass]`
|
25
25
|
|
26
|
-
Or, in Rails 7+, you can preconfigure your new application to use a specific bundler with `rails new myapp --css [tailwind|postcss|sass
|
26
|
+
Or, in Rails 7+, you can preconfigure your new application to use a specific bundler with `rails new myapp --css [tailwind|bootstrap|postcss|sass]`.
|
27
27
|
|
28
28
|
|
29
29
|
## License
|
data/lib/cssbundling/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cssbundling-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
@@ -12,7 +12,7 @@ cert_chain: []
|
|
12
12
|
date: 2021-09-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
15
|
+
name: railties
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
@@ -25,6 +25,20 @@ dependencies:
|
|
25
25
|
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: 6.0.0
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: sprockets-rails
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: 2.0.0
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: 2.0.0
|
28
42
|
description:
|
29
43
|
email: david@loudthinking.com
|
30
44
|
executables: []
|
@@ -75,5 +89,6 @@ requirements: []
|
|
75
89
|
rubygems_version: 3.1.4
|
76
90
|
signing_key:
|
77
91
|
specification_version: 4
|
78
|
-
summary: Bundle and process CSS with Tailwind, PostCSS,
|
92
|
+
summary: Bundle and process CSS with Tailwind, Bootstrap, PostCSS, Sass in Rails via
|
93
|
+
Node.js.
|
79
94
|
test_files: []
|