Skip to content

Commit eb3f968

Browse files
authored
Merge pull request #516 from yahonda/ruby250
CI with Ruby 2.5.0
2 parents df2b74b + cbbe9ed commit eb3f968

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ rvm:
1111
- 2.2.8
1212
- 2.3.5
1313
- 2.4.2
14+
- 2.5.0
1415
- ruby-head
1516
- jruby-9.1.12.0
1617
- jruby-head
@@ -21,6 +22,8 @@ matrix:
2122
- rvm: jruby-9.1.12.0
2223
- rvm: jruby-head
2324
bundler_args: --jobs 3 --retry 3
25+
before_install:
26+
- "travis_retry gem update --system"
2427
notifications:
2528
email: false
2629
irc:

test/support/fake_record.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# frozen_string_literal: true
2+
3+
require 'date'
24
module FakeRecord
35
class Column < Struct.new(:name, :type)
46
end

test/visitors/test_to_sql.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def dispatch
233233
end
234234

235235
it "should visit_BigDecimal" do
236-
compile Nodes.build_quoted(BigDecimal.new('2.14'))
236+
compile Nodes.build_quoted(BigDecimal('2.14'))
237237
end
238238

239239
it "should visit_Date" do

0 commit comments

Comments
 (0)