-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactive_model-inherited_partials.gemspec
26 lines (21 loc) · 1.18 KB
/
active_model-inherited_partials.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
require_relative "lib/active_model/inherited_partials/version"
require_relative 'lib/active_model/inherited_partials/authors'
Gem::Specification.new do |spec|
spec.platform = Gem::Platform::RUBY
spec.name = "active_model-inherited_partials"
spec.version = ActiveModel::InheritedPartials::VERSION
spec.authors = ActiveModel::InheritedPartials::AUTHORS.filter_map &:name
spec.email = ActiveModel::InheritedPartials::AUTHORS.filter_map &:email
spec.homepage = "#{ActiveModel::InheritedPartials::AUTHORS.filter_map(&:github_url).first}/#{spec.name}"
spec.summary = "Inheritable partials for Rails"
spec.description = "A Rails Engine to let models inherit partials until overridden."
spec.license = "MIT"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["changelog_uri"] = "#{spec.metadata['source_code_uri']}/blob/v#{spec.version}/CHANGELOG.md"
spec.files = Dir.chdir(File.expand_path(__dir__)) do
Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md", 'CHANGELOG.md']
end
spec.required_ruby_version = '>= 3.2'
spec.add_dependency 'rails', '~> 7.1'
end