Revert to using leftright

This commit is contained in:
Erik Michaels-Ober 2011-05-14 19:50:33 -07:00
parent bbfcc2539f
commit 21a92c6eb3
2 changed files with 10 additions and 2 deletions

View File

@ -9,7 +9,7 @@ group :test do
gem 'em-synchrony', '~> 0.2', :require => ['em-synchrony', 'em-synchrony/em-http'], :platforms => :ruby_19
gem 'excon', '~> 0.6'
gem 'patron', '~> 0.4', :platforms => :ruby
gem 'turn', :require => false
gem 'leftright', :require => false
gem 'typhoeus', '~> 0.2', :platforms => :ruby
gem 'webmock'
# ActiveSupport::JSON will be used in ruby 1.8 and Yajl in 1.9; this is to test against both adapters
@ -19,6 +19,7 @@ end
platforms :jruby do
gem 'jruby-openssl', '~> 0.7'
gem 'ffi-ncurses'
end
gemspec

View File

@ -1,6 +1,13 @@
require 'rubygems'
require 'test/unit'
require 'turn'
if ENV['LEFTRIGHT']
begin
require 'leftright'
rescue LoadError
puts "Run `gem install leftright` to install leftright."
end
end
unless $LOAD_PATH.include? 'lib'
$LOAD_PATH.unshift(File.dirname(__FILE__))