responders 0.5.1 → 0.5.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.
@@ -1,4 +1,8 @@
1
- == 0.5
1
+ == 0.5.1
2
+
3
+ * ALso copy locale file on rails generator responders_install
4
+
5
+ == 0.5.0
2
6
 
3
7
  * Added Railtie and better Rails 3 support
4
8
 
@@ -33,7 +33,8 @@ module Responders
33
33
  end
34
34
 
35
35
  def do_http_cache?
36
- get? && @http_cache != false && !new_record? && controller.response.last_modified.nil?
36
+ get? && @http_cache != false && ActionController::Base.perform_caching &&
37
+ !new_record? && controller.response.last_modified.nil?
37
38
  end
38
39
 
39
40
  def new_record?
@@ -1,3 +1,3 @@
1
1
  module Responders
2
- VERSION = "0.5.1".freeze
2
+ VERSION = "0.5.2".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: responders
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Jos\xC3\xA9 Valim"
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-19 00:00:00 +01:00
12
+ date: 2010-03-02 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15