railhead_multifetch 0.0.2 → 0.0.3

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: 1b73cd15340b08f935a6c9279f60fc46448e7cf4
4
- data.tar.gz: 331fb4a5b57407a8fd28162d9f1d4c769415be58
3
+ metadata.gz: 930d08ce9c4ae3968a7b4f9c66bb4f4575e44505
4
+ data.tar.gz: 0596692ece2390c7c03d0ba6bd41820b688022c6
5
5
  SHA512:
6
- metadata.gz: 707fcad34187f50ede01375111bb5fb0b95c289d763ed5cbdf05d866d0e9c493e9e01a21d938ff1ccfde317fd1551270eaf1a8dbb9ef20f80980c5e17e8f6a03
7
- data.tar.gz: 88239f4e9c1a5d1fc62fbcb684a1bce91a4b04f1926e8632dfd25fea8ad9c5c447f2dd99fd7ab11264b074c0d3c7c3270d2859825915ecfe710729d69ebc03b9
6
+ metadata.gz: 7947554941339f60f0304f0a8d1242017d907aa723f095ce7299c3de6ab311cfc17e0e4c9322430f9c0508acfa37cde978d523164d623334ef510557d9591495
7
+ data.tar.gz: 3351b9c40230c07ca94be5df0e77c096df175b9c8ec8a9e2a8dc7f04591a9678dddb42bc2cc9d65bfdaed4a8163364cb7c1e1ff92a1d6f893c9b759bd07be86e
@@ -10,7 +10,7 @@ module RailheadMultifetch
10
10
  end
11
11
 
12
12
  def render_collection_with_multifetch
13
- if ActionController::Base.perform_caching && (@options[:cache].present? or @locals[:cache].present?)
13
+ if @view.controller.perform_caching and (@options[:cache].present? or @locals[:cache].present?)
14
14
  return nil if @collection.blank?
15
15
  results = []
16
16
  keymap = {}
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "railhead_multifetch"
3
- s.version = "0.0.2"
4
- s.date = "2015-03-01"
3
+ s.version = "0.0.3"
4
+ s.date = "2015-07-19"
5
5
  s.summary = "RailheadMultifetch is a Ruby on Rails plugin that automatically loads multiple cached partials."
6
6
  s.email = "bence.nagy@gmail.com"
7
7
  s.homepage = "http://github.com/nagybence/railhead_multifetch"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railhead_multifetch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bence Nagy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-01 00:00:00.000000000 Z
11
+ date: 2015-07-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: bence.nagy@gmail.com
@@ -42,7 +42,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
42
42
  version: '0'
43
43
  requirements: []
44
44
  rubyforge_project:
45
- rubygems_version: 2.4.6
45
+ rubygems_version: 2.4.8
46
46
  signing_key:
47
47
  specification_version: 4
48
48
  summary: RailheadMultifetch is a Ruby on Rails plugin that automatically loads multiple