clean Gemfile

This commit is contained in:
did 2011-06-21 03:41:32 +02:00
parent 57ba3ba273
commit 6ed9788d50
5 changed files with 34 additions and 32 deletions

1
.rspec Normal file
View File

@ -0,0 +1 @@
--colour

15
Gemfile
View File

@ -4,7 +4,7 @@ source :rubygems
gem 'rake', '0.8.7' gem 'rake', '0.8.7'
gem 'rails', '>= 3.0.7' gem 'rails', '3.0.7'
gem 'warden' gem 'warden'
gem 'devise', '= 1.1.3' gem 'devise', '= 1.1.3'
@ -42,17 +42,13 @@ group :development do
gem 'unicorn' gem 'unicorn'
end end
group :test, :development do group :development, :test do
gem 'ruby-debug', :platforms => :mri_18 gem 'ruby-debug', :platforms => :mri_18
gem 'ruby-debug19', :platforms => :mri_19 gem 'ruby-debug19', :platforms => :mri_19
gem 'bushido_stub', :git => 'git://github.com/did/bushido_stub.git' gem 'bushido_stub', :git => 'git://github.com/did/bushido_stub.git'
end end
group :production do
gem 'bushido'
end
group :test do group :test do
gem 'autotest' gem 'autotest'
gem 'ZenTest' gem 'ZenTest'
@ -60,7 +56,7 @@ group :test do
gem 'rspec-rails', '2.3.1' gem 'rspec-rails', '2.3.1'
gem 'factory_girl_rails' gem 'factory_girl_rails'
gem 'pickle' gem 'pickle'
gem 'xpath', :git => 'https://github.com/wunderbread/xpath.git' gem 'xpath', '0.1.3'
gem 'capybara' gem 'capybara'
gem 'database_cleaner' gem 'database_cleaner'
@ -70,3 +66,8 @@ group :test do
gem 'launchy' gem 'launchy'
gem 'mocha', :git => 'git://github.com/floehopper/mocha.git' gem 'mocha', :git => 'git://github.com/floehopper/mocha.git'
end end
group :production do
gem 'bushido'
end

View File

