Skip to content

Commit

Permalink
moved back to 2.1.1, some gemfile modifications
Browse files Browse the repository at this point in the history
Added a Bundler.require so that bundler will manage the dependencies.
Uses ruby-debug for ruby 1.8.*, and uses debugger for anything else.
Also, seems as if the debugger gem has yet to support ruby 2.1.2, so
moved back to ruby 2.1.1 for now.
  • Loading branch information
Christopher Thornton committed May 28, 2014
1 parent 044531e commit de74f68
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ language: ruby
rvm:
- 1.8.7
- 1.9.3
- 2.1.2
- 2.1.1
- ree
9 changes: 6 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@ source 'http://rubygems.org'
gemspec

group :test do
gem "ruby-debug", "~> 0.10.4", :require => nil, :platforms => :ruby_18
gem "debugger", "~> 1.1", :require => nil, :platforms => :ruby_19
if RUBY_VERSION < "1.9"
gem "ruby-debug", "~> 0.10.4"
else
gem "debugger", "~> 1.1"
end
gem "shoulda", "~> 2.11"
gem "rake", "~> 10"
gem "mocha", "~> 0.14"
gem "mocha", "~> 0.14", :require => false
gem "nokogiri", "~> 1.5.0"
gem "timecop", "<= 0.6.0"
gem "systemu", "~> 2"
Expand Down
5 changes: 3 additions & 2 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
require 'rubygems'
require 'bundler'
require 'test/unit'
require 'shoulda'
require 'mocha/setup'
require 'timecop'

Bundler.require :default, :test

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
Expand Down

0 comments on commit de74f68

Please sign in to comment.