Skip to content

Commit

Permalink
Add rake, rspec and rack-test gems; add Rakefile with spec task
Browse files Browse the repository at this point in the history
  • Loading branch information
potomak committed May 10, 2013
1 parent 5f42550 commit 0fed0c1
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 6 deletions.
8 changes: 7 additions & 1 deletion Gemfile
Expand Up @@ -4,4 +4,10 @@ gem 'sinatra','~> 1.4.2'
gem 'redis','~> 3.0.4'
gem 'hiredis', '~> 0.4.5'
gem 'json', '~> 1.7.7'
gem 'ruby-hmac', '~> 0.4.0'
gem 'ruby-hmac', '~> 0.4.0'

group :development, :test do
gem 'rake'
gem 'rspec'
gem 'rack-test'
end
25 changes: 20 additions & 5 deletions Gemfile.lock
@@ -1,12 +1,24 @@
GEM
remote: https://rubygems.org/
specs:
diff-lcs (1.2.4)
hiredis (0.4.5)
json (1.7.7)
rack (1.5.2)
rack-protection (1.5.0)
rack
rack-test (0.6.2)
rack (>= 1.0)
rake (10.0.4)
redis (3.0.4)
rspec (2.13.0)
rspec-core (~> 2.13.0)
rspec-expectations (~> 2.13.0)
rspec-mocks (~> 2.13.0)
rspec-core (2.13.1)
rspec-expectations (2.13.0)
diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.13.1)
ruby-hmac (0.4.0)
sinatra (1.4.2)
rack (~> 1.5, >= 1.5.2)
Expand All @@ -18,8 +30,11 @@ PLATFORMS
ruby

DEPENDENCIES
hiredis
json
redis
ruby-hmac
sinatra
hiredis (~> 0.4.5)
json (~> 1.7.7)
rack-test
rake
redis (~> 3.0.4)
rspec
ruby-hmac (~> 0.4.0)
sinatra (~> 1.4.2)
7 changes: 7 additions & 0 deletions Rakefile
@@ -0,0 +1,7 @@
require 'rspec/core'
require 'rspec/core/rake_task'

task :default => :spec

desc "Run all specs in spec directory (excluding plugin specs)"
RSpec::Core::RakeTask.new(:spec)

0 comments on commit 0fed0c1

Please sign in to comment.