Skip to content

Commit

Permalink
Merge pull request #696 from freerange/update-gemspec-description
Browse files Browse the repository at this point in the history
Improve gemspec description
  • Loading branch information
floehopper authored Dec 24, 2024
2 parents 4428776 + cc9221e commit 1fcdb2f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion mocha.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,19 @@ lib = File.expand_path('../lib/', __FILE__)
$LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib)
require 'mocha/version'

DESCRIPTION =
'A 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.'.freeze

Gem::Specification.new do |s|
s.name = 'mocha'
s.version = Mocha::VERSION
s.licenses = ['MIT', 'BSD-2-Clause']
s.required_ruby_version = '>= 2.2'

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 = DESCRIPTION
s.email = '[email protected]'

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

0 comments on commit 1fcdb2f

Please sign in to comment.