actionview-rev_manifest 0.2.0 → 0.2.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
  SHA1:
3
- metadata.gz: 481885e74b670eebecc555d9f797d2857745ffdf
4
- data.tar.gz: b2b4fb55930c82c9a9c3dfd23763886539da048e
3
+ metadata.gz: c0b3ef0938f9f268db70328329e9fe04a0c50983
4
+ data.tar.gz: 72888cc0aaffd79b5cc0df0d505052ef12cc0532
5
5
  SHA512:
6
- metadata.gz: ffc5a874529d219ea372931b7d322084460bbefd24ea914d2af13e6c51c38ece3c24bec3c959065150dc132b262e5c8d1c79008290a31eb61c135af92178aea4
7
- data.tar.gz: 269dd0d2c20aae40c808f8d9fd87b136139771ad4eb6597496847593839a5ac58b4732f95827a0d6bb1f342c3491858c0cf64fcede742b64c44b0b87ec9573fa
6
+ metadata.gz: 4a25a0ce224cc805d995bd40cb052c1ab197da0c6ac1a788f76b4ea133b057e8c09ed5ffc60b4a41d04087b9d49447615b23e9767b4c46e619ea161509f04175
7
+ data.tar.gz: 97343db89ab4c81195490f85fdeacc4d279d2ae7040f5f65354f145474780a442fa9404b47c4fd0961cd457cc3f8055036204b7cc61ee56ab730a01e32e1e57c
data/README.md CHANGED
@@ -37,14 +37,6 @@ MyApp::Application.config do
37
37
  end
38
38
  ```
39
39
 
40
- In addition, make sure that sprockets is loaded ahead:
41
-
42
- ```rb
43
- # Gemfile
44
- gem "sprockets"
45
- gem "actionview-rev_manifest"
46
- ```
47
-
48
40
  ## Sample gulpfile.coffee
49
41
 
50
42
  ```coffee
@@ -1,7 +1,7 @@
1
1
  module ActionView
2
2
  class Base
3
- # @note Patch {ActionView::Helpers::AssetUrlHelper#compute_asset_path}.
4
- def compute_asset_path_with_rev_manifest(source, options = {})
3
+ # @note Override {ActionView::Helpers::AssetUrlHelper#compute_asset_path}.
4
+ def compute_asset_path(source, options = {})
5
5
  if RevManifest.include?(source)
6
6
  if RevManifest.enabled?
7
7
  RevManifest.resolve(source, options)
@@ -10,10 +10,8 @@ module ActionView
10
10
  File.join(dir, source)
11
11
  end
12
12
  else
13
- compute_asset_path_without_rev_manifest(source, options)
13
+ super
14
14
  end
15
15
  end
16
-
17
- alias_method_chain :compute_asset_path, :rev_manifest
18
16
  end
19
17
  end
@@ -1,3 +1,3 @@
1
1
  module RevManifest
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
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.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuku Takahashi