1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
lib = File.expand_path('../lib/', __FILE__)
$LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib)
require 'mocha/version'
Gem::Specification.new do |s|
s.name = 'mocha'
s.version = Mocha::VERSION
s.licenses = ['MIT', 'BSD-2-Clause']
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.email = 'mocha-developer@googlegroups.com'
s.files = Dir.chdir(File.expand_path('..', __FILE__)) do
Dir.glob('**/*')
end
s.files.delete('.circleci/config.yml')
s.files.delete('.gitignore')
s.homepage = 'https://mocha.jamesmead.org'
s.require_paths = ['lib']
s.summary = 'Mocking and stubbing library'
s.add_runtime_dependency 'ruby2_keywords', '>= 0.0.5'
end
|