Adding Gemfile for development
This commit is contained in:
parent
938614ba40
commit
24329d1f9c
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,7 +2,6 @@
|
||||||
html/*
|
html/*
|
||||||
pkg
|
pkg
|
||||||
*.swp
|
*.swp
|
||||||
Gemfile*
|
|
||||||
.rvmrc
|
.rvmrc
|
||||||
.bundle
|
.bundle
|
||||||
couchdb.std*
|
couchdb.std*
|
||||||
|
|
77
Gemfile.lock
Normal file
77
Gemfile.lock
Normal file
|
@ -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)
|
13
Rakefile
13
Rakefile
|
@ -1,19 +1,12 @@
|
||||||
|
require 'rubygems'
|
||||||
require 'bundler'
|
require 'bundler'
|
||||||
Bundler::GemHelper.install_tasks
|
Bundler::GemHelper.install_tasks
|
||||||
|
|
||||||
require 'rake'
|
require 'rake'
|
||||||
require "rake/rdoctask"
|
require "rake/rdoctask"
|
||||||
|
|
||||||
begin
|
require 'rspec'
|
||||||
require 'rspec'
|
require 'rspec/core/rake_task'
|
||||||
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
|
|
||||||
|
|
||||||
desc "Run all specs"
|
desc "Run all specs"
|
||||||
Rspec::Core::RakeTask.new(:spec) do |spec|
|
Rspec::Core::RakeTask.new(:spec) do |spec|
|
||||||
|
|
Loading…
Reference in a new issue