-
-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #696 from freerange/update-gemspec-description
Improve gemspec description
- Loading branch information
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|