Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (31 sloc) 1.592 kb
# -*- 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.3"
s.add_dependency "ruby_parser", "~> 2.0.4"
s.add_dependency "ruby2ruby", "~> 1.2"
s.add_dependency "sexp_processor", "~> 3.0"
s.add_dependency "diff-lcs", "~> 1.1.2"
# we'd like these to be optional, but RubyGems doesn't allow that
s.add_dependency "ParseTree", "~> 3.0"
s.add_dependency "sourcify", ">= 0.3.0"
s.add_dependency "file-tail", '~> 1.0' # Sourcify requires this but doesn't declare it
end
Jump to Line
Something went wrong with that request. Please try again.