From 8d2fa24b4acaaedbeede6d48568fe4b4b90acf62 Mon Sep 17 00:00:00 2001 From: Noah Davis Date: Sun, 17 Jan 2010 20:42:37 -0500 Subject: [PATCH] Added missing dependency "rack-test" to gemspec (LH #339) --- History.txt | 3 ++- Thorfile | 1 + webrat.gemspec | 5 ++++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/History.txt b/History.txt index a46d78b..84cbd2b 100644 --- a/History.txt +++ b/History.txt @@ -7,7 +7,8 @@ * Save and open page directory specified via configuration, defaults to tmp dir otherwise current dir (Noah Davis) * Bug fixes - + + * Added missing dependency "rack-test" to gemspec (LH #339) (Noah Davis) * Removed save_and_open_page's rewriting of static asset paths before saving (was not actually working) (Noah Davis) * Make "should contain" ignore extra whitespace when doing string comparisons (Noah Davis) * Make selenium matchers handle negative match more consistently with positive match (Luke Melia) diff --git a/Thorfile b/Thorfile index 8ceeac2..d3c7114 100644 --- a/Thorfile +++ b/Thorfile @@ -32,6 +32,7 @@ Most Ruby web frameworks and testing frameworks are supported. s.add_dependency "nokogiri", ">= 1.2.0" s.add_dependency "rack", ">= 1.0" + s.add_dependency "rack-test", ">= 0.5.3" end end diff --git a/webrat.gemspec b/webrat.gemspec index 3128fff..b9bc1e1 100644 --- a/webrat.gemspec +++ b/webrat.gemspec @@ -6,7 +6,7 @@ Gem::Specification.new do |s| s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version= s.authors = ["Bryan Helmkamp"] - s.date = %q{2009-11-28} + s.date = %q{2010-01-17} s.description = %q{Webrat lets you quickly write expressive and robust acceptance tests for a Ruby web application. It supports simulating a browser inside a Ruby process to avoid the performance hit and browser dependency of @@ -337,12 +337,15 @@ Most Ruby web frameworks and testing frameworks are supported.} if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then s.add_runtime_dependency(%q, [">= 1.2.0"]) s.add_runtime_dependency(%q, [">= 1.0"]) + s.add_runtime_dependency(%q, [">= 0.5.3"]) else s.add_dependency(%q, [">= 1.2.0"]) s.add_dependency(%q, [">= 1.0"]) + s.add_dependency(%q, [">= 0.5.3"]) end else s.add_dependency(%q, [">= 1.2.0"]) s.add_dependency(%q, [">= 1.0"]) + s.add_dependency(%q, [">= 0.5.3"]) end end