padrino-cache 0.9.29 → 0.10.0

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.
@@ -65,7 +65,7 @@ module Padrino
65
65
  halt 200, value if value
66
66
  end
67
67
  })
68
- route.add_after_filter(Proc.new { |something|
68
+ route.add_after_filter(Proc.new { |_|
69
69
  if settings.caching?
70
70
  began_at = Time.now
71
71
  if @_last_expires_in
@@ -1,4 +1,6 @@
1
- # -*- encoding: utf-8 -*-
1
+ #!/usr/bin/env gem build
2
+ # encoding: utf-8
3
+
2
4
  require File.expand_path("../../padrino-core/lib/padrino-core/version.rb", __FILE__)
3
5
 
4
6
  Gem::Specification.new do |s|
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: padrino-cache
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.29
5
+ version: 0.10.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Padrino Team
@@ -13,7 +13,8 @@ autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
15
 
16
- date: 2011-05-23 00:00:00 Z
16
+ date: 2011-07-07 00:00:00 -07:00
17
+ default_executable:
17
18
  dependencies:
18
19
  - !ruby/object:Gem::Dependency
19
20
  name: padrino-core
@@ -23,7 +24,7 @@ dependencies:
23
24
  requirements:
24
25
  - - "="
25
26
  - !ruby/object:Gem::Version
26
- version: 0.9.29
27
+ version: 0.10.0
27
28
  type: :runtime
28
29
  version_requirements: *id001
29
30
  description: Caching support for memcached, page and fragment
@@ -53,6 +54,7 @@ files:
53
54
  - test/helper.rb
54
55
  - test/test_padrino_cache.rb
55
56
  - test/test_stores.rb
57
+ has_rdoc: true
56
58
  homepage: http://www.padrinorb.com
57
59
  licenses: []
58
60
 
@@ -76,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
78
  requirements: []
77
79
 
78
80
  rubyforge_project: padrino-cache
79
- rubygems_version: 1.7.2
81
+ rubygems_version: 1.6.2
80
82
  signing_key:
81
83
  specification_version: 3
82
84
  summary: Page and fragment caching for Padrino