cssbundling-rails 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/lib/cssbundling/version.rb +1 -1
  4. metadata +18 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1cb16bc8fd46769c9ceee9130fe3146da522850768c6d004043cab54fa45595
4
- data.tar.gz: cd894d657fcc8d2d55c14d61674f85627ea6e7cb0d3d2375c1d8ea5529f531b4
3
+ metadata.gz: fe36ff64ebb7a3e45b17d6ce9b8f17646f553688ddfc2394c2b6afa266381bb0
4
+ data.tar.gz: e76290b4d74b34c56bd3c8ade7758a9b8108ee64da63b047d3a284357a9b1d1e
5
5
  SHA512:
6
- metadata.gz: ef825dd44a3654b15d488894b19f01020be3020129a2ba45934b5e7860f17824120336109dc15de9a109c6d3e0bf080b0686bed761ade6d29314bb238a905d96
7
- data.tar.gz: 2b7c58fb054093ad72f89b34472ae38b0a33ea9a16b4565139d90860c6cb1affa890fac65e7530f37ae626bcf2d8f718072cabe752b637990cf1354b6b295ecd
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), [PostCSS](https://postcss.org), [Dart Sass](https://sass-lang.com/), or [Bootstrap](https://getbootstrap.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).
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|bootstrap]`
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|bootstrap]`.
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
@@ -1,3 +1,3 @@
1
1
  module Cssbundling
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
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.5
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: rails
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, or Sass in Rails via Node.js.
92
+ summary: Bundle and process CSS with Tailwind, Bootstrap, PostCSS, Sass in Rails via
93
+ Node.js.
79
94
  test_files: []