-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresource_api.gemspec
33 lines (27 loc) · 1.31 KB
/
resource_api.gemspec
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
$:.push File.expand_path("lib", __dir__)
# Maintain your gem's version:
require "resource_api/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |spec|
spec.name = "resource_api"
spec.version = ResourceApi::VERSION
spec.authors = ["Performant Software"]
spec.email = ["[email protected]"]
spec.homepage = "https://github.com/performant-software/resource-api"
spec.summary = "A simple API framework for RESTFUL CRUD operations"
spec.description = "A set of classes to use as a framework for controllers, models, and serializers for building an API."
spec.license = "MIT"
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
if spec.respond_to?(:metadata)
spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
else
raise "RubyGems 2.0 or newer is required to protect against " \
"public gem pushes."
end
spec.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]
spec.add_dependency "rails", ">= 7.0", "< 8"
spec.add_dependency "pagy", "~> 5.10"
spec.add_dependency "pundit", "~> 2.3.1"
spec.add_development_dependency "sqlite3"
end