activerecord-cockroachdb-adapter 7.2.1 → 7.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/active_record/connection_adapters/cockroachdb_adapter.rb +3 -4
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 913fb9d4adb774cede984f4e707dab5cd49cea139d2195e11319a12b719b195c
|
4
|
+
data.tar.gz: 2d721a7f241acd3e9bf18bca828d493e81b35d327f5601c28fab52a9280dd21f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83a959c8c01067449bca7d723c90c2bbaebe15072102e214141204bda3720f9cb9b88ce354af5e084a62759c1da2361276a80e69a09da0d4316e0d8024b38956
|
7
|
+
data.tar.gz: c2f2d1e0d28ec926f635495dd840de5a0b288c7828a29bf2d72914f664e80cdb280d1253dc17f107da63df037036dd3145586cc6f4dc54f0a58f68990d1880d8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 7.2.2 - 2025-08-20
|
4
|
+
|
5
|
+
- Fixed the handling of column comments that end in a single quote ([#384](https://github.com/cockroachdb/activerecord-cockroachdb-adapter/pull/384))
|
6
|
+
|
3
7
|
## 7.2.1 - 2025-03-26
|
4
8
|
|
5
9
|
- Fix transaction state on rollback ([#364](https://github.com/cockroachdb/activerecord-cockroachdb-adapter/pull/364))
|
@@ -407,7 +407,7 @@ module ActiveRecord
|
|
407
407
|
fields.map do |field|
|
408
408
|
dtype = field[1]
|
409
409
|
field[1] = crdb_fields[field[0]][2].downcase if re.match(dtype)
|
410
|
-
field[7] = crdb_fields[field[0]][1]
|
410
|
+
field[7] = crdb_fields[field[0]][1]
|
411
411
|
field[10] = true if crdb_fields[field[0]][3]
|
412
412
|
field
|
413
413
|
end
|
@@ -438,9 +438,8 @@ module ActiveRecord
|
|
438
438
|
WHERE c.table_name = #{quote(table)}#{with_schema}
|
439
439
|
SQL
|
440
440
|
|
441
|
-
fields.
|
442
|
-
|
443
|
-
a
|
441
|
+
fields.to_h do |field|
|
442
|
+
[field.first, field]
|
444
443
|
end
|
445
444
|
end
|
446
445
|
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-cockroachdb-adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.2.
|
4
|
+
version: 7.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cockroach Labs
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|