Permalink
Browse files

Lock mongo/bson_ext to same version. Kill logging.

  • Loading branch information...
1 parent 87983ca commit 3b0ff624a7a25cf8e575f2767ad7bff809bb071e @jnunemaker committed Apr 20, 2012
Showing with 10 additions and 19 deletions.
  1. +10 −7 Gemfile
  2. +0 −12 spec/helper.rb
View
17 Gemfile
@@ -1,16 +1,19 @@
source "http://rubygems.org"
gemspec
-gem 'rake'
-gem 'bson_ext', :require => false
+gem 'rake', '~> 0.9.0'
+
+# keep mongo and bson ext at same version
+gem 'mongo', '~> 1.6.0'
+gem 'bson_ext', '~> 1.6.0', :require => false
group(:guard) do
- gem 'guard'
- gem 'guard-rspec'
- gem 'guard-bundler'
+ gem 'guard', '~> 1.0.0'
+ gem 'guard-rspec', '~> 0.6.0'
+ gem 'guard-bundler', '~> 0.1.0'
+ gem 'growl', '~> 1.0.0'
end
group(:test) do
- gem 'rspec', '~> 2.3'
- gem 'log_buddy', '~> 0.5.0'
+ gem 'rspec', '~> 2.8'
end
View
@@ -1,13 +1,6 @@
$:.unshift(File.expand_path('../../lib', __FILE__))
require 'pathname'
-require 'logger'
-
-root_path = Pathname(__FILE__).dirname.join('..').expand_path
-lib_path = root_path.join('lib')
-log_path = root_path.join('log')
-log_path.mkpath
-
require 'rubygems'
require 'bundler'
@@ -19,11 +12,6 @@
STORE = Mongo::Connection.new.db('testing')["toystore-mongo-#{RUBY_VERSION}"]
-Logger.new(log_path.join('test.log')).tap do |log|
- LogBuddy.init(:logger => log)
- Toy.logger = log
-end
-
RSpec.configure do |c|
c.include(Support::Constants)

0 comments on commit 3b0ff62

Please sign in to comment.