rails-cache_control 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +1 -0
- data/.travis.yml +2 -0
- data/LICENSE +1 -1
- data/README.md +9 -6
- data/Rakefile +3 -0
- data/lib/rails-cache_control/version.rb +1 -1
- data/rails-cache_control.gemspec +2 -7
- metadata +10 -10
- data/CHANGELOG.md +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c5da9b92dda478ef11bfab45a21e088effc66932ce283191f9dd0cad39aea356
|
4
|
+
data.tar.gz: 3a8bfe877e4fdf2611fe4fcbfffc56fc02639c705b6f786657f1b293e59b1aa1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a67cc8c51361955cbb9f4667a1d544e7a9949163dbe4f6e41b325fae249f2b32f241c0b9461e2cf43ab2e32165b4cd8753d8c0b0fbd5d466a6f463d4882825b
|
7
|
+
data.tar.gz: f9a4f15ed18b5f95d2d937667d135071b8ff5b4f1c4b43c016d68f63c2337eca22bee2b5b02eb30562c5a48e58036d93ec2a1e94d8a2aa4ad30fef2e7af67a91
|
data/.gitignore
CHANGED
data/.travis.yml
ADDED
data/LICENSE
CHANGED
@@ -2,7 +2,7 @@ LICENSE
|
|
2
2
|
|
3
3
|
The MIT License
|
4
4
|
|
5
|
-
Copyright (c) 2014 Jianqiu Xiao
|
5
|
+
Copyright (c) 2014 Jianqiu Xiao <swordray@gmail.com>
|
6
6
|
|
7
7
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
8
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
@@ -1,8 +1,11 @@
|
|
1
1
|
# rails-cache_control
|
2
2
|
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/rails-cache_control.png)](http://badge.fury.io/rb/rails-cache_control)
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/rails-cache_control.png)](http://badge.fury.io/rb/rails-cache_control)
|
4
|
+
[![Build Status](https://secure.travis-ci.org/swordray/rails-cache_control.png?branch=master)](http://travis-ci.org/swordray/rails-cache_control)
|
5
|
+
[![Dependency Status](https://gemnasium.com/swordray/rails-cache_control.png?travis)](https://gemnasium.com/swordray/rails-cache_control)
|
6
|
+
[![Code Climate](https://codeclimate.com/github/swordray/rails-cache_control.png)](https://codeclimate.com/github/swordray/rails-cache_control)
|
4
7
|
|
5
|
-
Automatically add HTTP Cache-control header when [caches_action
|
8
|
+
Automatically add HTTP Cache-control header when [caches_action](https://github.com/rails/actionpack-action_caching) :expires_in specified.
|
6
9
|
|
7
10
|
## Requirements
|
8
11
|
|
@@ -22,10 +25,10 @@ gem 'rails-cache_control'
|
|
22
25
|
|
23
26
|
Do nothing.
|
24
27
|
|
25
|
-
##
|
28
|
+
## Sponsors
|
26
29
|
|
27
|
-
|
30
|
+
* [BaiLu ShuYuan](https://bailushuyuan.org)
|
28
31
|
|
29
|
-
##
|
32
|
+
## License
|
30
33
|
|
31
|
-
|
34
|
+
Copyright © 2014 Jianqiu Xiao <swordray@gmail.com> under The [MIT License](http://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
data/rails-cache_control.gemspec
CHANGED
@@ -7,23 +7,18 @@ Gem::Specification.new do |s|
|
|
7
7
|
s.platform = Gem::Platform::RUBY
|
8
8
|
s.author = ["Jianqiu Xiao"]
|
9
9
|
s.email = ["swordray@gmail.com"]
|
10
|
-
s.homepage = "https://
|
10
|
+
s.homepage = "https://bailushuyuan.org"
|
11
11
|
s.summary = "Automatically add HTTP Cache-control header when caches_action expires_in specified."
|
12
|
-
s.description = "
|
12
|
+
s.description = "Significantly improve cached action reload speed."
|
13
13
|
s.license = "MIT"
|
14
14
|
|
15
|
-
# s.rubyforge_project = ""
|
16
|
-
|
17
15
|
s.files = `git ls-files`.split("\n")
|
18
16
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
17
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
18
|
s.require_paths = ["lib"]
|
21
19
|
|
22
|
-
# s.requirements << ""
|
23
20
|
s.required_ruby_version = "~> 2.0"
|
24
21
|
|
25
22
|
s.add_dependency 'rails', '~> 4.0'
|
26
23
|
s.add_dependency 'actionpack-action_caching', '~> 1.1'
|
27
|
-
|
28
|
-
# s.add_development_dependency('', '')
|
29
24
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-cache_control
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jianqiu Xiao
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -38,7 +38,7 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.1'
|
41
|
-
description:
|
41
|
+
description: Significantly improve cached action reload speed.
|
42
42
|
email:
|
43
43
|
- swordray@gmail.com
|
44
44
|
executables: []
|
@@ -46,19 +46,20 @@ extensions: []
|
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
48
|
- ".gitignore"
|
49
|
-
-
|
49
|
+
- ".travis.yml"
|
50
50
|
- Gemfile
|
51
51
|
- LICENSE
|
52
52
|
- README.md
|
53
|
+
- Rakefile
|
53
54
|
- lib/rails-cache_control.rb
|
54
55
|
- lib/rails-cache_control/action_controller/caching/actions.rb
|
55
56
|
- lib/rails-cache_control/version.rb
|
56
57
|
- rails-cache_control.gemspec
|
57
|
-
homepage: https://
|
58
|
+
homepage: https://bailushuyuan.org
|
58
59
|
licenses:
|
59
60
|
- MIT
|
60
61
|
metadata: {}
|
61
|
-
post_install_message:
|
62
|
+
post_install_message:
|
62
63
|
rdoc_options: []
|
63
64
|
require_paths:
|
64
65
|
- lib
|
@@ -73,9 +74,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
74
|
- !ruby/object:Gem::Version
|
74
75
|
version: '0'
|
75
76
|
requirements: []
|
76
|
-
|
77
|
-
|
78
|
-
signing_key:
|
77
|
+
rubygems_version: 3.3.3
|
78
|
+
signing_key:
|
79
79
|
specification_version: 4
|
80
80
|
summary: Automatically add HTTP Cache-control header when caches_action expires_in
|
81
81
|
specified.
|
data/CHANGELOG.md
DELETED
File without changes
|