actionview-rev_manifest 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/actionview-rev_manifest.rb +0 -1
- data/lib/rev_manifest/{actionview/base.rb → helper.rb} +2 -3
- data/lib/rev_manifest/railtie.rb +5 -2
- data/lib/rev_manifest/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b030f67bc8b5350ac6544628fd1e11f8ddbe50d
|
4
|
+
data.tar.gz: fd65be5a8bc2110f0362daab837f0b8927d7b219
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ddd4a23b1f1309a2ba5f20be8af26fc0a52bb3e4df085c8a174dda83e79eda91ff056e7f30c35de41a4a7bce73b4dca2eaad211b1e6dec3d967f9cdabe36b434
|
7
|
+
data.tar.gz: f30437246b38faa422a3055688a483db80c3ee7bf9e5f10a623c0592e35c8bb18eb9ec2a9ff4d6b92bd66c18fa79b18bd0d68168ceb530b77a258da47bb1d5f3
|
data/README.md
CHANGED
data/lib/rev_manifest/railtie.rb
CHANGED
@@ -1,13 +1,16 @@
|
|
1
|
+
require "rev_manifest/helper"
|
2
|
+
|
1
3
|
module RevManifest
|
2
4
|
class Railtie < ::Rails::Railtie
|
3
5
|
config.rev_manifest = ActiveSupport::OrderedOptions.new
|
4
6
|
|
5
|
-
config.rev_manifest.
|
7
|
+
config.rev_manifest.enable = false
|
6
8
|
config.rev_manifest.sources = :all
|
7
9
|
|
8
10
|
initializer "rev_manifest.config", group: :all do |app|
|
9
|
-
RevManifest.enabled = app.config.rev_manifest.
|
11
|
+
RevManifest.enabled = app.config.rev_manifest.enable
|
10
12
|
RevManifest.sources = app.config.rev_manifest.sources
|
13
|
+
ActionView::Base.send(:prepend, RevManifest::Helper)
|
11
14
|
end
|
12
15
|
end
|
13
16
|
end
|
data/lib/rev_manifest/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: actionview-rev_manifest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuku Takahashi
|
@@ -81,7 +81,7 @@ files:
|
|
81
81
|
- Rakefile
|
82
82
|
- actionview-rev_manifest.gemspec
|
83
83
|
- lib/actionview-rev_manifest.rb
|
84
|
-
- lib/rev_manifest/
|
84
|
+
- lib/rev_manifest/helper.rb
|
85
85
|
- lib/rev_manifest/railtie.rb
|
86
86
|
- lib/rev_manifest/version.rb
|
87
87
|
homepage: https://github.com/yuku-t/actionview-rev_manifest
|