@ -7,17 +7,10 @@ GIT
GIT GIT
remote: git://github.com/floehopper/mocha.git remote: git://github.com/floehopper/mocha.git
revision: 6da1242f26b12a24c4fcf67bf5921a25bc1bc88d revision: d03843e763f4e5ceadb66bcb4c530d6c5d0cb293
specs: specs:
mocha (0.9.12.20110213002255) mocha (0.9.12.20110213002255)
GIT
remote: https://github.com/wunderbread/xpath.git
revision: d04da707886287e7dfe82705fda5b3d4f65e94c3
specs:
xpath (0.1.2)
nokogiri (~> 1.4)
GEM GEM
remote: http://rubygems.org/ remote: http://rubygems.org/
specs: specs:
@ -65,11 +58,11 @@ GEM
bson (1.3.1) bson (1.3.1)
bson_ext (1.3.1) bson_ext (1.3.1)
builder (2.1.2) builder (2.1.2)
bushido (0.0.17) bushido (0.0.27)
highline (>= 1.6.1) highline (>= 1.6.1)
json (>= 1.4.6) json (>= 1.4.6)
rest-client (>= 1.6.1) rest-client (>= 1.6.1)
capybara (0.4.0) capybara (0.4.1.2)
celerity (>= 0.7.9) celerity (>= 0.7.9)
culerity (>= 0.2.4) culerity (>= 0.2.4)
mime-types (>= 1.16) mime-types (>= 1.16)
@ -77,12 +70,12 @@ GEM
rack (>= 1.0.0) rack (>= 1.0.0)
rack-test (>= 0.5.4) rack-test (>= 0.5.4)
selenium-webdriver (>= 0.0.27) selenium-webdriver (>= 0.0.27)
xpath (~> 0.1.2) xpath (~> 0.1.3)
celerity (0.8.9) celerity (0.8.9)
childprocess (0.1.9) childprocess (0.1.9)
ffi (~> 1.0.6) ffi (~> 1.0.6)
columnize (0.3.2) columnize (0.3.3)
configuration (1.2.0) configuration (1.3.1)
crack (0.1.8) crack (0.1.8)
cucumber (0.8.5) cucumber (0.8.5)
builder (~> 2.1.2) builder (~> 2.1.2)
@ -97,7 +90,7 @@ GEM
activesupport (>= 3.0.7) activesupport (>= 3.0.7)
locomotive_carrierwave locomotive_carrierwave
mongoid (= 2.0.2) mongoid (= 2.0.2)
daemons (1.1.3) daemons (1.1.4)
database_cleaner (0.6.7) database_cleaner (0.6.7)
delayed_job (2.1.4) delayed_job (2.1.4)
activesupport (~> 3.0) activesupport (~> 3.0)
@ -139,7 +132,7 @@ GEM
heroku (1.19.1) heroku (1.19.1)
activesupport (>= 2.1.0) activesupport (>= 2.1.0)
launchy (~> 0.3.2) launchy (~> 0.3.2)
rest-client (>= 1.4.0, < 1.7.0) rest-client (< 1.7.0, >= 1.4.0)
highline (1.6.2) highline (1.6.2)
httparty (0.7.8) httparty (0.7.8)
crack (= 0.1.8) crack (= 0.1.8)
@ -149,13 +142,14 @@ GEM
responders (~> 0.6.0) responders (~> 0.6.0)
jammit (0.6.3) jammit (0.6.3)
yui-compressor (>= 0.9.3) yui-compressor (>= 0.9.3)
json (1.5.1) json (1.5.3)
json_pure (1.4.6) json_pure (1.4.6)
kgio (2.4.1) kgio (2.5.0)
launchy (0.3.7) launchy (0.3.7)
configuration (>= 0.0.5) configuration (>= 0.0.5)
rake (>= 0.8.1) rake (>= 0.8.1)
linecache (0.43) linecache (0.46)
rbx-require-relative (> 0.0.4)
linecache19 (0.5.12) linecache19 (0.5.12)
ruby_core_source (>= 0.1.4) ruby_core_source (>= 0.1.4)
locomotive_carrierwave (0.5.0.1.beta3) locomotive_carrierwave (0.5.0.1.beta3)
@ -208,6 +202,7 @@ GEM
rake (>= 0.8.7) rake (>= 0.8.7)
thor (~> 0.14.4) thor (~> 0.14.4)
rake (0.8.7) rake (0.8.7)
rbx-require-relative (0.0.5)
responders (0.6.4) responders (0.6.4)
rest-client (1.6.3) rest-client (1.6.3)
mime-types (>= 1.16) mime-types (>= 1.16)
@ -255,13 +250,15 @@ GEM
treetop (1.4.9) treetop (1.4.9)
polyglot (>= 0.3.1) polyglot (>= 0.3.1)
trollop (1.16.2) trollop (1.16.2)
tzinfo (0.3.27) tzinfo (0.3.28)
unicorn (3.6.2) unicorn (3.7.0)
kgio (~> 2.3) kgio (~> 2.3)
rack rack
warden (0.10.7) warden (0.10.7)
rack (>= 1.0.0) rack (>= 1.0.0)
will_paginate (2.3.15) will_paginate (2.3.15)
xpath (0.1.3)
nokogiri (~> 1.3)
yui-compressor (0.9.6) yui-compressor (0.9.6)
POpen4 (>= 0.1.4) POpen4 (>= 0.1.4)
@ -302,7 +299,7 @@ DEPENDENCIES
mocha! mocha!
mongoid (~> 2.0.2) mongoid (~> 2.0.2)
pickle pickle
rails (>= 3.0.7) rails (= 3.0.7)
rake (= 0.8.7) rake (= 0.8.7)
rmagick (= 2.12.2) rmagick (= 2.12.2)
rspec-rails (= 2.3.1) rspec-rails (= 2.3.1)
@ -313,4 +310,4 @@ DEPENDENCIES
unicorn unicorn
warden warden
will_paginate will_paginate
xpath! xpath (= 0.1.3)

View File

@ -1,7 +1,7 @@
require File.expand_path('../config/application', __FILE__) require File.expand_path('../config/application', __FILE__)
require 'rake' require 'rake'
require 'rake/testtask' # require 'rake/testtask'
require 'rake/rdoctask' require 'rake/rdoctask'
require 'rake/gempackagetask' require 'rake/gempackagetask'
@ -17,4 +17,4 @@ task :release => :gem do
sh "gem push pkg/locomotive_cms-#{gemspec.version}.gem" sh "gem push pkg/locomotive_cms-#{gemspec.version}.gem"
end end
task :default => [:spec, :cucumber] task :default => [:rspec, :cucumber]

View File

@ -2,10 +2,13 @@
ENV["RAILS_ENV"] ||= 'test' ENV["RAILS_ENV"] ||= 'test'
require File.expand_path('../../config/environment', __FILE__) require File.expand_path('../../config/environment', __FILE__)
require 'rspec/rails' require 'rspec/rails'
require 'factory_girl'
Factory.find_definitions
# Requires supporting ruby files with custom matchers and macros, etc, # Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories. # in spec/support/ and its subdirectories.
Dir[Rails.root.join('spec/support/**/*.rb')].each {|f| require f}
Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
Locomotive.configure_for_test Locomotive.configure_for_test