-
Notifications
You must be signed in to change notification settings - Fork 0
/
webtrap.gemspec
44 lines (37 loc) · 1.61 KB
/
webtrap.gemspec
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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 = ["[email protected]"]
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