faucet_pipeline_rails 1.0.0.rc2 → 1.0.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/faucet_pipeline_rails/railtie.rb +3 -2
- data/lib/faucet_pipeline_rails/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a499e70980e26bdc7a9dd3b4493162fcf4ace51
|
4
|
+
data.tar.gz: 702db008fb97e32561ea12140bc2a54bcfd3643f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56cd5ae0f0bfdb0d0cecaa920d892a7213be718d51679cd1b6f3e319217102564962692d83ed65fdcab385f2305c91ad657b5318f8b24f27825a5eaba257f22e
|
7
|
+
data.tar.gz: '08a73ea35877014976441115f2e81d77a6581b1fac78821742a529067ba15a515c9cfeb2728c7e215d017b00be38441aaec591137aca9948439c077866e20b94'
|
@@ -2,6 +2,8 @@ require "faucet_pipeline_rails/manifest"
|
|
2
2
|
|
3
3
|
module FaucetPipelineRails
|
4
4
|
class Railtie < Rails::Railtie
|
5
|
+
config.faucet_pipeline = ActiveSupport::OrderedOptions.new
|
6
|
+
|
5
7
|
ActiveSupport.on_load(:action_view) do
|
6
8
|
# Overwrite `compute_asset_path` with our own implementation
|
7
9
|
define_method(:compute_asset_path) do |source, _|
|
@@ -10,8 +12,7 @@ module FaucetPipelineRails
|
|
10
12
|
end
|
11
13
|
|
12
14
|
initializer "faucet_pipeline.configure_manifest_path" do |app|
|
13
|
-
config.faucet_pipeline
|
14
|
-
config.faucet_pipeline.manifest_path = app.root.join("public", "assets", "manifest.json")
|
15
|
+
app.config.faucet_pipeline.manifest_path ||= app.root.join("public", "assets", "manifest.json")
|
15
16
|
end
|
16
17
|
|
17
18
|
rake_tasks do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faucet_pipeline_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lucas Dohmen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
86
|
version: 1.3.1
|
87
87
|
requirements: []
|
88
88
|
rubyforge_project:
|
89
|
-
rubygems_version: 2.6.14
|
89
|
+
rubygems_version: 2.6.14.1
|
90
90
|
signing_key:
|
91
91
|
specification_version: 4
|
92
92
|
summary: Use Rails with faucet-pipeline
|