Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

* [#400](https://github.com/ruby-grape/grape-entity/pull/400): Switch to danger-pr-comment for PR checks - [@numbata](https://github.com/numbata).
* [#397](https://github.com/ruby-grape/grape-entity/pull/397): Reduce gem size by excluding test files - [@yuri-zubov](https://github.com/yuri-zubov).
* [#401](https://github.com/ruby-grape/grape-entity/pull/401): Modernize gemspec: add metadata, use Dir glob, require MFA - [@numbata](https://github.com/numbata).
* Your contribution here.

#### Fixes
Expand Down
12 changes: 10 additions & 2 deletions grape-entity.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,26 @@ require 'grape_entity/version'
Gem::Specification.new do |s|
s.name = 'grape-entity'
s.version = GrapeEntity::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ['LeFnord', 'Michael Bleigh']
s.email = ['pscholz.le@gmail.com', 'michael@intridea.com']
s.homepage = 'https://github.com/ruby-grape/grape-entity'
s.summary = 'A simple facade for managing the relationship between your model and API.'
s.description = 'Extracted from Grape, A Ruby framework for rapid API development with great conventions.'
s.license = 'MIT'

s.metadata = {
'homepage_uri' => 'https://github.com/ruby-grape/grape-entity',
'bug_tracker_uri' => 'https://github.com/ruby-grape/grape-entity/issues',
'changelog_uri' => "https://github.com/ruby-grape/grape-entity/blob/v#{s.version}/CHANGELOG.md",
'documentation_uri' => "https://www.rubydoc.info/gems/grape-entity/#{s.version}",
'source_code_uri' => "https://github.com/ruby-grape/grape-entity/tree/v#{s.version}",
'rubygems_mfa_required' => 'true'
}

s.required_ruby_version = '>= 3.0'

s.add_dependency 'activesupport', '>= 3.0.0'

s.files = `git ls-files lib`.split("\n") + ['CHANGELOG.md', 'LICENSE', 'README.md']
s.files = Dir['lib/**/*.rb', 'CHANGELOG.md', 'LICENSE', 'README.md']
s.require_paths = ['lib']
end
Loading