railhead_preheat 0.0.4 → 0.0.5

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: c819eaac8585159399425b00a9160115cf6dc2c1
4
- data.tar.gz: cf978c3fd32ad8af62ae09e0bf6890c631240f38
3
+ metadata.gz: 261c83bf08450d869673f1d1af1249542f2d4b02
4
+ data.tar.gz: 4f5a7446ca5b2a827274b7d1d9cb633fa61794b8
5
5
  SHA512:
6
- metadata.gz: 18ea17349a773ca39ebfa0803f4c3cf9f7e5130324e24a21938ee178175fde7c8041eb4ab0b65a05bd4f1e1858805a27ce52e3bfc33c65ed86401e558df4f736
7
- data.tar.gz: 5ac00e029b322c21c9533317c282fa2f30e39388ed1d876bf69bb7358d2b32b65b4e4cc47981fcce39e04457a789e2057749dfc376e1953c4e6d04c779d94268
6
+ metadata.gz: 7d9c9977880b203b82fdd27047fe6050474c7a00cf2779a2a051ee247b881b3acaa0805a9d2e305005c6d71d23a80add2df5da178fa99857a1c36ccc2e919f8f
7
+ data.tar.gz: 99209a1e82b6899c1fdad1c5218a98d249cb26cb4c6ebffaec037cca4f7141b408298f070001c167154a5ac4174084d7d709bd0380d7f6c4fdc63f6e4be3652e
@@ -16,8 +16,8 @@ end
16
16
 
17
17
  module RailheadPreheat
18
18
 
19
- def preheat(locals = {})
20
- RailheadPreheatController.new.render_to_string(self.reload, locals: locals)
19
+ def preheat(item = self)
20
+ RailheadPreheatController.new.render_to_string(item)
21
21
  end
22
22
  end
23
23
 
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "railhead_preheat"
3
- s.version = "0.0.4"
4
- s.date = "2015-02-24"
3
+ s.version = "0.0.5"
4
+ s.date = "2016-08-12"
5
5
  s.summary = "RailheadPreheat is a Ruby on Rails plugin that automatically caches partials from model."
6
6
  s.email = "bence.nagy@gmail.com"
7
7
  s.homepage = "http://github.com/nagybence/railhead_preheat"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railhead_preheat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
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-02-24 00:00:00.000000000 Z
11
+ date: 2016-08-12 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.5.1
46
46
  signing_key:
47
47
  specification_version: 4
48
48
  summary: RailheadPreheat is a Ruby on Rails plugin that automatically caches partials