Skip to content

Commit

Permalink
Remove docs and changelog from package, add URLs to metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
f440 committed Aug 2, 2024
1 parent 3cda71d commit a80f084
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion activerecord-multi-tenant.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,17 @@ Gem::Specification.new do |spec|
spec.files = IO.popen(%w[git ls-files -z], chdir: __dir__, err: IO::NULL) do |ls|
ls.readlines("\x0", chomp: true).reject do |f|
(f == gemspec) ||
f.start_with?(*%w[bin/ test/ spec/ features/ .git .github Appraisals appveyor Gemfile])
f.start_with?(*%w[bin/ docs/ test/ spec/ features/ .git .github Appraisals appveyor Gemfile CHANGELOG])
end
end
spec.require_paths = ['lib']
spec.homepage = 'https://github.com/citusdata/activerecord-multi-tenant'

spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = spec.homepage
spec.metadata['changelog_uri'] = "https://github.com/citusdata/activerecord-multi-tenant/blob/v#{spec.version}/CHANGELOG.md"
spec.metadata['documentation_uri'] = 'https://activerecord-multi-tenant.readthedocs.io'

spec.license = 'MIT'

spec.add_dependency 'rails', '>= 6'
Expand Down

0 comments on commit a80f084

Please sign in to comment.