spark_components 1.3.0 → 1.3.1

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: adcc859e7bb3c58976280b05b17c030842ee61a93452376c8a0de38b00c5da55
4
- data.tar.gz: e5b968c9e8bd2317a77edd3883dcf986a1376f821fccaef690d46a380a5c8785
3
+ metadata.gz: b60e313109acdaadd7bb6a3d476e36048be57ee1c4bcb5688dd53dd05fdadc5b
4
+ data.tar.gz: 55c14f9ceeb0a0dbe1000e30b97d2d6934e2d98f11ed8b425b6e6086934e76aa
5
5
  SHA512:
6
- metadata.gz: 3307a090147aabd5ae4146148903012d685ddc8c092774c8cfc949c691f34fea43077c2f4b19fffe6b92795c0ac669d3ba50163d0cac00cf3b11b0b71cddb2aa
7
- data.tar.gz: 92da07e9a0c368009f2e06a7149b795901de8dc54e66950a71da1b47af60bc37d4e6a2d82e158dd3146ee39052a4137e3e2d2db5e7a3ec8aca914ec176aeb40e
6
+ metadata.gz: efa20e3956e31053642f038f4cbce2e3deede58c6635b6fb907b7f4ef26b02c81aaf2ef9ac46f2793ffc1e13845d6717a3a25b21f21cf53dd5926dc034c31f9a
7
+ data.tar.gz: f41dc7b8e7b6dc7ff9d643bce6a07dfd6646e76695856936c09264a78542c1d94907640b9cf134160c84ba16feeaef2a0750431d6bc4a68ec235037e1b665825
@@ -8,6 +8,10 @@ module SparkComponents
8
8
  app.config.assets.paths << SparkComponents.components_path if app.config.respond_to?(:assets)
9
9
  end
10
10
 
11
+ initializer 'components.autoload', :before => :set_autoload_paths do |app|
12
+ app.config.autoload_paths << File.join(app.root, 'app/components')
13
+ end
14
+
11
15
  initializer "components.view_helpers" do
12
16
  ActiveSupport.on_load :action_controller do
13
17
  helper SparkComponents::ComponentHelper
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SparkComponents
4
- VERSION = "1.3.0"
4
+ VERSION = "1.3.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spark_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-31 00:00:00.000000000 Z
11
+ date: 2019-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails