-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsupport_table_cache.gemspec
More file actions
34 lines (28 loc) · 966 Bytes
/
support_table_cache.gemspec
File metadata and controls
34 lines (28 loc) · 966 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
25
26
27
28
29
30
31
32
33
34
Gem::Specification.new do |spec|
spec.name = "support_table_cache"
spec.version = File.read(File.expand_path("../VERSION", __FILE__)).strip
spec.authors = ["Brian Durand"]
spec.email = ["bbdurand@gmail.com"]
spec.summary = "Automatic ActiveRecord caching for small support tables."
spec.homepage = "https://github.com/bdurand/support_table_cache"
spec.license = "MIT"
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
ignore_files = %w[
.
AGENTS.md
Appraisals
Gemfile
Gemfile.lock
Rakefile
bin/
gemfiles/
spec/
]
spec.files = Dir.chdir(File.expand_path("..", __FILE__)) do
`git ls-files -z`.split("\x0").reject { |f| ignore_files.any? { |path| f.start_with?(path) } }
end
spec.require_paths = ["lib"]
spec.add_dependency "activerecord"
spec.add_development_dependency "bundler"
end