Skip to content

Commit

Permalink
Merge pull request #29 from andreanastacio/28-jruby-support
Browse files Browse the repository at this point in the history
add jruby support
  • Loading branch information
makaroni4 committed May 5, 2015
2 parents 8b709ca + dbf12e1 commit 73abf8c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@ rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- jruby-19mode
- jruby-20mode
- jruby-head
script:
- bundle exec rake debug

2 changes: 1 addition & 1 deletion lib/sandi_meter/warning_scanner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def scan(source)

private
def validate(source)
Open3.capture3('ruby -wc', stdin_data: source)
Open3.capture3("#{RUBY_ENGINE} -wc", stdin_data: source)
end

def check_syntax(status)
Expand Down

0 comments on commit 73abf8c

Please sign in to comment.