Skip to content

Commit

Permalink
Merge pull request #516 from yahonda/ruby250
Browse files Browse the repository at this point in the history
CI with Ruby 2.5.0
  • Loading branch information
rafaelfranca committed Jan 26, 2018
2 parents df2b74b + cbbe9ed commit eb3f968
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ rvm:
- 2.2.8
- 2.3.5
- 2.4.2
- 2.5.0
- ruby-head
- jruby-9.1.12.0
- jruby-head
Expand All @@ -21,6 +22,8 @@ matrix:
- rvm: jruby-9.1.12.0
- rvm: jruby-head
bundler_args: --jobs 3 --retry 3
before_install:
- "travis_retry gem update --system"
notifications:
email: false
irc:
Expand Down
2 changes: 2 additions & 0 deletions test/support/fake_record.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# frozen_string_literal: true

require 'date'
module FakeRecord
class Column < Struct.new(:name, :type)
end
Expand Down
2 changes: 1 addition & 1 deletion test/visitors/test_to_sql.rb
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def dispatch
end

it "should visit_BigDecimal" do
compile Nodes.build_quoted(BigDecimal.new('2.14'))
compile Nodes.build_quoted(BigDecimal('2.14'))
end

it "should visit_Date" do
Expand Down

0 comments on commit eb3f968

Please sign in to comment.