From 24329d1f9ce60f9afb6711243278d40dd55433dd Mon Sep 17 00:00:00 2001 From: Sam Lown Date: Mon, 17 Jan 2011 15:42:05 +0100 Subject: [PATCH] Adding Gemfile for development --- .gitignore | 1 - Gemfile | 4 +++ Gemfile.lock | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++ Rakefile | 15 +++------- 4 files changed, 85 insertions(+), 12 deletions(-) create mode 100644 Gemfile create mode 100644 Gemfile.lock diff --git a/.gitignore b/.gitignore index c00c3ee..5b1ad4c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,6 @@ html/* pkg *.swp -Gemfile* .rvmrc .bundle couchdb.std* diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..99caa9e --- /dev/null +++ b/Gemfile @@ -0,0 +1,4 @@ + +source :rubygems +gemspec + diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..38fe5d9 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,77 @@ +PATH + remote: . + specs: + couchrest_model (1.0.0) + activemodel (~> 3.0.0) + couchrest (~> 1.0.1) + mime-types (~> 1.15) + railties (~> 3.0.0) + rspec (>= 2.0.0) + tzinfo (~> 0.3.22) + +GEM + remote: http://rubygems.org/ + specs: + abstract (1.0.0) + actionpack (3.0.3) + activemodel (= 3.0.3) + activesupport (= 3.0.3) + builder (~> 2.1.2) + erubis (~> 2.6.6) + i18n (~> 0.4) + rack (~> 1.2.1) + rack-mount (~> 0.6.13) + rack-test (~> 0.5.6) + tzinfo (~> 0.3.23) + activemodel (3.0.3) + activesupport (= 3.0.3) + builder (~> 2.1.2) + i18n (~> 0.4) + activesupport (3.0.3) + builder (2.1.2) + couchrest (1.0.1) + json (>= 1.4.6) + mime-types (>= 1.15) + rest-client (>= 1.5.1) + diff-lcs (1.1.2) + erubis (2.6.6) + abstract (>= 1.0.0) + i18n (0.5.0) + json (1.4.6) + mime-types (1.16) + rack (1.2.1) + rack-mount (0.6.13) + rack (>= 1.0.0) + rack-test (0.5.7) + rack (>= 1.0) + railties (3.0.3) + actionpack (= 3.0.3) + activesupport (= 3.0.3) + rake (>= 0.8.7) + thor (~> 0.14.4) + rake (0.8.7) + rest-client (1.6.1) + mime-types (>= 1.16) + rspec (2.2.0) + rspec-core (~> 2.2) + rspec-expectations (~> 2.2) + rspec-mocks (~> 2.2) + rspec-core (2.3.0) + rspec-expectations (2.3.0) + diff-lcs (~> 1.1.2) + rspec-mocks (2.3.0) + thor (0.14.6) + tzinfo (0.3.23) + +PLATFORMS + ruby + +DEPENDENCIES + activemodel (~> 3.0.0) + couchrest (~> 1.0.1) + couchrest_model! + mime-types (~> 1.15) + rack-test (>= 0.5.7) + railties (~> 3.0.0) + rspec (>= 2.0.0) + tzinfo (~> 0.3.22) diff --git a/Rakefile b/Rakefile index d4abc8a..8cf05ec 100644 --- a/Rakefile +++ b/Rakefile @@ -1,19 +1,12 @@ +require 'rubygems' require 'bundler' Bundler::GemHelper.install_tasks require 'rake' require "rake/rdoctask" - -begin - require 'rspec' - require 'rspec/core/rake_task' -rescue LoadError - puts <<-EOS -To use rspec for testing you must install rspec gem: - gem install rspec -EOS - exit(0) -end + +require 'rspec' +require 'rspec/core/rake_task' desc "Run all specs" Rspec::Core::RakeTask.new(:spec) do |spec|