Skip to content
This repository has been archived by the owner on Mar 30, 2020. It is now read-only.

Commit

Permalink
Add RSpec 2.9.0 as dev dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
bjeanes committed Apr 11, 2012
1 parent 7fbbbfb commit 2164b06
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ task :gemspec do
s.executables += %w[ghost ghost-ssh]
s.autorequire = "ghost"
s.has_rdoc = false

s.add_development_dependency "rspec", "2.9.0"
end

File.open("ghost.gemspec", "w") do |file|
Expand Down
3 changes: 3 additions & 0 deletions ghost.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@ Gem::Specification.new do |s|
s.specification_version = 3

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<rspec>, ["= 2.9.0"])
else
s.add_dependency(%q<rspec>, ["= 2.9.0"])
end
else
s.add_dependency(%q<rspec>, ["= 2.9.0"])
end
end
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$TESTING=true
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')

require 'rubygems'
require 'spec'
require 'rspec'

0 comments on commit 2164b06

Please sign in to comment.