css_splitter 0.4.4 → 0.4.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fc658462ea6cce58d269bffa3f3299519210b82a
4
- data.tar.gz: 7cea2dd7779c41847aab700ae39e15b57a611d4e
3
+ metadata.gz: ccd37dc88c15d291f462a0580a87a53e64773939
4
+ data.tar.gz: b5e405fcf8f9b38729720e877974e7ff2ed9bb76
5
5
  SHA512:
6
- metadata.gz: 027bcfcd91eb7e2170073fb056a4f4da83d675712790fadde36b5269d98acb9cfc25ba1f0a8174d1e1ead9a4da24e7ac48e25079ff5c900b9738bc85a9b20f40
7
- data.tar.gz: 6963436de6113d5134f2c440b7ecfe9f87ff3efdcafd52fd348970c893fd27121fd962fa17b27927d48384992d240f94517e57b7f090845466b775dc7ec9d8b0
6
+ metadata.gz: 4b8a6429f7e611ed1a03a9e5f2a949b25b0f6cc4e0bf157537cff10f18ce3e82f952df2def2741296d85757f0e56087fc9b06ba3313b18658ef029abda8f3454
7
+ data.tar.gz: 74ec2bd00e17677a1f451c773100562368fe27ae14a87eed6716db648b10bcead0228526a2bc5fc111780c2078c7ad85b1674c520935dde4352d64dbc925aaf5
@@ -1,10 +1,12 @@
1
1
  module CssSplitter
2
2
  class Engine < ::Rails::Engine
3
- isolate_namespace CssSplitter
4
-
5
3
  initializer 'css_splitter.sprockets_engine', after: 'sprockets.environment', group: :all do |app|
6
- app.config.assets.configure do |assets|
7
- assets.register_bundle_processor 'text/css', CssSplitter::SprocketsEngine
4
+ if app.config.assets.public_methods.include? :configure
5
+ app.config.assets.configure do |assets|
6
+ assets.register_bundle_processor 'text/css', CssSplitter::SprocketsEngine
7
+ end
8
+ else
9
+ app.assets.register_bundle_processor 'text/css', CssSplitter::SprocketsEngine
8
10
  end
9
11
  end
10
12
 
@@ -1,3 +1,3 @@
1
1
  module CssSplitter
2
- VERSION = "0.4.4"
2
+ VERSION = "0.4.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: css_splitter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Peters
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-01-04 00:00:00.000000000 Z
12
+ date: 2016-05-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sprockets