actionpack-action_caching 1.2.0 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/ci.yml +77 -0
- data/CHANGELOG.md +19 -1
- data/README.md +34 -29
- data/actionpack-action_caching.gemspec +10 -3
- data/gemfiles/Gemfile-5-1-stable +5 -0
- data/gemfiles/Gemfile-5-2-stable +5 -0
- data/gemfiles/Gemfile-6-0-stable +5 -0
- data/gemfiles/Gemfile-6-1-stable +5 -0
- data/gemfiles/Gemfile-edge +2 -2
- data/lib/action_controller/action_caching.rb +2 -0
- data/lib/action_controller/caching/actions.rb +4 -4
- data/test/caching_test.rb +45 -21
- metadata +16 -23
- data/.travis.yml +0 -64
- data/gemfiles/Gemfile-4-0-stable +0 -6
- data/gemfiles/Gemfile-4-1-stable +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d5a35e289d60b7b914b0b671d816c17e0abcdf42a97e6b8be14a255e230858c8
|
4
|
+
data.tar.gz: 4fe16b31cfac741be48dedc405659ef387b18c0f2199817f4b8b0987da5e1e5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ac9a52dd25c03562d88acd255c1c1ae69d21753da1498858c1ef6d56c0937ed206a73238bd86cac92fe8b88afdddf991a35450a60a7402246e131af625287ba
|
7
|
+
data.tar.gz: e11f0ccd152d9ff6e9a0f3411e3099f5dde36b9bf7cbad4bf2711e9801e673d2d21f532a816054b53722a716526752d0f1c42b4c90eddb139b1fddad7967a5df
|
@@ -0,0 +1,77 @@
|
|
1
|
+
name: CI
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- 'master'
|
7
|
+
pull_request:
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
build:
|
11
|
+
strategy:
|
12
|
+
matrix:
|
13
|
+
gemfile:
|
14
|
+
- '4-2-stable'
|
15
|
+
- '5-0-stable'
|
16
|
+
- '5-1-stable'
|
17
|
+
- '5-2-stable'
|
18
|
+
- '6-0-stable'
|
19
|
+
- '6-1-stable'
|
20
|
+
- 'edge'
|
21
|
+
ruby:
|
22
|
+
- '2.4'
|
23
|
+
- '2.5'
|
24
|
+
- '2.6'
|
25
|
+
- '2.7'
|
26
|
+
- '3.0'
|
27
|
+
exclude:
|
28
|
+
- gemfile: '4-2-stable'
|
29
|
+
ruby: '2.5'
|
30
|
+
- gemfile: '4-2-stable'
|
31
|
+
ruby: '2.6'
|
32
|
+
- gemfile: '4-2-stable'
|
33
|
+
ruby: '2.7'
|
34
|
+
- gemfile: '4-2-stable'
|
35
|
+
ruby: '3.0'
|
36
|
+
- gemfile: '5-0-stable'
|
37
|
+
ruby: '2.7'
|
38
|
+
- gemfile: '5-0-stable'
|
39
|
+
ruby: '3.0'
|
40
|
+
- gemfile: '5-1-stable'
|
41
|
+
ruby: '2.7'
|
42
|
+
- gemfile: '5-1-stable'
|
43
|
+
ruby: '3.0'
|
44
|
+
- gemfile: '5-2-stable'
|
45
|
+
ruby: '2.7'
|
46
|
+
- gemfile: '5-2-stable'
|
47
|
+
ruby: '3.0'
|
48
|
+
- gemfile: '6-0-stable'
|
49
|
+
ruby: '2.4'
|
50
|
+
- gemfile: '6-1-stable'
|
51
|
+
ruby: '2.4'
|
52
|
+
- gemfile: 'edge'
|
53
|
+
ruby: '2.4'
|
54
|
+
- gemfile: 'edge'
|
55
|
+
ruby: '2.5'
|
56
|
+
- gemfile: 'edge'
|
57
|
+
ruby: '2.6'
|
58
|
+
fail-fast: false
|
59
|
+
|
60
|
+
runs-on: ubuntu-latest
|
61
|
+
name: ${{ matrix.ruby }} rails-${{ matrix.gemfile }}
|
62
|
+
|
63
|
+
steps:
|
64
|
+
- uses: actions/checkout@v2
|
65
|
+
|
66
|
+
- uses: ruby/setup-ruby@v1
|
67
|
+
with:
|
68
|
+
ruby-version: ${{ matrix.ruby }}
|
69
|
+
bundler-cache: true
|
70
|
+
bundler: ${{ fromJSON('["2", "1"]')[matrix.ruby == '2.4'] }}
|
71
|
+
|
72
|
+
- run: bundle exec rake test
|
73
|
+
|
74
|
+
env:
|
75
|
+
BUNDLE_GEMFILE: gemfiles/Gemfile-${{ matrix.gemfile }}
|
76
|
+
BUNDLE_JOBS: 4
|
77
|
+
BUNDLE_RETRY: 3
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,22 @@
|
|
1
|
-
## 1.2.
|
1
|
+
## 1.2.2 (May 10, 2021)
|
2
|
+
|
3
|
+
* Add support for Rails 6.1
|
4
|
+
|
5
|
+
*Jonathan Fleckenstein*, *Prem Sichanugrist*
|
6
|
+
|
7
|
+
|
8
|
+
## 1.2.1 (November 12, 2019)
|
9
|
+
|
10
|
+
* Fix HTML escaping when `:layout` is `false`.
|
11
|
+
|
12
|
+
*Anton Katunin*
|
13
|
+
|
14
|
+
* Add support to Rails 6.
|
15
|
+
|
16
|
+
*Jacob Bednarz*
|
17
|
+
|
18
|
+
|
19
|
+
## 1.2.0 (January 23, 2017)
|
2
20
|
|
3
21
|
* Support proc options with zero arguments
|
4
22
|
|
data/README.md
CHANGED
@@ -8,7 +8,9 @@ Installation
|
|
8
8
|
|
9
9
|
Add this line to your application's Gemfile:
|
10
10
|
|
11
|
-
|
11
|
+
```ruby
|
12
|
+
gem 'actionpack-action_caching'
|
13
|
+
```
|
12
14
|
|
13
15
|
And then execute:
|
14
16
|
|
@@ -28,12 +30,14 @@ that filters run before the cache is served, which allows for
|
|
28
30
|
authentication and other restrictions on whether someone is allowed
|
29
31
|
to execute such action.
|
30
32
|
|
31
|
-
|
32
|
-
|
33
|
+
```ruby
|
34
|
+
class ListsController < ApplicationController
|
35
|
+
before_action :authenticate, except: :public
|
33
36
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
+
caches_page :public
|
38
|
+
caches_action :index, :show
|
39
|
+
end
|
40
|
+
```
|
37
41
|
|
38
42
|
In this example, the `public` action doesn't require authentication
|
39
43
|
so it's possible to use the faster page caching. On the other hand
|
@@ -72,36 +76,38 @@ interval (in seconds) to schedule expiration of the cached item.
|
|
72
76
|
|
73
77
|
The following example depicts some of the points made above:
|
74
78
|
|
75
|
-
|
76
|
-
|
79
|
+
```ruby
|
80
|
+
class ListsController < ApplicationController
|
81
|
+
before_action :authenticate, except: :public
|
77
82
|
|
78
|
-
|
79
|
-
|
83
|
+
# simple fragment cache
|
84
|
+
caches_action :current
|
80
85
|
|
81
|
-
|
82
|
-
|
86
|
+
# expire cache after an hour
|
87
|
+
caches_action :archived, expires_in: 1.hour
|
83
88
|
|
84
|
-
|
85
|
-
|
89
|
+
# cache unless it's a JSON request
|
90
|
+
caches_action :index, unless: -> { request.format.json? }
|
86
91
|
|
87
|
-
|
88
|
-
|
92
|
+
# custom cache path
|
93
|
+
caches_action :show, cache_path: { project: 1 }
|
89
94
|
|
90
|
-
|
91
|
-
|
95
|
+
# custom cache path with a proc
|
96
|
+
caches_action :history, cache_path: -> { request.domain }
|
92
97
|
|
93
|
-
|
94
|
-
|
98
|
+
# custom cache path with a symbol
|
99
|
+
caches_action :feed, cache_path: :user_cache_path
|
95
100
|
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
end
|
101
|
+
protected
|
102
|
+
def user_cache_path
|
103
|
+
if params[:user_id]
|
104
|
+
user_list_url(params[:user_id], params[:id])
|
105
|
+
else
|
106
|
+
list_url(params[:id])
|
107
|
+
end
|
104
108
|
end
|
109
|
+
end
|
110
|
+
```
|
105
111
|
|
106
112
|
If you pass `layout: false`, it will only cache your action
|
107
113
|
content. That's useful when your layout has dynamic information.
|
@@ -126,4 +132,3 @@ Code Status
|
|
126
132
|
-----------
|
127
133
|
|
128
134
|
* [![Build Status](https://travis-ci.org/rails/actionpack-action_caching.svg?branch=master)](https://travis-ci.org/rails/actionpack-action_caching)
|
129
|
-
* [![Dependency Status](https://gemnasium.com/rails/actionpack-action_caching.svg)](https://gemnasium.com/rails/actionpack-action_caching)
|
@@ -1,12 +1,19 @@
|
|
1
1
|
Gem::Specification.new do |gem|
|
2
2
|
gem.name = "actionpack-action_caching"
|
3
|
-
gem.version = "1.2.
|
3
|
+
gem.version = "1.2.2"
|
4
4
|
gem.author = "David Heinemeier Hansson"
|
5
5
|
gem.email = "david@loudthinking.com"
|
6
6
|
gem.description = "Action caching for Action Pack (removed from core in Rails 4.0)"
|
7
7
|
gem.summary = "Action caching for Action Pack (removed from core in Rails 4.0)"
|
8
8
|
gem.homepage = "https://github.com/rails/actionpack-action_caching"
|
9
9
|
|
10
|
+
gem.metadata = {
|
11
|
+
"bug_tracker_uri" => "https://github.com/rails/actionpack-action_caching/issues",
|
12
|
+
"changelog_uri" => "https://github.com/rails/actionpack-action_caching/blob/v#{gem.version}/CHANGELOG.md",
|
13
|
+
"documentation_uri" => "https://www.rubydoc.info/gems/actionpack-action_caching/#{gem.version}",
|
14
|
+
"source_code_uri" => "https://github.com/rails/actionpack-action_caching/tree/v#{gem.version}",
|
15
|
+
}
|
16
|
+
|
10
17
|
gem.required_ruby_version = ">= 1.9.3"
|
11
18
|
gem.files = `git ls-files`.split($/)
|
12
19
|
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
|
@@ -14,8 +21,8 @@ Gem::Specification.new do |gem|
|
|
14
21
|
gem.require_paths = ["lib"]
|
15
22
|
gem.license = "MIT"
|
16
23
|
|
17
|
-
gem.add_dependency "actionpack", ">= 4.0.0"
|
24
|
+
gem.add_dependency "actionpack", ">= 4.0.0"
|
18
25
|
|
19
26
|
gem.add_development_dependency "mocha"
|
20
|
-
gem.add_development_dependency "activerecord", ">= 4.0.0"
|
27
|
+
gem.add_development_dependency "activerecord", ">= 4.0.0"
|
21
28
|
end
|
data/gemfiles/Gemfile-edge
CHANGED
@@ -2,5 +2,5 @@ source "https://rubygems.org"
|
|
2
2
|
|
3
3
|
gemspec path: ".."
|
4
4
|
|
5
|
-
gem "rails", github: "rails/rails", branch: "
|
6
|
-
gem "
|
5
|
+
gem "rails", github: "rails/rails", branch: "main"
|
6
|
+
gem "activerecord", github: "rails/rails", branch: "main"
|
@@ -177,7 +177,7 @@ module ActionController
|
|
177
177
|
end
|
178
178
|
else
|
179
179
|
def render_to_string(controller, body)
|
180
|
-
controller.render_to_string(html: body, layout: true)
|
180
|
+
controller.render_to_string(html: body.html_safe, layout: true)
|
181
181
|
end
|
182
182
|
end
|
183
183
|
|
@@ -228,10 +228,10 @@ module ActionController
|
|
228
228
|
|
229
229
|
private
|
230
230
|
def normalize!(path)
|
231
|
-
ext = URI.
|
231
|
+
ext = URI::DEFAULT_PARSER.escape(extension.to_s) if extension
|
232
232
|
path << "index" if path[-1] == ?/
|
233
|
-
path << ".#{ext}" if extension && !path.split("?", 2).first.
|
234
|
-
URI.
|
233
|
+
path << ".#{ext}" if extension && !path.split("?", 2).first.end_with?(".#{ext}")
|
234
|
+
URI::DEFAULT_PARSER.unescape(path)
|
235
235
|
end
|
236
236
|
end
|
237
237
|
end
|
data/test/caching_test.rb
CHANGED
@@ -52,7 +52,7 @@ class ActionCachingTestController < CachingController
|
|
52
52
|
layout "talk_from_action"
|
53
53
|
|
54
54
|
def index
|
55
|
-
@cache_this =
|
55
|
+
@cache_this = CacheContent.to_s
|
56
56
|
render plain: @cache_this
|
57
57
|
end
|
58
58
|
|
@@ -66,17 +66,17 @@ class ActionCachingTestController < CachingController
|
|
66
66
|
end
|
67
67
|
|
68
68
|
def with_layout
|
69
|
-
@cache_this =
|
69
|
+
@cache_this = CacheContent.to_s
|
70
70
|
render html: @cache_this, layout: true
|
71
71
|
end
|
72
72
|
|
73
73
|
def with_format_and_http_param
|
74
|
-
@cache_this =
|
74
|
+
@cache_this = CacheContent.to_s
|
75
75
|
render plain: @cache_this
|
76
76
|
end
|
77
77
|
|
78
78
|
def with_symbol_format
|
79
|
-
@cache_this =
|
79
|
+
@cache_this = CacheContent.to_s
|
80
80
|
render json: { timestamp: @cache_this }
|
81
81
|
end
|
82
82
|
|
@@ -126,7 +126,7 @@ class ActionCachingTestController < CachingController
|
|
126
126
|
end
|
127
127
|
|
128
128
|
def invalid
|
129
|
-
@cache_this =
|
129
|
+
@cache_this = CacheContent.to_s
|
130
130
|
|
131
131
|
respond_to do |format|
|
132
132
|
format.json { render json: @cache_this }
|
@@ -134,7 +134,7 @@ class ActionCachingTestController < CachingController
|
|
134
134
|
end
|
135
135
|
|
136
136
|
def accept
|
137
|
-
@cache_this =
|
137
|
+
@cache_this = CacheContent.to_s
|
138
138
|
|
139
139
|
respond_to do |format|
|
140
140
|
format.html { render html: @cache_this }
|
@@ -174,10 +174,11 @@ class ActionCachingTestController < CachingController
|
|
174
174
|
end
|
175
175
|
end
|
176
176
|
|
177
|
-
class
|
178
|
-
|
179
|
-
|
180
|
-
|
177
|
+
class CacheContent
|
178
|
+
def self.to_s
|
179
|
+
# Let Time spicy to assure that Time.now != Time.now
|
180
|
+
time = Time.now.to_f + rand
|
181
|
+
(time.to_s + "<div />").html_safe
|
181
182
|
end
|
182
183
|
end
|
183
184
|
|
@@ -391,7 +392,7 @@ class ActionCacheTest < ActionController::TestCase
|
|
391
392
|
get "/action_caching_test", to: "action_caching_test#index"
|
392
393
|
end
|
393
394
|
|
394
|
-
|
395
|
+
CacheContent.expects(:to_s).returns('12345.0').once
|
395
396
|
@controller.expects(:read_fragment).with("hostname.com/action_caching_test", expires_in: 1.hour).once
|
396
397
|
@controller.expects(:write_fragment).with("hostname.com/action_caching_test", "12345.0", expires_in: 1.hour).once
|
397
398
|
get :index
|
@@ -582,9 +583,7 @@ class ActionCacheTest < ActionController::TestCase
|
|
582
583
|
assert fragment_exist?("hostname.com/action_caching_test/index.xml")
|
583
584
|
|
584
585
|
get :index, format: "xml"
|
585
|
-
|
586
|
-
assert_equal cached_time, @response.body
|
587
|
-
assert_equal "application/xml", @response.content_type
|
586
|
+
assert_cached(cached_time, "application/xml")
|
588
587
|
|
589
588
|
get :expire_xml
|
590
589
|
assert_response :success
|
@@ -603,7 +602,12 @@ class ActionCacheTest < ActionController::TestCase
|
|
603
602
|
get :index, params: { id: "content-type" }, format: "xml"
|
604
603
|
get :index, params: { id: "content-type" }, format: "xml"
|
605
604
|
assert_response :success
|
606
|
-
|
605
|
+
|
606
|
+
if @response.respond_to?(:media_type)
|
607
|
+
assert_equal "application/xml", @response.media_type
|
608
|
+
else
|
609
|
+
assert_equal "application/xml", @response.content_type
|
610
|
+
end
|
607
611
|
end
|
608
612
|
|
609
613
|
def test_correct_content_type_is_returned_for_cache_hit_on_action_with_string_key
|
@@ -615,7 +619,12 @@ class ActionCacheTest < ActionController::TestCase
|
|
615
619
|
get :show, format: "xml"
|
616
620
|
get :show, format: "xml"
|
617
621
|
assert_response :success
|
618
|
-
|
622
|
+
|
623
|
+
if @response.respond_to?(:media_type)
|
624
|
+
assert_equal "application/xml", @response.media_type
|
625
|
+
else
|
626
|
+
assert_equal "application/xml", @response.content_type
|
627
|
+
end
|
619
628
|
end
|
620
629
|
|
621
630
|
def test_correct_content_type_is_returned_for_cache_hit_on_action_with_string_key_from_proc
|
@@ -627,7 +636,12 @@ class ActionCacheTest < ActionController::TestCase
|
|
627
636
|
get :edit, params: { id: 1 }, format: "xml"
|
628
637
|
get :edit, params: { id: 1 }, format: "xml"
|
629
638
|
assert_response :success
|
630
|
-
|
639
|
+
|
640
|
+
if @response.respond_to?(:media_type)
|
641
|
+
assert_equal "application/xml", @response.media_type
|
642
|
+
else
|
643
|
+
assert_equal "application/xml", @response.content_type
|
644
|
+
end
|
631
645
|
end
|
632
646
|
|
633
647
|
def test_empty_path_is_normalized
|
@@ -850,16 +864,26 @@ class ActionCacheTest < ActionController::TestCase
|
|
850
864
|
get(*args)
|
851
865
|
end
|
852
866
|
|
853
|
-
def assert_cached(cache_time,
|
867
|
+
def assert_cached(cache_time, media_type = "text/html")
|
854
868
|
assert_response :success
|
855
869
|
assert_equal cache_time, @response.body
|
856
|
-
|
870
|
+
|
871
|
+
if @response.respond_to?(:media_type)
|
872
|
+
assert_equal media_type, @response.media_type
|
873
|
+
else
|
874
|
+
assert_equal media_type, @response.content_type
|
875
|
+
end
|
857
876
|
end
|
858
877
|
|
859
|
-
def assert_not_cached(cache_time,
|
878
|
+
def assert_not_cached(cache_time, media_type = "text/html")
|
860
879
|
assert_response :success
|
861
880
|
assert_not_equal cache_time, @response.body
|
862
|
-
|
881
|
+
|
882
|
+
if @response.respond_to?(:media_type)
|
883
|
+
assert_equal media_type, @response.media_type
|
884
|
+
else
|
885
|
+
assert_equal media_type, @response.content_type
|
886
|
+
end
|
863
887
|
end
|
864
888
|
|
865
889
|
def content_to_cache
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: actionpack-action_caching
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -17,9 +17,6 @@ dependencies:
|
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 4.0.0
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '6'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,9 +24,6 @@ dependencies:
|
|
27
24
|
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 4.0.0
|
30
|
-
- - "<"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '6'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: mocha
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -51,9 +45,6 @@ dependencies:
|
|
51
45
|
- - ">="
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: 4.0.0
|
54
|
-
- - "<"
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version: '6'
|
57
48
|
type: :development
|
58
49
|
prerelease: false
|
59
50
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -61,9 +52,6 @@ dependencies:
|
|
61
52
|
- - ">="
|
62
53
|
- !ruby/object:Gem::Version
|
63
54
|
version: 4.0.0
|
64
|
-
- - "<"
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: '6'
|
67
55
|
description: Action caching for Action Pack (removed from core in Rails 4.0)
|
68
56
|
email: david@loudthinking.com
|
69
57
|
executables: []
|
@@ -71,19 +59,21 @@ extensions: []
|
|
71
59
|
extra_rdoc_files: []
|
72
60
|
files:
|
73
61
|
- ".codeclimate.yml"
|
62
|
+
- ".github/workflows/ci.yml"
|
74
63
|
- ".gitignore"
|
75
64
|
- ".rubocop.yml"
|
76
|
-
- ".travis.yml"
|
77
65
|
- CHANGELOG.md
|
78
66
|
- Gemfile
|
79
67
|
- LICENSE.txt
|
80
68
|
- README.md
|
81
69
|
- Rakefile
|
82
70
|
- actionpack-action_caching.gemspec
|
83
|
-
- gemfiles/Gemfile-4-0-stable
|
84
|
-
- gemfiles/Gemfile-4-1-stable
|
85
71
|
- gemfiles/Gemfile-4-2-stable
|
86
72
|
- gemfiles/Gemfile-5-0-stable
|
73
|
+
- gemfiles/Gemfile-5-1-stable
|
74
|
+
- gemfiles/Gemfile-5-2-stable
|
75
|
+
- gemfiles/Gemfile-6-0-stable
|
76
|
+
- gemfiles/Gemfile-6-1-stable
|
87
77
|
- gemfiles/Gemfile-edge
|
88
78
|
- lib/action_controller/action_caching.rb
|
89
79
|
- lib/action_controller/caching/actions.rb
|
@@ -95,8 +85,12 @@ files:
|
|
95
85
|
homepage: https://github.com/rails/actionpack-action_caching
|
96
86
|
licenses:
|
97
87
|
- MIT
|
98
|
-
metadata:
|
99
|
-
|
88
|
+
metadata:
|
89
|
+
bug_tracker_uri: https://github.com/rails/actionpack-action_caching/issues
|
90
|
+
changelog_uri: https://github.com/rails/actionpack-action_caching/blob/v1.2.2/CHANGELOG.md
|
91
|
+
documentation_uri: https://www.rubydoc.info/gems/actionpack-action_caching/1.2.2
|
92
|
+
source_code_uri: https://github.com/rails/actionpack-action_caching/tree/v1.2.2
|
93
|
+
post_install_message:
|
100
94
|
rdoc_options: []
|
101
95
|
require_paths:
|
102
96
|
- lib
|
@@ -111,9 +105,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
111
105
|
- !ruby/object:Gem::Version
|
112
106
|
version: '0'
|
113
107
|
requirements: []
|
114
|
-
|
115
|
-
|
116
|
-
signing_key:
|
108
|
+
rubygems_version: 3.2.15
|
109
|
+
signing_key:
|
117
110
|
specification_version: 4
|
118
111
|
summary: Action caching for Action Pack (removed from core in Rails 4.0)
|
119
112
|
test_files:
|
data/.travis.yml
DELETED
@@ -1,64 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
sudo: false
|
3
|
-
|
4
|
-
cache:
|
5
|
-
bundler: true
|
6
|
-
|
7
|
-
before_install:
|
8
|
-
- gem install bundler
|
9
|
-
|
10
|
-
rvm:
|
11
|
-
- 1.9.3
|
12
|
-
- 2.0.0
|
13
|
-
- 2.1.9
|
14
|
-
- 2.2.6
|
15
|
-
- 2.3.3
|
16
|
-
- 2.4.0
|
17
|
-
|
18
|
-
gemfile:
|
19
|
-
- Gemfile
|
20
|
-
- gemfiles/Gemfile-4-0-stable
|
21
|
-
- gemfiles/Gemfile-4-1-stable
|
22
|
-
- gemfiles/Gemfile-4-2-stable
|
23
|
-
- gemfiles/Gemfile-5-0-stable
|
24
|
-
- gemfiles/Gemfile-edge
|
25
|
-
|
26
|
-
matrix:
|
27
|
-
allow_failures:
|
28
|
-
- gemfile: gemfiles/Gemfile-edge
|
29
|
-
exclude:
|
30
|
-
- rvm: 1.9.3
|
31
|
-
gemfile: Gemfile
|
32
|
-
- rvm: 2.0.0
|
33
|
-
gemfile: Gemfile
|
34
|
-
- rvm: 2.1.9
|
35
|
-
gemfile: Gemfile
|
36
|
-
- rvm: 1.9.3
|
37
|
-
gemfile: gemfiles/Gemfile-5-0-stable
|
38
|
-
- rvm: 2.0.0
|
39
|
-
gemfile: gemfiles/Gemfile-5-0-stable
|
40
|
-
- rvm: 2.1.9
|
41
|
-
gemfile: gemfiles/Gemfile-5-0-stable
|
42
|
-
- rvm: 1.9.3
|
43
|
-
gemfile: gemfiles/Gemfile-edge
|
44
|
-
- rvm: 2.0.0
|
45
|
-
gemfile: gemfiles/Gemfile-edge
|
46
|
-
- rvm: 2.1.9
|
47
|
-
gemfile: gemfiles/Gemfile-edge
|
48
|
-
- rvm: 2.4.0
|
49
|
-
gemfile: gemfiles/Gemfile-4-0-stable
|
50
|
-
- rvm: 2.4.0
|
51
|
-
gemfile: gemfiles/Gemfile-4-1-stable
|
52
|
-
|
53
|
-
notifications:
|
54
|
-
email: false
|
55
|
-
irc:
|
56
|
-
on_success: change
|
57
|
-
on_failure: always
|
58
|
-
channels:
|
59
|
-
- "irc.freenode.org#rails-contrib"
|
60
|
-
campfire:
|
61
|
-
on_success: change
|
62
|
-
on_failure: always
|
63
|
-
rooms:
|
64
|
-
- secure: "WikBuknvGGTx/fNGc4qE+8WK+Glt+H+yZKhHXmavRV2zrN3hC0pTPwuGZhNs\nvkc6N9WKud7un2DtWu1v77BgFhIYjfJTRkmoZ8hoNsoHpe93W/a3s8LU30/l\nzDCKoTrqlHT5hJTmEKpNVqkhfFBPiXRFMgFWALUHiA8Q4Z9BUIc="
|
data/gemfiles/Gemfile-4-0-stable
DELETED