Permalink
Browse files

added bundler

  • Loading branch information...
1 parent 8c1feef commit d610416ff7cbb9f6f0cabebc729c831472aedfe6 Tobias Bielohlawek committed Jan 21, 2011
Showing with 27 additions and 2 deletions.
  1. +7 −0 Gemfile
  2. +16 −0 Gemfile.lock
  3. +2 −1 Rakefile
  4. +2 −1 test/test_helper.rb
View
@@ -0,0 +1,7 @@
+source :rubygems
+
+group :test do
+ gem 'shoulda'
+ gem 'mocha'
+ gem 'nokogiri'
+end
View
@@ -0,0 +1,16 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ mocha (0.9.10)
+ rake
+ nokogiri (1.4.4)
+ rake (0.8.7)
+ shoulda (2.11.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ mocha
+ nokogiri
+ shoulda
View
@@ -9,6 +9,7 @@ begin
s.homepage = "http://github.com/rngtng/big_sitemap"
s.description = "A Sitemap generator specifically designed for large sites (although it works equally well with small sites)"
s.authors = ["Tobias Bielohlawek", "Alex Rabarts"]
+ s.add_dependency 'bundler'
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
@@ -25,7 +26,7 @@ end
require 'rake/testtask'
Rake::TestTask.new(:test) do |t|
- t.libs << 'lib' << 'test'
+ t.libs << 'lib' << 'test' << Rake.original_dir
t.pattern = 'test/**/*_test.rb'
t.verbose = false
end
View
@@ -1,10 +1,11 @@
require 'rubygems'
+require 'bundler/setup'
+
require 'test/unit'
require 'shoulda'
require 'mocha'
require 'test/fixtures/test_model'
-$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'big_sitemap'
class Test::Unit::TestCase

0 comments on commit d610416

Please sign in to comment.