railhead_preheat 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3086a891f4f1b8a92d600016a71c4975c86cabda
4
- data.tar.gz: 8c396659dd08b5d27fb8ad79bde36c4149d6207f
3
+ metadata.gz: 3748e3cd47402c5698e01382815c446380d59d2d
4
+ data.tar.gz: 1d17d8905b890b9495009104d064106ab8765a4b
5
5
  SHA512:
6
- metadata.gz: ecd1d2a6a3bb2324979dc96e8828905db255ab010518ab4deb179c96bf06e54f32c6d2a5f075e11b55b5b4732169095a5fbce50eb588f11a428b07021cb162b0
7
- data.tar.gz: 1c82364569b09994285b23cf2f652dc84e97ab91b3b2749f1c3fa0fcadaf4df88c801c9ac0d1299a490aaf04e80222d320fb7888d8e634dd8cc9320ca2e5f313
6
+ metadata.gz: 4bdb4f5ffd4c0d65c97d928e90b3842e6a2e1c778c1a02d75c0f105f57a1c111ca0d21611ac3739feeb7255754be53f61620404bcfd16118b783c14c951eacdd
7
+ data.tar.gz: f444ab82fc579f829bb623ead6f2ed4574a50379641ea00981ad89c50c90c1a0da5cb359daa426b37214f742709de7be87cb7cdb783d6b9eebead28ffc0f8683
@@ -6,6 +6,8 @@ class RailheadPreheatController < ActionController::Metal
6
6
 
7
7
  def initialize(*args)
8
8
  super()
9
+ self.class.send :include, Rails.application.routes.url_helpers
10
+ self.class.send :helper, ApplicationHelper
9
11
  lookup_context.view_paths = ApplicationController.view_paths
10
12
  end
11
13
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "railhead_preheat"
3
- s.version = "0.0.1"
3
+ s.version = "0.0.2"
4
4
  s.date = "2015-02-24"
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"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railhead_preheat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bence Nagy