Commit 8b688ab35cc50a5f8f97fdac4b9679ef321b02fa

Authored by Winfield Peterson
1 parent 086cf46c
Exists in master

Bundlerize gem and upgrade to rspec2 compatibility.

Showing 3 changed files with 43 additions and 5 deletions   Show diff stats
Gemfile 0 → 100644
@@ -0,0 +1,6 @@ @@ -0,0 +1,6 @@
  1 +source "http://rubygems.org"
  2 +
  3 +gem 'rake', '0.8.7'
  4 +gem 'jeweler'
  5 +gem 'rspec', :require => 'spec'
  6 +gem 'ruby-debug'
Gemfile.lock 0 → 100644
@@ -0,0 +1,36 @@ @@ -0,0 +1,36 @@
  1 +GEM
  2 + remote: http://rubygems.org/
  3 + specs:
  4 + columnize (0.3.6)
  5 + diff-lcs (1.1.3)
  6 + git (1.2.5)
  7 + jeweler (1.6.4)
  8 + bundler (~> 1.0)
  9 + git (>= 1.2.5)
  10 + rake
  11 + linecache (0.46)
  12 + rbx-require-relative (> 0.0.4)
  13 + rake (0.8.7)
  14 + rbx-require-relative (0.0.5)
  15 + rspec (2.8.0)
  16 + rspec-core (~> 2.8.0)
  17 + rspec-expectations (~> 2.8.0)
  18 + rspec-mocks (~> 2.8.0)
  19 + rspec-core (2.8.0)
  20 + rspec-expectations (2.8.0)
  21 + diff-lcs (~> 1.1.2)
  22 + rspec-mocks (2.8.0)
  23 + ruby-debug (0.10.4)
  24 + columnize (>= 0.1)
  25 + ruby-debug-base (~> 0.10.4.0)
  26 + ruby-debug-base (0.10.4)
  27 + linecache (>= 0.3)
  28 +
  29 +PLATFORMS
  30 + ruby
  31 +
  32 +DEPENDENCIES
  33 + jeweler
  34 + rake (= 0.8.7)
  35 + rspec
  36 + ruby-debug
spec/spec_helper.rb
1 -require 'spec'  
2 -require 'rubygems'  
3 -require 'ruby-debug' if RUBY_VERSION < '1.9' # ruby-debug does not work on 1.9.1 yet  
4 -  
5 $LOAD_PATH.unshift(File.dirname(__FILE__)) 1 $LOAD_PATH.unshift(File.dirname(__FILE__))
6 $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) 2 $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
7 require 'settingslogic' 3 require 'settingslogic'
@@ -14,5 +10,5 @@ Object.send :define_method, &#39;collides&#39; do @@ -14,5 +10,5 @@ Object.send :define_method, &#39;collides&#39; do
14 'collision' 10 'collision'
15 end 11 end
16 12
17 -Spec::Runner.configure do |config| 13 +RSpec.configure do |config|
18 end 14 end