render_anywhere 0.0.6 → 0.0.7

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: b249151929667744567bd70bca210032d896420d
4
- data.tar.gz: a5f91abe04d49eb4c1bb3d0d8738f3b77b0e5631
3
+ metadata.gz: 132c854b8e1083c6b2e1b32cbebc3e07fd664e80
4
+ data.tar.gz: 6884081815a69c9fa9db605933d62b8b7e28817e
5
5
  SHA512:
6
- metadata.gz: 4b1030317870291e6c24200f96cbb3bf98c9e4a7b4e71e5d0b7180f8857b6b4b9cffd0d5e7d543ba6666cf08197d1f92d41acde8323e237ff5df8dfb5e6c8594
7
- data.tar.gz: f2c241ef9f80cda592f183ff6da78554bafcaeae7911eb2cf7f594a84cb663eadd24e514858f018b1133cde23f3e0f1dc492b3731361b09ee5c61feb0c193e5b
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 AbstractController::Layouts
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
@@ -1,3 +1,3 @@
1
1
  module RenderAnywhere
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
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.6
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-26 00:00:00.000000000 Z
11
+ date: 2014-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails