Skip to content
This repository has been archived by the owner on Mar 1, 2019. It is now read-only.

Commit

Permalink
Missing 1.92. requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmeyer committed Jul 16, 2015
1 parent df6bdeb commit 2386860
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/aruba/platform.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def ensure_newline(str)
end

def require_matching_files(pattern, base)
if RUBY_VERSION < '1.9.'
if RUBY_VERSION < '1.9.3'
::Dir.glob(::File.expand_path(pattern, base)).each { |f| require File.join(File.dirname(f), File.basename(f, '.rb')) }
else
::Dir.glob(::File.expand_path(pattern, base)).each { |f| require_relative f }
Expand Down Expand Up @@ -141,7 +141,7 @@ def relative_command?(path)

# Write to file
def write_file(path, content)
if RUBY_VERSION < '1.9'
if RUBY_VERSION < '1.9.3'
File.open(path, 'wb') do |f|
f.print content
end
Expand Down

0 comments on commit 2386860

Please sign in to comment.