Sha256: 689abd1e9a623573e9e1a842118de410c219ee83a4844022c383997de2abfc2b

Contents?: true

Size: 1.35 KB

Versions: 2

Compression:

Stored size: 1.35 KB

Contents

# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'spy/version'

Gem::Specification.new do |gem|
  gem.name          = "spy"
  gem.version       = Spy::VERSION
  gem.required_ruby_version = '>= 2.7.0'
  gem.license       = 'MIT'
  gem.authors       = ["Ryan Ong"]
  gem.email         = ["ryanong@gmail.com"]
  gem.summary       = %q{A simple modern mocking library that uses the spy pattern and checks method's existence and arity.}
  gem.description   = %q{Spy is a mocking library that was made for the modern age. It supports only 2.1.0+. Spy by default will raise an error if you attempt to stub a method that doesn't exist or call the stubbed method with the wrong arity.}
  gem.homepage      = "https://github.com/ryanong/spy"

  gem.files         = `git ls-files`.split($/)
  gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
  gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
  gem.require_paths = ["lib"]
  gem.add_development_dependency('pry')
  gem.add_development_dependency('pry-byebug')
  gem.add_development_dependency('minitest', '>= 4.5.0')
  gem.add_development_dependency('minitest-reporters')
  gem.add_development_dependency('rspec-core')
  gem.add_development_dependency('rspec-expectations')
  gem.add_development_dependency('coveralls')
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spy-1.0.5 spy.gemspec
spy-1.0.4 spy.gemspec