Sha256: 4eb2f2c69c928549950bb47110bd3fe19a22c152b4f17c953bca9c2dc44a3a33

Contents?: true

Size: 1.61 KB

Versions: 1

Compression:

Stored size: 1.61 KB

Contents

lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "webtrap/version"

Gem::Specification.new do |spec|
  spec.name          = "webtrap"
  spec.version       = WebTrap::VERSION
  spec.authors       = ["Pedro Costa"]
  spec.email         = ["pedro@subvisual.co"]

  spec.summary       = %(Test your outgoing requests.)
  spec.description   = <<-DESC
    WebTrap allows you to write tests that assert on outgoing requests. This
    allows you to verify that such requests match the documentation of external
    services without actually having to hit them.
  DESC
  spec.homepage      = "https://github.com/pfac/webtrap"
  spec.license       = "MIT"

  raise <<-ERROR unless spec.respond_to?(:metadata)
    RubyGems 2.0 or newer is required to protect against public gem pushes.
  ERROR

  spec.metadata["allowed_push_host"] = "https://rubygems.org"

  spec.files         = `git ls-files -z`.split("\x0").reject do |f|
    f.match(%r{^(test|spec|features)/})
  end
  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]
  spec.required_ruby_version = ">= 2.2.0"

  spec.add_dependency "equivalent-xml", "~> 0.6.0"
  spec.add_dependency "rack", "~> 2.0"
  spec.add_dependency "rspec", "~> 3.0"
  spec.add_dependency "webmock", "~> 3.0"

  spec.add_development_dependency "bundler", "~> 1.14"
  spec.add_development_dependency "cucumber", "~> 3.0"
  spec.add_development_dependency "pry-remote", "~> 0.1.8"
  spec.add_development_dependency "rake", "~> 12.0"
  spec.add_development_dependency "rubocop", "~> 0.52.0"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
webtrap-0.1.1 webtrap.gemspec