fixed to run tests and benchmarks smothly with ruby 1.9.3 #2

Closed
wants to merge 2 commits into
from
Jump to file or symbol
Failed to load files and symbols.
+7 −9
Split
View
@@ -1,4 +1,3 @@
-require 'rubygems'
require 'rake/testtask'
task :default => :test
@@ -1,5 +1,6 @@
+require 'rubygems'
+
require "benchmark"
-require "rubygems"
sites = [
"log.damog.net",
View
@@ -1,7 +1,8 @@
#!/usr/bin/env ruby
-require "rubygems"
-require "feedbag"
+require 'rubygems'
+require 'feedbag'
+
def usage
%Q{
View
@@ -21,7 +21,7 @@
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-require "rubygems"
+require 'rubygems'
require "hpricot"
require "open-uri"
require "net/http"
View
@@ -1,11 +1,8 @@
require 'rubygems'
require 'test/unit'
-
-
-require 'activesupport'
+require 'active_support'
require 'active_support/test_case'
-
require 'mocha'
require File.dirname(__FILE__) + '/../lib/feedbag'