cssbundling-rails 0.2.2 → 0.2.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 156d3acba9a6ae3277c785473df2fbae9d70d7f8ef482788e06f31374b9d5e86
|
4
|
+
data.tar.gz: 1f893bd6b9c04efae1b03206f41fd4bb85c38c7bca0728f7c9cc3daf105c8572
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9e77967312dddbdee8ece958f1c612c02ff3a868be263842fd31ae430d0891be6ac185ade5e58f62cad5ca6251838b92d103c5471a8cc42bf31a082c46f04c1
|
7
|
+
data.tar.gz: b1345501f2328db87ba56d29572533fca2e93047eac2667c7ce6a8afd7d32306a03bbe05c8a2198c84f9a2bdad6908c2a4e116411a047623d2f702ccad6ace13
|
data/lib/cssbundling/version.rb
CHANGED
data/lib/install/install.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
say "Install PostCSS w/
|
1
|
+
say "Install PostCSS w/ nesting and autoprefixer"
|
2
2
|
copy_file "#{__dir__}/postcss.config.js", "postcss.config.js"
|
3
3
|
copy_file "#{__dir__}/application.postcss.css", "app/assets/stylesheets/application.postcss.css"
|
4
|
-
run "yarn add postcss postcss-cli postcss-
|
4
|
+
run "yarn add postcss postcss-cli postcss-nesting autoprefixer"
|
5
5
|
|
6
6
|
say "Add build:css script"
|
7
7
|
run %(npm set-script build:css "postcss ./app/assets/stylesheets/application.postcss.css -o ./app/assets/builds/application.css")
|
@@ -1,7 +1,9 @@
|
|
1
1
|
namespace :css do
|
2
2
|
desc "Build your CSS bundle"
|
3
3
|
task :build do
|
4
|
-
system "yarn install && yarn build:css"
|
4
|
+
unless system "yarn install && yarn build:css"
|
5
|
+
raise "cssbundling-rails: Command css:build failed, ensure yarn is installed and `yarn build:css` runs without errors"
|
6
|
+
end
|
5
7
|
end
|
6
8
|
end
|
7
9
|
|
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.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-09-
|
12
|
+
date: 2021-09-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|