Permalink
Browse files

Move dev dependencies into gemspec. Make specs runnable as 'ruby <spe…

…cname>'
  • Loading branch information...
1 parent 41d2980 commit 6a5d35238b76693db78682f37ea477711a5fdfa4 Michael Brodhead & Shai Rosenfeld committed Feb 17, 2012
Showing with 5 additions and 3 deletions.
  1. +0 −3 Gemfile
  2. +4 −0 rotp.gemspec
  3. +1 −0 spec/spec_helper.rb
View
@@ -1,5 +1,2 @@
source "http://rubygems.org"
gemspec
-gem 'rspec'
-gem 'timecop'
-gem 'rake'
View
@@ -19,4 +19,8 @@ Gem::Specification.new do |s|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
+
+ s.add_development_dependency('rspec')
+ s.add_development_dependency('timecop')
+ s.add_development_dependency('rake')
end
View
@@ -2,6 +2,7 @@
require 'bundler/setup'
require 'timecop'
require 'rspec'
+require 'rspec/autorun'
require 'rotp'

0 comments on commit 6a5d352

Please sign in to comment.