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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fe36ff64ebb7a3e45b17d6ce9b8f17646f553688ddfc2394c2b6afa266381bb0
4
- data.tar.gz: e76290b4d74b34c56bd3c8ade7758a9b8108ee64da63b047d3a284357a9b1d1e
3
+ metadata.gz: 7b949bceafaa77019bd9d046505043f55499bd2a7a8d388c8452fb6013b9875e
4
+ data.tar.gz: 0f9fd5b7e082e8d40dea90996a309482cb92e5716f7f65e847e116bccc21e2dc
5
5
  SHA512:
6
- metadata.gz: 0c122aae327a208eb707a291852d96fea430939cea9ad7a1dae182f03efb1f9201c0b2a917e93159c114e7a4e544b10c8faf8f4b8b5b506524d7ef07a405270f
7
- data.tar.gz: 5378466b5910acf675be8499cddcb7cb37c39531d4dbc71be6004066ef285438331405faf77c89573f8024f33d3cdcb29d9edcdf0d834a2a5df8db845d4333e9
6
+ metadata.gz: 48fe191fae553691b4f5cb94559795090356cb9d3eb00f4a5f4b7625e56f194ba7711b2c296a068d41097b27f21e3b4ad20da62edac535530d52e9e83a5d0ef4
7
+ data.tar.gz: a6b27be310ae773882019806a5a2256a0cf2a74898cf8b9f9dd9e994c2fd942bc6b0cea7ed05f39b6d1a64bc9fc4896cee61f53cfd8424351a0afc5f34113a03
@@ -1,3 +1,3 @@
1
1
  module Cssbundling
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
@@ -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\n!/app/assets/builds/.keep\n))
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
- Rake::Task["test:prepare"].enhance(["css:build"]) if Rake::Task.task_defined?("test:prepare")
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.6
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-10 00:00:00.000000000 Z
12
+ date: 2021-09-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties