Permalink
Browse files

test suite works with ruby 1.9; requires activerecord ~> 3 for develo…

…pment now
  • Loading branch information...
1 parent 495ba27 commit 93fe7cd53241dccd4c653fc52e48bcf14503ec8d @drnic drnic committed Apr 3, 2011
View
@@ -11,11 +11,21 @@ PATH
GEM
remote: http://rubygems.org/
specs:
- activerecord (2.3.10)
- activesupport (= 2.3.10)
- activesupport (2.3.10)
+ activemodel (3.0.5)
+ activesupport (= 3.0.5)
+ builder (~> 2.1.2)
+ i18n (~> 0.4)
+ activerecord (3.0.5)
+ activemodel (= 3.0.5)
+ activesupport (= 3.0.5)
+ arel (~> 2.0.2)
+ tzinfo (~> 0.3.23)
+ activesupport (3.0.5)
+ arel (2.0.9)
+ builder (2.1.2)
configuration (1.2.0)
highline (1.5.2)
+ i18n (0.5.0)
json (1.4.6)
launchy (0.3.7)
configuration (>= 0.0.5)
@@ -25,12 +35,13 @@ GEM
text-format (1.0.0)
text-hyphen (~> 1.0.0)
text-hyphen (1.0.0)
+ tzinfo (0.3.25)
PLATFORMS
ruby
DEPENDENCIES
- activerecord (~> 2.3.10)
+ activerecord (~> 3.0.0)
github!
rake
rspec (~> 1.3.1)
View
@@ -27,5 +27,5 @@ Gem::Specification.new do |s|
s.add_development_dependency "rake"
s.add_development_dependency "rspec", "~>1.3.1"
- s.add_development_dependency "activerecord", "~>2.3.10"
+ s.add_development_dependency "activerecord", "~>3.0.0"
end
@@ -1,5 +1,5 @@
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
-require File.dirname(__FILE__) + '/command_helper'
+require File.expand_path("../command_helper", __FILE__)
describe "github admin" do
include CommandHelper
@@ -1,5 +1,5 @@
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
-require File.dirname(__FILE__) + '/command_helper'
+require File.expand_path("../command_helper", __FILE__)
describe "github browse" do
include CommandHelper
@@ -1,5 +1,5 @@
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
-require File.dirname(__FILE__) + '/command_helper'
+require File.expand_path("../command_helper", __FILE__)
describe "github clone" do
include CommandHelper
@@ -1,5 +1,5 @@
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
-require File.dirname(__FILE__) + '/command_helper'
+require File.expand_path("../command_helper", __FILE__)
describe "github create-from-local" do
include CommandHelper
@@ -1,5 +1,5 @@
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
-require File.dirname(__FILE__) + '/command_helper'
+require File.expand_path("../command_helper", __FILE__)
describe "github fetch" do
include CommandHelper
@@ -1,5 +1,5 @@
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
-require File.dirname(__FILE__) + '/command_helper'
+require File.expand_path("../command_helper", __FILE__)
describe "github fork" do
include CommandHelper
@@ -1,5 +1,5 @@
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
-require File.dirname(__FILE__) + '/command_helper'
+require File.expand_path("../command_helper", __FILE__)
describe "github home" do
include CommandHelper
@@ -1,5 +1,5 @@
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
-require File.dirname(__FILE__) + '/command_helper'
+require File.expand_path("../command_helper", __FILE__)
describe "github info" do
include CommandHelper
@@ -1,5 +1,5 @@
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
-require File.dirname(__FILE__) + '/command_helper'
+require File.expand_path("../command_helper", __FILE__)
describe "github issues" do
include CommandHelper
@@ -1,5 +1,5 @@
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
-require File.dirname(__FILE__) + '/command_helper'
+require File.expand_path("../command_helper", __FILE__)
describe "github network" do
include CommandHelper
@@ -1,5 +1,5 @@
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
-require File.dirname(__FILE__) + '/command_helper'
+require File.expand_path("../command_helper", __FILE__)
describe "github pull-request" do
include CommandHelper
@@ -1,5 +1,5 @@
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
-require File.dirname(__FILE__) + '/command_helper'
+require File.expand_path("../command_helper", __FILE__)
describe "github pull" do
include CommandHelper
@@ -1,5 +1,5 @@
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
-require File.dirname(__FILE__) + '/command_helper'
+require File.expand_path("../command_helper", __FILE__)
describe "github search" do
include CommandHelper
@@ -1,5 +1,5 @@
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
-require File.dirname(__FILE__) + '/command_helper'
+require File.expand_path("../command_helper", __FILE__)
describe "github track" do
include CommandHelper
View
@@ -1,5 +1,5 @@
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
-require File.dirname(__FILE__) + '/commands/command_helper'
+require File.expand_path("../commands/command_helper", __FILE__)
describe "github" do
include CommandHelper
View
@@ -1,6 +1,9 @@
require 'bundler/setup'
require 'spec'
require 'active_record'
+require 'active_support/core_ext/numeric/time'
+require 'active_support/core_ext/time/acts_like'
+require 'active_support/core_ext/time/calculations'
require File.dirname(__FILE__) + '/../lib/github'

0 comments on commit 93fe7cd

Please sign in to comment.