forked from sconover/wrong
-
Notifications
You must be signed in to change notification settings - Fork 1
/
wrong.gemspec
32 lines (27 loc) · 1.32 KB
/
wrong.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
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/wrong/version.rb', __FILE__)
Gem::Specification.new do |s|
s.name = "wrong"
s.version = Wrong::VERSION
s.authors = ["Steve Conover", "Alex Chaffee"]
s.email = "sconover@gmail.com"
s.homepage = "http://github.com/sconover/wrong"
s.summary = "Wrong provides a general assert method that takes a predicate block. Assertion failure messages are rich in detail."
s.description = <<-EOS.strip
Wrong provides a general assert method that takes a predicate block. Assertion failure
messages are rich in detail. The Wrong idea is to replace all those countless assert_this,
assert_that library methods which only exist to give a more useful failure message than
"assertion failed". Wrong replaces all of them in one fell swoop, since if you can write it
in Ruby, Wrong can make a sensible failure message out of it. Also provided are several
helper methods, like rescuing, capturing, and d.
EOS
s.rubyforge_project = "wrong"
s.files = Dir['lib/**/*']
s.test_files = Dir['test/**/*.rb']
s.extra_rdoc_files = %w[README.markdown]
s.add_dependency "predicated", "~> 0.2.6"
s.add_dependency "ruby_parser", ">= 3.0.1"
s.add_dependency "ruby2ruby", ">= 2.0.1"
s.add_dependency "sexp_processor", ">= 4.0"
s.add_dependency "diff-lcs", "~> 1.2.5"
end