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: d628d500b3ad1dfb236b6181fe30f976ae450aa9d4b8d8f5eb609969c6d59e66
4
- data.tar.gz: 7c91562327a82f56429055df8f5b40e5644a226b7a83bfde9ed3cb68628faec0
3
+ metadata.gz: 30525c4168fc4fe526a19f8b53b07726accd6351867a03a3b1d91ca4b94d7355
4
+ data.tar.gz: 8a6d11d3cdae5ddec055ac6b6f4a8028f7ab17a6913f1395813911b4243fea41
5
5
  SHA512:
6
- metadata.gz: 8dd70a121851414b83efe8b1db52fff694a9c5b8a624135413d19c0e47d2a641538464d23879f3bbece40dacb87983cbe8af9f6ff6ed54d129127ef256de81c4
7
- data.tar.gz: 903e0a69db10cf20c2502ff86a5914ffcbad2713cee1ae6e6f8591c53b52bae9fdfc61f61defe79130be9b5f9a496f849a6f6cbbaea2e5977e34a6e34751b82f
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.downcase.include?("postgresql")
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.downcase.include?("postgresql")
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Wallets
4
- VERSION = "0.4.2"
4
+ VERSION = "0.4.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wallets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - rameerez