sprockets-components 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: 289b2d31182c7ceb8cf37b3ef9d452f5684efb15ebb3a43d16540fc278773306
4
- data.tar.gz: 63ff1537b1dbc46a2933d17509a7400569c6650337f85ff6cc7218da38df3cad
3
+ metadata.gz: 7cee1e5b40b161d3f3f2e4ddf5fed87b3ce029ab83039a284ba411348a6b71ff
4
+ data.tar.gz: ee33b95d141677dad065b0b97b94dd89718bbdd45e06c3cc9c19b7c63c00ffb4
5
5
  SHA512:
6
- metadata.gz: ef741329802e424ea353733b2723f342559dddcdb9c483a6c725d4b27f0d171c5936dd5bc4a3956250b4a73ae1160a959f92ee59964a18709f3213d33f491cbf
7
- data.tar.gz: 50a33291ae8f4e150ac82dee4cb25b4dcdd1efbd2638aedb05aa4cbb4826ffd17a73ce85445ae5505006759c4963ebf6fba8c8118ad94ec4cf664102446b4975
6
+ metadata.gz: a1f94a48dc66db774c06290628a082db5dc928935a6c9aa615f55ef7c631b941f81b0677de54685c5dcad3f72d654966edb60c6252f98da7f6cb1928a3430400
7
+ data.tar.gz: 5d037d94a643e019e982c1607afcda7cd08ffe0828eb00251e99ac944b94d67f0d9e0b0edafbf23ccd839f74d8f45f0f5223d5d8a5cc5b0cb2379373b0c52a1e
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sprockets
4
4
  module Components
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  end
@@ -1,14 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "components/version"
3
+ require "sprockets/railtie"
4
4
 
5
5
  module Sprockets
6
6
  module Components
7
- class Engine < ::Rails::Engine
8
- initializer "sprockets-components" do |app|
7
+ class Railtie < ::Rails::Railtie
8
+ initializer "sprockets-components", group: :all do |app|
9
9
  Sprockets::DirectiveProcessor.include Directives
10
- app.config.after_initialize do
11
- app.assets.register_pipeline :component, Pipeline.new
10
+ app.config.assets.configure do |env|
11
+ env.register_pipeline :component, Pipeline.new
12
12
  end
13
13
  end
14
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprockets-components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel