Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/actionview/path_hints.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
---
2
2
SHA1:
3
- metadata.gz: 71cbaa87fd02fe93b6afcd42261e66ba081ec3f1
4
- data.tar.gz: 26ea3aa4d48503fd899647d5b0302499598508b9
3
+ metadata.gz: c5a0f318f34d83f5edab197c72f9522883038d6e
4
+ data.tar.gz: bee3f72a139a0c0d454d89d7dcb08d5b36a7d2f4
5
5
SHA512:
6
- metadata.gz: 0ccbd76eddbd8866be9bd81756746f3ff4e6cb1cb616bf008036eac8a11cd2c82ff68f1e144d5934f86ebca02c592bd2ab2e3a509c365a507311ad0b1d297f76
7
- data.tar.gz: 529a582bd9a1503dd940b8e352da337cfc2ae023d24064b93d36eeb22f2eeafff16529dcb7911f19610ad11841270f7acf2d5e2b1d368eca442aec241bc0e5f9
6
+ metadata.gz: 7754cf081fdd35a541a82ae2482a95e431ae0e1d2b0373529af4f94a0206a6dcdc7e9e896abed7195709ec256dd80b7aa4b126837dc9bf9fcd932386e75240dd
7
+ data.tar.gz: 70f69e84a51be67f5ed809a0e41643fd26b0be6eaf03ed01b662b7f6196ff322515780825e1ba29fe300850da50455d00219524223decbc49baf8a2a4f413647
data/lib/actionview/path_hints.rb CHANGED
@@ -18,8 +18,8 @@ module ActionView
18
18
19
19
def cache_hit?
20
20
rails_latest? ?
21
- @view.view_renderer.cache :
22
- @view.view_renderer.cache_hits[@template.virtual_path]
21
+ @view.view_renderer.cache_hits[@template.virtual_path] :
22
+ @view.view_renderer.cache
23
23
end
24
24
25
25
def rails_latest?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: actionview-path_hints
3
3
version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.8
5
5
platform: ruby
6
6
authors:
7
7
- Ryan Tulino