Skip to content

Commit

Permalink
Improve gemspec description
Browse files Browse the repository at this point in the history
This brings the gemspec description more into line with that in the
README. Note that the gemspec description is used on rubygems.org [1].

Closes #692.

[1]: https://rubygems.org/gems/mocha
  • Loading branch information
floehopper committed Dec 8, 2024
1 parent dc42922 commit d7a47c4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mocha.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ Gem::Specification.new do |s|
s.required_ruby_version = '>= 2.1'

s.authors = ['James Mead']
s.description = 'Mocking and stubbing library with JMock/SchMock syntax, which allows mocking and stubbing of methods on real (non-mock) classes.'
s.description = <<~EOS
A Ruby library for mocking and stubbing with a unified, simple and readable syntax
for both full & partial mocking. Built-in support for Minitest and Test::Unit.
Supported by many other test frameworks, e.g. RSpec.
EOS
s.email = '[email protected]'

s.files = Dir.chdir(File.expand_path('..', __FILE__)) do
Expand Down

0 comments on commit d7a47c4

Please sign in to comment.