Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Allow rails 3.1 testing, remove explicit dep on redgreen.

  • Loading branch information...
commit 7d5eebc85fbd689632ba59adc2e985513bc35635 1 parent 77c3ce7
@cmeiklejohn cmeiklejohn authored
Showing with 6 additions and 7 deletions.
  1. +3 −6 paul_revere.gemspec
  2. +3 −1 test/test_helper.rb
View
9 paul_revere.gemspec
@@ -21,20 +21,17 @@ Gem::Specification.new do |s|
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<rails>, ["~> 3.0.0"])
+ s.add_runtime_dependency(%q<rails>, [">= 3.0.0"])
s.add_development_dependency(%q<bourne>, [">= 0"])
s.add_development_dependency(%q<shoulda>, [">= 0"])
- s.add_development_dependency(%q<redgreen>, [">= 0"])
else
- s.add_dependency(%q<rails>, ["~> 3.0.0"])
+ s.add_dependency(%q<rails>, [">= 3.0.0"])
s.add_dependency(%q<bourne>, [">= 0"])
s.add_dependency(%q<shoulda>, [">= 0"])
- s.add_dependency(%q<redgreen>, [">= 0"])
end
else
- s.add_dependency(%q<rails>, ["~> 3.0.0"])
+ s.add_dependency(%q<rails>, [">= 3.0.0"])
s.add_dependency(%q<bourne>, [">= 0"])
s.add_dependency(%q<shoulda>, [">= 0"])
- s.add_dependency(%q<redgreen>, [">= 0"])
end
end
View
4 test/test_helper.rb
@@ -3,8 +3,10 @@
require 'rubygems'
require 'rails/all'
require 'shoulda'
+require 'shoulda/rails'
require 'bourne'
-require 'redgreen'
+
+begin require 'redgreen'; rescue LoadError; end
module PaulRevere
class Application < Rails::Application

0 comments on commit 7d5eebc

Please sign in to comment.
Something went wrong with that request. Please try again.