spud_core 1.0.5 → 1.0.6

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: 4e174a1ea6cbc74a9ca713de6227132e0fa0ab78
4
- data.tar.gz: c106489ea19922004fdf08f2450f86feca20dea0
3
+ metadata.gz: 677ed4c0b702bdc268d08072bedbf44a870a903c
4
+ data.tar.gz: fe3ba6948f358686cabfc74a08691679c640ebcf
5
5
  SHA512:
6
- metadata.gz: 642392a9803887628c2f891db86b2ed54b6de9f2c942b62e4a5cf828161f03c9cc3cc4efbe9bb45e0bff37333cc4316558a9bc35b6d57c277dae3a5f073aa298
7
- data.tar.gz: 3d510bae2020e6a40ea443ea7cd2281eb1d47980a06cc0cfa6b7c09f621ccfb4fbf9343465bab701960666d419188737a73be198a92298f90146803374caee88
6
+ metadata.gz: e9578c4ac41b7ded5a98e53b775a6e867aedcd90bae15f697278291141445bc30f8528971280056727453724bcf7d114099db928576b451e6eb4ad0c3bb51316
7
+ data.tar.gz: b502bafb9fb19ce1d1d3b41fb5977dd8a842d33bf8925f3ec04efd6ce5329e4e6cb8984c46f8b103444c304a1b4ed95354bd7ba76fa38fbb893a9e1664069519
@@ -3,9 +3,6 @@ class Spud::ApplicationController < ActionController::Base
3
3
  helper_method :current_user_session, :current_user
4
4
  around_filter :set_time_zone
5
5
 
6
- if Spud::Core.multisite_mode_enabled
7
- before_filter :multisite_caching
8
- end
9
6
  include Spud::ApplicationHelper
10
7
  before_filter :to
11
8
 
@@ -71,18 +68,4 @@ class Spud::ApplicationController < ActionController::Base
71
68
  ensure
72
69
  Time.zone = old_time_zone
73
70
  end
74
-
75
- def multisite_caching
76
- if Spud::Core.multisite_mode_enabled
77
- @old_cache_directory = Rails.application.config.action_controller.page_cache_directory
78
- if(@old_cache_directory.blank?)
79
- @old_cache_directory = Rails.application.config.action_controller.page_cache_directory = File.join(Rails.root,'public')
80
- end
81
- site_config = Spud::Core.site_config_for_host request.host_with_port
82
-
83
- self.class.page_cache_directory = File.join(@old_cache_directory.to_s,site_config[:short_name].to_s.downcase)
84
- logger.debug "Cache directory set to: #{Rails.application.config.action_controller.page_cache_directory}"
85
- end
86
- end
87
-
88
71
  end
@@ -1,5 +1,5 @@
1
1
  module Spud
2
2
  module Core
3
- VERSION = "1.0.5"
3
+ VERSION = "1.0.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spud_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Estes