Sha256: 03224a359c10e1227c610e5d82c9b3e8eaff105fc72a7d1e321e0881fa32ad06

Contents?: true

Size: 1.25 KB

Versions: 2

Compression:

Stored size: 1.25 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 = '>= 1.9.3'
  gem.license       = 'MIT'
  gem.authors       = ["Ryan Ong"]
  gem.email         = ["ryanong@gmail.com"]
  gem.description   = %q{A simple modern mocking library that uses the spy pattern and checks method's existence and arity.}
  gem.summary       = %q{Spy is a mocking library that was made for the modern age. It supports only 1.9.3+. 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-nav')
  gem.add_development_dependency('minitest', '>= 4.5.0')
  gem.add_development_dependency('rspec-core')
  gem.add_development_dependency('rspec-expectations')
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spy-0.2.4 spy.gemspec
spy-0.2.3 spy.gemspec