rails-cache_control 0.0.2 → 0.0.3

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: dba3ee60e691606d0260435528780094b0cb9c17
4
- data.tar.gz: 4b3e459623ddcdad0731c6f417eff16852de6ffd
3
+ metadata.gz: 867f4ddad8c8a1a98e182dfd7a03b8d19927f10d
4
+ data.tar.gz: f56201198122528dc57dacb3a69f0931b0ae1254
5
5
  SHA512:
6
- metadata.gz: 33ab4baf5c6ba083aa839c2a026ee317cd9286c7008e6cffeab6865e9c8375b5c4e545d0676c92b9c6c8ec98b5804659c7f30fa20c585017dfd255ec5a54ceff
7
- data.tar.gz: c89709120b95fa656293e04611c3b9243d9af3a2f12812d9b645cecbad1d6bb762051391eb2a8380035a7334c9b07b43dc9aed2d944e97f1c1bf5f8789b405f4
6
+ metadata.gz: 9c5ccb49dd0566b958d0ec4b0ea5131fd027f4f867972378af081e892371fef4b0f411e3456ca111126bca7fbb8bb7da3ff7a90882d583583bc0fe259d3054f6
7
+ data.tar.gz: b6b9d05cd4cf118da138e27dcb4936ffcd079fb1bd862e26df401161d4fb752da7171e82bba71485b3629ffa05f0a7006101c061491ae688d050ee82163014e3
@@ -4,7 +4,7 @@ module ActionController
4
4
  class ActionCacheFilter
5
5
  def around_with_expires_in(controller, &block)
6
6
  expires_in = @store_options[:expires_in]
7
- controller.expires_in(expires_in, @store_options) if expires_in
7
+ controller.expires_in(expires_in, public: true) if expires_in
8
8
  around_without_expires_in(controller, &block)
9
9
  end
10
10
  alias_method_chain :around, :expires_in
@@ -1,3 +1,3 @@
1
1
  module RailsCacheControl
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-cache_control
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jianqiu Xiao