Permalink
Browse files

- Fixed dependencies so heckle doesn't use ruby_parser 3 and friends

[git-p4: depot-paths = "//src/heckle/dev/": change = 7358]
  • Loading branch information...
1 parent 68e0def commit 449beb470ae2da3d2fed43f7332a2d8ce6111448 @zenspider zenspider committed Apr 18, 2012
Showing with 16 additions and 8 deletions.
  1. +4 −2 .autotest
  2. +8 −6 Rakefile
  3. +4 −0 test/fixtures/heckled.rb
View
@@ -3,10 +3,12 @@
require 'autotest/restart'
Autotest.add_hook :initialize do |at|
+ at.libs << ":../../ParseTree/dev/lib"
+ at.libs << ":../../ParseTree/dev/test"
at.libs << ":../../RubyInline/dev/lib"
- at.libs << ":../../ParseTree/dev/lib:../../ParseTree/dev/test"
+ at.libs << ":../../ruby2ruby/1.3.1/lib"
+ at.libs << ":../../ZenTest/dev/lib"
at.libs << ":../../sexp_processor/dev/lib"
- at.libs << ":../../ruby2ruby/dev/lib"
%w(Dasgn Iter Dasgncurr Cvasgn Boolean Call Callblock
ClassMethod Gasgn Iasgn If Lasgn Masgn Ranges Regexes
View
@@ -6,7 +6,7 @@ require 'hoe'
Hoe.add_include_dirs("../../ParseTree/dev/lib",
"../../ParseTree/dev/test",
"../../RubyInline/dev/lib",
- "../../ruby2ruby/dev/lib",
+ "../../ruby2ruby/1.3.1/lib",
"../../ZenTest/dev/lib",
"../../sexp_processor/dev/lib",
"lib")
@@ -20,11 +20,13 @@ Hoe.spec 'heckle' do
self.rubyforge_name = 'seattlerb'
- clean_globs << File.expand_path("~/.ruby_inline")
- extra_deps << ['ParseTree', '>= 2.0.0']
- extra_deps << ['ruby2ruby', '>= 1.1.6']
- extra_deps << ['ZenTest', '>= 3.5.2']
- multiruby_skip << "1.9"
+ clean_globs << File.expand_path("~/.ruby_inline")
+
+ dependency 'ParseTree', '~> 2.2.0'
+ dependency 'ruby2ruby', '~> 1.3.0'
+ dependency 'ZenTest', '~> 4.7.0'
+
+ multiruby_skip << "1.9" << "trunk"
end
# vim: syntax=ruby
View
@@ -96,6 +96,10 @@ def uses_different_types
c = 3.3
end
+ def uses_literal
+ i = 1
+ end
+
def uses_same_literal
i = 1
i = 1

0 comments on commit 449beb4

Please sign in to comment.