legion-data 1.6.0 → 1.6.1

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: 7d7162dcd4c845698a6c47a4a39f5c70b9da51a5bac097ec9f631934d31716ac
4
- data.tar.gz: 13af3da2d55afaec4c54ad77ba97d23d7ebaa35789b22bbb9f6cbe1049751191
3
+ metadata.gz: '02869f702b7e4ca994edd3fd2b503afa5cca4d450741ab99ed85277315c90ceb'
4
+ data.tar.gz: 83b8136412ae23993b823e9548f8cf341f66c5f8e37f4002a326ec60e9a8c375
5
5
  SHA512:
6
- metadata.gz: 8a67d01180e7ec8df32339a2e7bfe3a28f972176d2ac921fbaebc78c3194d098e9d11ddc01fb84db65cda53aaa42ee488c928d68583cecacdefe78eefbe313ba
7
- data.tar.gz: 7d4f7e00c415d7af0975d575617221d0c010fb3cff4d4c1fae7c4562ee817fd135236ba7b466048fddd8b1c5d06eb84029a3da61c6f900055fab225861efe453
6
+ metadata.gz: fbe190c50347a42a28b53627c8a66cf951168c606454672a9f1219cb21373cba8ce0f6da7c557c360c16127ba7cacf317cad2a47b296c72f495581e2253e2128
7
+ data.tar.gz: 90e3ca22009bff85eccfa9a8803a5fac9563389518b4ae26145561e1d7600b80d432bd8015677c3b64d35f38e9ed42338f82acfa9a549e490201db53342e0a65
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Legion::Data Changelog
2
2
 
3
+ ## [1.6.1] - 2026-03-25
4
+
5
+ ### Fixed
6
+ - Load Sequel `pg_array` extension on Postgres connections — required by Apollo for `text[]` column inserts
7
+
3
8
  ## [1.6.0] - 2026-03-25
4
9
 
5
10
  ### Fixed
@@ -448,6 +448,11 @@ module Legion
448
448
 
449
449
  data = Legion::Settings[:data]
450
450
 
451
+ if adapter == :postgres
452
+ Sequel.extension(:pg_array)
453
+ @sequel.extension(:pg_array)
454
+ end
455
+
451
456
  if data[:connection_validation] != false
452
457
  @sequel.extension(:connection_validator)
453
458
  @sequel.pool.connection_validation_timeout = data[:connection_validation_timeout] || 600
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Legion
4
4
  module Data
5
- VERSION = '1.6.0'
5
+ VERSION = '1.6.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: legion-data
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esity