Skip to content

Commit

Permalink
AVRO-3921: [ruby] Test against Ruby 3.3 (#2655)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjwp authored Dec 28, 2023
1 parent 8e651d8 commit a0b277f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test-lang-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
- '3.0'
- '3.1'
- '3.2'
- '3.3'
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -83,6 +84,7 @@ jobs:
- '3.0'
- '3.1'
- '3.2'
- '3.3'
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -165,4 +167,4 @@ jobs:
- name: Build
run: |
set -x
./build.sh clean test
./build.sh clean test
4 changes: 2 additions & 2 deletions lang/ruby/test/test_logical_types.rb
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def test_logical_type_default_value
"null"
],
"default": "\u0000"
}
}
]
}')

Expand Down Expand Up @@ -215,7 +215,7 @@ def test_logical_type_default_value
sales_tax_record = {
"sales" => BigDecimal("12.34"),
"tax" => BigDecimal("0.000"),
"invoice_date" => Time.at(0).to_date,
"invoice_date" => Date.new(1970, 1, 1),
# time-millis is not supported
"invoice_time" => 0,
"created_at" => Time.at(0).utc,
Expand Down

0 comments on commit a0b277f

Please sign in to comment.