wallets 0.4.2 → 0.4.3
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 30525c4168fc4fe526a19f8b53b07726accd6351867a03a3b1d91ca4b94d7355
|
|
4
|
+
data.tar.gz: 8a6d11d3cdae5ddec055ac6b6f4a8028f7ab17a6913f1395813911b4243fea41
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 066b9709bc06269facf1f86026f2f20d8759753e42e6eb5cb052e22002a0ad4e163b416c81458ff24485ce79e9e90c7a17c7edc70b42bbdcf703c9ecfc501ae8
|
|
7
|
+
data.tar.gz: b8b6aa97479b61fa96c150de76926ed388c29996de9e01eac84f1e0f5d6108fb3fa381c6f938dbb75c51432d70c42b6c513516369c5b176ddcb66fa6f23e41e0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [0.4.3] - 2026-10-19
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
|
|
5
|
+
- The install and upgrade migrations pick `jsonb` for the metadata columns on PostgreSQL under either of its adapter names: `PostGIS` (activerecord-postgis-adapter) was getting plain `json`. Found while moving CarHey to 0.4.2.
|
|
6
|
+
|
|
1
7
|
## [0.4.2] - 2026-10-18
|
|
2
8
|
|
|
3
9
|
### Fixed
|
|
@@ -110,7 +110,7 @@ class AddWalletsHolds < ActiveRecord::Migration<%= migration_version %>
|
|
|
110
110
|
end
|
|
111
111
|
|
|
112
112
|
def json_column_type
|
|
113
|
-
return :jsonb if connection.adapter_name.
|
|
113
|
+
return :jsonb if connection.adapter_name.match?(/postg/i) # PostgreSQL, and PostGIS, which is PostgreSQL under another name
|
|
114
114
|
|
|
115
115
|
:json
|
|
116
116
|
end
|
|
@@ -134,7 +134,7 @@ class CreateWalletsTables < ActiveRecord::Migration<%= migration_version %>
|
|
|
134
134
|
end
|
|
135
135
|
|
|
136
136
|
def json_column_type
|
|
137
|
-
return :jsonb if connection.adapter_name.
|
|
137
|
+
return :jsonb if connection.adapter_name.match?(/postg/i) # PostgreSQL, and PostGIS, which is PostgreSQL under another name
|
|
138
138
|
|
|
139
139
|
:json
|
|
140
140
|
end
|
data/lib/wallets/version.rb
CHANGED