render_anywhere 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/render_anywhere/rendering_controller.rb +3 -1
- data/lib/render_anywhere/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 132c854b8e1083c6b2e1b32cbebc3e07fd664e80
|
4
|
+
data.tar.gz: 6884081815a69c9fa9db605933d62b8b7e28817e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fb3ff0857f47c2e30af358c89341fcaabaa7a23cd10e9840e9aabc3dad558ee682bbaae39acc76caac5d550c5ef29187e85db294d326e19384c417e9e970166
|
7
|
+
data.tar.gz: 950924c425c916b671201efedaa368d0eb6ee4c72dc3a99fd1d3fec8a84a67f2d51a90e2f836f3aaa8a11460977d28d1ef02e338ebcdefdccce6b890d6ed27e8
|
@@ -5,7 +5,8 @@ module RenderAnywhere
|
|
5
5
|
# Include all the concerns we need to make this work
|
6
6
|
include AbstractController::Logger
|
7
7
|
include AbstractController::Rendering
|
8
|
-
include
|
8
|
+
include ActionView::Layouts if defined?(ActionView::Layouts) # Rails 4.1.x
|
9
|
+
include AbstractController::Layouts if defined?(AbstractController::Layouts) # Rails 3.2.x, 4.0.x
|
9
10
|
include AbstractController::Helpers
|
10
11
|
include AbstractController::Translation
|
11
12
|
include AbstractController::AssetPaths
|
@@ -30,6 +31,7 @@ module RenderAnywhere
|
|
30
31
|
config.javascripts_dir = Rails.root.join('public', 'javascripts')
|
31
32
|
config.stylesheets_dir = Rails.root.join('public', 'stylesheets')
|
32
33
|
config.assets_dir = Rails.root.join('public')
|
34
|
+
config.cache_store = ActionController::Base.cache_store
|
33
35
|
|
34
36
|
# same asset host as the controllers
|
35
37
|
self.asset_host = ActionController::Base.asset_host
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: render_anywhere
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luke Melia
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01
|
11
|
+
date: 2014-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|