-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrails-cache_control.gemspec
More file actions
24 lines (20 loc) · 988 Bytes
/
rails-cache_control.gemspec
File metadata and controls
24 lines (20 loc) · 988 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$LOAD_PATH.push File.expand_path("../lib", __FILE__)
require 'rails-cache_control/version'
Gem::Specification.new do |s|
s.name = "rails-cache_control"
s.version = RailsCacheControl::VERSION
s.platform = Gem::Platform::RUBY
s.author = ["Jianqiu Xiao"]
s.email = ["swordray@gmail.com"]
s.homepage = "https://bailushuyuan.org"
s.summary = "Automatically add HTTP Cache-control header when caches_action expires_in specified."
s.description = "Significantly improve cached action reload speed."
s.license = "MIT"
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.required_ruby_version = "~> 2.0"
s.add_dependency 'rails', '~> 4.0'
s.add_dependency 'actionpack-action_caching', '~> 1.1'
end