Permalink
Browse files

- Fixed dependencies to ensure they're not going to use ruby_parser 3…

… and friends.

[git-p4: depot-paths = "//src/ParseTree/dev/": change = 7357]
  • Loading branch information...
1 parent e69e521 commit a84afd88c6876207253587dfa944947a437e4804 @zenspider zenspider committed Apr 18, 2012
Showing with 7 additions and 6 deletions.
  1. +2 −2 .autotest
  2. +4 −3 Rakefile
  3. +1 −1 test/test_parse_tree_extensions.rb
View
@@ -3,12 +3,12 @@
require 'autotest/restart'
Autotest.add_hook :initialize do |at|
- at.libs << ":../../sexp_processor/dev/lib"
+ at.libs << ":../../sexp_processor/3.2.0/lib"
at.libs << ":../../RubyInline/dev/lib"
at.libs << ":../../ZenTest/dev/lib"
at.libs << ":../../minitest/dev/lib"
- at.extra_files << "../../sexp_processor/dev/lib/pt_testcase.rb"
+ at.extra_files << "../../sexp_processor/dev/3.2.0/pt_testcase.rb"
at.extra_class_map["TestRawParseTree"] = "test/test_parse_tree.rb"
at.extra_class_map["R2RTestCase"] = "test/test_parse_tree_extensions.rb"
View
@@ -4,7 +4,7 @@ require 'rubygems'
require 'hoe'
Hoe.add_include_dirs("../../RubyInline/dev/lib",
- "../../sexp_processor/dev/lib",
+ "../../sexp_processor/3.2.0/lib",
"../../ZenTest/dev/lib",
"lib")
@@ -14,8 +14,9 @@ Hoe.spec "ParseTree" do
developer 'Ryan Davis', 'ryand-ruby@zenspider.com'
clean_globs << File.expand_path("~/.ruby_inline")
- extra_deps << ['RubyInline', '>= 3.7.0']
- extra_deps << ['sexp_processor', '>= 3.0.0']
+
+ dependency 'RubyInline', '~> 3.9.0'
+ dependency 'sexp_processor', '~> 3.2.0'
spec_extras[:require_paths] = proc { |paths| paths << 'test' }
@@ -3,7 +3,7 @@
require 'parse_tree_extensions'
require 'tmpdir'
-$: << "../../ruby2ruby/dev/lib" # unoffical dependency - user responsibility
+$: << "../../ruby2ruby/1.3.1/lib" # unoffical dependency - user responsibility
require 'ruby2ruby'
class R2RTestCase < MiniTest::Unit::TestCase

0 comments on commit a84afd8

Please sign in to comment.