Browse files

use bundler

  • Loading branch information...
1 parent 3b0a7cf commit 72bfadff97d98052dbac60b75888278009a55bbc Michael Hale committed May 4, 2010
Showing with 108 additions and 4 deletions.
  1. +2 −1 .gitignore
  2. +16 −0 Gemfile
  3. +83 −0 Gemfile.lock
  4. +3 −2 Rakefile
  5. +4 −1 spec/spec_helper.rb
View
3 .gitignore
@@ -1,2 +1,3 @@
spec/sqlite3.db
-*.gem
+*.gem
+.bundle
View
16 Gemfile
@@ -0,0 +1,16 @@
+source :gemcutter
+
+gem 'activerecord', '= 2.3.4'
+gem 'activesupport', '= 2.3.4'
+gem 'uuid', '>= 2.0.1'
+gem 'hpricot', '>= 0.8.2'
+gem 'tmail', '= 1.2.1'
+
+group :development do
+ gem 'dataset'
+ gem 'rake'
+ gem "sqlite3-ruby"
+ gem "rspec", :require => "spec"
+ gem "rr", "0.10.0"
+ gem "ruby-debug"
+end
View
83 Gemfile.lock
@@ -0,0 +1,83 @@
+---
+specs:
+- rake:
+ version: 0.8.7
+- activesupport:
+ version: 2.3.4
+- activerecord:
+ version: 2.3.4
+- columnize:
+ version: 0.3.1
+- dataset:
+ version: 1.3.2
+- hpricot:
+ version: 0.8.2
+- linecache:
+ version: "0.43"
+- macaddr:
+ version: 1.0.0
+- rr:
+ version: 0.10.0
+- rspec:
+ version: 1.3.0
+- ruby-debug-base:
+ version: 0.10.3
+- ruby-debug:
+ version: 0.10.3
+- sqlite3-ruby:
+ version: 1.2.5
+- tmail:
+ version: 1.2.1
+- uuid:
+ version: 2.3.0
+hash: beb4622234918a534a4b4960573d5e58b9203857
+sources:
+- Rubygems:
+ uri: http://gemcutter.org
+dependencies:
+ ruby-debug:
+ version: ">= 0"
+ group:
+ - :development
+ sqlite3-ruby:
+ version: ">= 0"
+ group:
+ - :development
+ rr:
+ version: = 0.10.0
+ group:
+ - :development
+ activerecord:
+ version: = 2.3.4
+ group:
+ - :default
+ rspec:
+ version: ">= 0"
+ require:
+ - spec
+ group:
+ - :development
+ rake:
+ version: ">= 0"
+ group:
+ - :development
+ tmail:
+ version: = 1.2.1
+ group:
+ - :default
+ uuid:
+ version: ">= 2.0.1"
+ group:
+ - :default
+ dataset:
+ version: ">= 0"
+ group:
+ - :development
+ activesupport:
+ version: = 2.3.4
+ group:
+ - :default
+ hpricot:
+ version: ">= 0.8.2"
+ group:
+ - :default
View
5 Rakefile
@@ -1,6 +1,7 @@
-$:.unshift(File.join(File.dirname(__FILE__), 'lib'))
-
require 'rubygems'
+require "bundler"
+Bundler.setup
+
require 'spec/rake/spectask'
task :default => :spec
View
5 spec/spec_helper.rb
@@ -1,8 +1,11 @@
require 'rubygems'
+require "bundler"
+Bundler.setup
+
require 'spec'
-gem 'rr', '0.10.0'
require 'rr'
require 'ostruct'
+require 'ruby-debug'
Spec::Runner.configure do |config|
config.mock_with :rr

0 comments on commit 72bfadf

Please sign in to comment.