rails-cache_control 0.0.3 → 0.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 867f4ddad8c8a1a98e182dfd7a03b8d19927f10d
4
- data.tar.gz: f56201198122528dc57dacb3a69f0931b0ae1254
2
+ SHA256:
3
+ metadata.gz: c5da9b92dda478ef11bfab45a21e088effc66932ce283191f9dd0cad39aea356
4
+ data.tar.gz: 3a8bfe877e4fdf2611fe4fcbfffc56fc02639c705b6f786657f1b293e59b1aa1
5
5
  SHA512:
6
- metadata.gz: 9c5ccb49dd0566b958d0ec4b0ea5131fd027f4f867972378af081e892371fef4b0f411e3456ca111126bca7fbb8bb7da3ff7a90882d583583bc0fe259d3054f6
7
- data.tar.gz: b6b9d05cd4cf118da138e27dcb4936ffcd079fb1bd862e26df401161d4fb752da7171e82bba71485b3629ffa05f0a7006101c061491ae688d050ee82163014e3
6
+ metadata.gz: 0a67cc8c51361955cbb9f4667a1d544e7a9949163dbe4f6e41b325fae249f2b32f241c0b9461e2cf43ab2e32165b4cd8753d8c0b0fbd5d466a6f463d4882825b
7
+ data.tar.gz: f9a4f15ed18b5f95d2d937667d135071b8ff5b4f1c4b43c016d68f63c2337eca22bee2b5b02eb30562c5a48e58036d93ec2a1e94d8a2aa4ad30fef2e7af67a91
data/.gitignore CHANGED
@@ -2,5 +2,6 @@
2
2
  *.swp
3
3
  .rvmrc
4
4
  .bundle
5
+ Gemfile.lock
5
6
  tmp
6
7
  .DS_Store
data/.travis.yml ADDED
@@ -0,0 +1,2 @@
1
+ rvm:
2
+ - 2
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) [![Build Status](https://secure.travis-ci.org/swordray/rails-cache_control.png?branch=master)](http://travis-ci.org/swordray/rails-cache_control) [![Dependency Status](https://gemnasium.com/swordray/rails-cache_control.png?travis)](https://gemnasium.com/swordray/rails-cache_control) [![Code Climate](https://codeclimate.com/github/swordray/rails-cache_control.png)](https://codeclimate.com/github/swordray/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 expires_in](https://github.com/rails/actionpack-action_caching) specified.
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
- ## License
28
+ ## Sponsors
26
29
 
27
- Copyright © 2014 Jianqiu Xiao <swordray@gmail.com> under The [MIT License](http://opensource.org/licenses/MIT).
30
+ * [BaiLu ShuYuan](https://bailushuyuan.org)
28
31
 
29
- ## Thanks
32
+ ## License
30
33
 
31
- Special thanks to http://www.shuhai.org/ team.
34
+ Copyright © 2014 Jianqiu Xiao <swordray@gmail.com> under The [MIT License](http://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,3 @@
1
+ task :default do |t|
2
+ `gem build rails-cache_control.gemspec`
3
+ end
@@ -1,3 +1,3 @@
1
1
  module RailsCacheControl
2
- VERSION = '0.0.3'
2
+ VERSION = '0.1.0'
3
3
  end
@@ -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://github.com/swordray/rails-cache_control"
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 = "Thanks to ihaveu.com team."
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.3
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: 2014-02-26 00:00:00.000000000 Z
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: Thanks to ihaveu.com team.
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
- - CHANGELOG.md
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://github.com/swordray/rails-cache_control
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
- rubyforge_project:
77
- rubygems_version: 2.2.0
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