Skip to content
Browse files

Add Rake as a dev dependency so that `rake` works.

  • Loading branch information...
1 parent 157e201 commit e82b5f06fba288d43359d942657478bf7767da2d @gabebw gabebw committed
Showing with 15 additions and 9 deletions.
  1. +3 −1 Gemfile.lock
  2. +8 −0 Rakefile
  3. +4 −3 fistface.gemspec
  4. +0 −5 spec/spec_helper.rb
View
4 Gemfile.lock
@@ -11,6 +11,7 @@ GEM
rack (1.3.1)
rack-test (0.6.0)
rack (>= 1.0)
+ rake (0.9.2.2)
rspec (2.6.0)
rspec-core (~> 2.6.0)
rspec-expectations (~> 2.6.0)
@@ -21,7 +22,7 @@ GEM
rspec-mocks (2.6.0)
sinatra (1.2.6)
rack (~> 1.1)
- tilt (< 2.0, >= 1.2.2)
+ tilt (>= 1.2.2, < 2.0)
tilt (1.3.2)
timecop (0.3.5)
@@ -31,5 +32,6 @@ PLATFORMS
DEPENDENCIES
fistface!
rack-test
+ rake
rspec
timecop
View
8 Rakefile
@@ -0,0 +1,8 @@
+require 'bundler/setup'
+require 'bundler/gem_tasks'
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec)
+
+desc "Default task: run specs"
+task :default => :spec
View
7 fistface.gemspec
@@ -6,9 +6,10 @@ Gem::Specification.new do |s|
# Dependencies
s.add_dependency('sinatra', '~> 1.1')
- s.add_development_dependency "rspec"
- s.add_development_dependency "rack-test"
- s.add_development_dependency "timecop"
+ s.add_development_dependency("rspec")
+ s.add_development_dependency("rack-test")
+ s.add_development_dependency("timecop")
+ s.add_development_dependency("rake")
#Configuration
s.name = 'fistface'
View
5 spec/spec_helper.rb
@@ -1,10 +1,5 @@
$: << File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
-require 'rubygems'
-require 'bundler'
-
-Bundler.require
-
require 'fistface'
require 'rack/test'
require 'timecop'

0 comments on commit e82b5f0

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