Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Travis builds #767

Merged
4 commits merged into from
Apr 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ services:
- postgresql
rvm:
- jruby-9.1.14.0
- 2.4.2
- 2.3.5
- 2.2.8
- 2.5.1
- 2.4.4
- 2.3.3
- 2.2.6
before_install:
- gem update --system
- gem install bundler
script: bundle exec rake build spec
7 changes: 1 addition & 6 deletions lib/cosmos/utilities/ruby_lex_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def each_lexed_segment(text)
else
yield lexed, false, inside_begin, line_no
end
else
elsif !lexed.empty?
num_left_brackets = lexed.count('{')
num_right_brackets = lexed.count('}')
if num_left_brackets != num_right_brackets
Expand All @@ -300,14 +300,9 @@ def each_lexed_segment(text)
yield lexed, true, inside_begin, line_no
end
end

lex.exp_line_no = lex.line_no

break
end # loop do

end # while lexed

end # def each_lexed_segment

end