Skip to content
Browse files

Ruby 1.9 support

  • Loading branch information...
1 parent 9bfdb81 commit 8824495c60e0379a6b62ef9f1993b0e18f09d322 @mathieuravaux mathieuravaux committed Feb 23, 2011
Showing with 7 additions and 5 deletions.
  1. +1 −2 lib/gattica.rb
  2. +3 −0 lib/gattica/version.rb
  3. +1 −1 test/test_auth.rb
  4. +1 −1 test/test_engine.rb
  5. +1 −1 test/test_user.rb
View
3 lib/gattica.rb
@@ -11,6 +11,7 @@
require 'yaml'
# internal
+require 'gattica/version'
require 'gattica/core_extensions'
require 'gattica/convertible'
require 'gattica/exceptions'
@@ -26,8 +27,6 @@
module Gattica
- VERSION = '0.3.2.scottp'
-
# Creates a new instance of Gattica::Engine and gets us going. Please see the README for usage docs.
#
# ga = Gattica.new({:email => 'anonymous@anon.com', :password => 'password, :profile_id => 123456 })
View
3 lib/gattica/version.rb
@@ -0,0 +1,3 @@
+module Gattica
+ VERSION = '0.3.3.mathieuravaux'
+end
View
2 test/test_auth.rb
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/helper'
+require File.expand_path('../helper', __FILE__)
class TestAuth < Test::Unit::TestCase
def setup
View
2 test/test_engine.rb
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/helper'
+require File.expand_path('../helper', __FILE__)
class TestEngine < Test::Unit::TestCase
def setup
View
2 test/test_user.rb
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/helper'
+require File.expand_path('../helper', __FILE__)
class TestUser < Test::Unit::TestCase
def setup

0 comments on commit 8824495

Please sign in to comment.
Something went wrong with that request. Please try again.