Sha256: 1dd548ff5ea3c496424e06cfe61f1bae48a5d6574798ae9db6fbdcaf06556335

Contents?: true

Size: 1.26 KB

Versions: 6

Compression:

Stored size: 1.26 KB

Contents

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
    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(docs|test)/}) }
  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.metadata = {
    'bug_tracker_uri' => 'https://github.com/freerange/mocha/issues',
    'changelog_uri' => 'https://github.com/freerange/mocha/blob/main/RELEASE.md',
    'documentation_uri' => 'https://mocha.jamesmead.org/',
    'funding_uri' => 'https://github.com/sponsors/floehopper',
    'homepage_uri' => s.homepage,
    'source_code_uri' => 'https://github.com/freerange/mocha'
  }

  s.add_runtime_dependency 'ruby2_keywords', '>= 0.0.5'
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
tailscale_middleware-0.0.3 vendor/cache/ruby/3.4.0/gems/mocha-2.7.1/mocha.gemspec
mocha-2.7.1 mocha.gemspec
mocha-2.7.0 mocha.gemspec
mocha-2.6.1 mocha.gemspec
mocha-2.6.0 mocha.gemspec
mocha-2.5.0 mocha.gemspec