cssbundling-rails 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cssbundling/version.rb +1 -1
- data/lib/install/install.rb +1 -1
- data/lib/tasks/cssbundling/build.rake +6 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b949bceafaa77019bd9d046505043f55499bd2a7a8d388c8452fb6013b9875e
|
4
|
+
data.tar.gz: 0f9fd5b7e082e8d40dea90996a309482cb92e5716f7f65e847e116bccc21e2dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48fe191fae553691b4f5cb94559795090356cb9d3eb00f4a5f4b7625e56f194ba7711b2c296a068d41097b27f21e3b4ad20da62edac535530d52e9e83a5d0ef4
|
7
|
+
data.tar.gz: a6b27be310ae773882019806a5a2256a0cf2a74898cf8b9f9dd9e994c2fd942bc6b0cea7ed05f39b6d1a64bc9fc4896cee61f53cfd8424351a0afc5f34113a03
|
data/lib/cssbundling/version.rb
CHANGED
data/lib/install/install.rb
CHANGED
@@ -7,7 +7,7 @@ say "Stop linking stylesheets automatically"
|
|
7
7
|
gsub_file "app/assets/config/manifest.js", "//= link_directory ../stylesheets .css", ""
|
8
8
|
|
9
9
|
if Rails.root.join(".gitignore").exist?
|
10
|
-
append_to_file(".gitignore", %(/app/assets/builds
|
10
|
+
append_to_file(".gitignore", %(/app/assets/builds/*\n!/app/assets/builds/.keep\n))
|
11
11
|
end
|
12
12
|
|
13
13
|
say "Remove app/assets/stylesheets/application.css so build output can take over"
|
@@ -6,4 +6,9 @@ namespace :css do
|
|
6
6
|
end
|
7
7
|
|
8
8
|
Rake::Task["assets:precompile"].enhance(["css:build"])
|
9
|
-
|
9
|
+
|
10
|
+
if Rake::Task.task_defined?("test:prepare")
|
11
|
+
Rake::Task["test:prepare"].enhance(["css:build"])
|
12
|
+
elsif Rake::Task.task_defined?("db:test:prepare")
|
13
|
+
Rake::Task["db:test:prepare"].enhance(["css:build"])
|
14
|
+
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.
|
4
|
+
version: 0.1.7
|
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-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|