File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 7.0.2 - 2023-05-23
4+
5+ - Fix default numbers test to expect the correct result after
6+ https://github.com/cockroachdb/cockroach/pull/102299 was merged.
7+
38## 7.0.1 - 2023-03-24
49
510- Reconnect on retryable connection errors.
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22
33module ActiveRecord
4- COCKROACH_DB_ADAPTER_VERSION = "7.0.1 "
4+ COCKROACH_DB_ADAPTER_VERSION = "7.0.2 "
55end
Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ class DefaultNumber < ActiveRecord::Base; end
3636 @connection . drop_table :default_numbers , if_exists : true
3737 end
3838
39- def test_default_decimal_number_in_scientific_notation
39+ def test_default_decimal_zero_with_large_scale
4040 record = DefaultNumber . new
4141 assert_equal 0.0 , record . decimal_number
42- assert_equal "0.0 " , record . decimal_number_before_type_cast
42+ assert_equal "0.0000000000000000 " , record . decimal_number_before_type_cast
4343 end
4444 end
4545end
You can’t perform that action at this time.
0 commit comments