-
Notifications
You must be signed in to change notification settings - Fork 2
/
pretty_api.gemspec
27 lines (21 loc) · 985 Bytes
/
pretty_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
require_relative "lib/pretty_api/version"
Gem::Specification.new do |spec|
gemspec = File.basename(__FILE__)
spec.name = "pretty-api"
spec.version = PrettyApi::VERSION
spec.authors = ["James St-Pierre"]
spec.email = ["Jamesst20@gmail.com"]
spec.summary = "Pretty API for Rails"
spec.description = "Simplify the usage of accepts_nested_attributes_for in Rails applications."
spec.homepage = "https://github.com/jamesst20/pretty_api"
spec.license = "MIT"
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 3.0.0"
spec.files = `git ls-files`.split("\n").reject do |f|
(f == gemspec) || f.start_with?(*%w[bin/ test/ spec/ features/ .git appveyor Gemfile])
end
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/jamesst20/pretty_api"
spec.metadata["changelog_uri"] = "https://github.com/jamesst20/pretty_api/blob/master/CHANGELOG.md"
spec.add_dependency "rails", ">= 7.0", "< 9.0"
end