foobara-postgresql-crud-driver 0.0.2 → 0.0.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: 2c60c0ece1c82cdea8fea28a1579d58be6d2973b1d6fc735be40f2e0c72ebda2
4
- data.tar.gz: 91377b7fac30132168e9a2bddd5bc61461ce63b1fbaf729f8211493d39532904
3
+ metadata.gz: 6846188257d6cad52ea962972ddd82f82d72162ea0a46df18983a92bb3c2b444
4
+ data.tar.gz: 349cb1d585f814335f083ed9cb5105a42bb9e9b10a8a8e5f9fa6444b3670dcfd
5
5
  SHA512:
6
- metadata.gz: ca410fcf04cbdb9c848907d2bbb659fceec19b6ced4076de1111d7587f2574601abac17f2654761b1bdbd2e12c251f7da58f6c937dd77848894f0d292e7dea80
7
- data.tar.gz: 809b958eadea2ff275d8ac8ee45d99c68ed6d5cf918025bd6487c5d8976bae0f6fba5f1186a52673769f2f11bd99b145222a770a944bafaa498d28f17036683d
6
+ metadata.gz: 516fede04188fb07fdb5b62be6400cdaf507c3d7b1ffc961ec5045591f9257c1bbeca2967dd21a12a6e96484690b30344422509e7a4ea5dc5724afab426223d0
7
+ data.tar.gz: 4cab91509e1450dceafe8bcd022f25f48af4d52906a0d9b5c4a86d75cb1520f5347bf96b4b3f76c09bbb9cdb053e9fd03d8009f77d931831db9e1cfb5c291efa
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.0.3] - 2025-10-21
2
+
3
+ - Pass through options to EntityAttributesCrudDriver instead of disallowing them
4
+
1
5
  ## [0.0.2] - 2025-08-22
2
6
 
3
7
  - Mark as compatible with Foobara 0.1.0
@@ -39,10 +39,10 @@ module Foobara
39
39
 
40
40
  attr_accessor :creds, :transaction_number
41
41
 
42
- # We intentionally don't call super because super would open a connection which we do not want
43
- # since we want one connection per transaction.
44
- # rubocop:disable Lint/MissingSuper
45
- def initialize(connection_or_credentials = nil)
42
+ def initialize(connection_or_credentials = nil, **)
43
+ # We will manage the connections ourselves and don't want to automatically open one now
44
+ super(**, connect: false)
45
+
46
46
  self.transaction_number = self.class.get_transaction_number
47
47
  self.tables = {}
48
48
  self.creds = case connection_or_credentials
@@ -59,7 +59,6 @@ module Foobara
59
59
  # :nocov:
60
60
  end
61
61
  end
62
- # rubocop:enable Lint/MissingSuper
63
62
 
64
63
  def open_connection
65
64
  PG.connect(creds)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-postgresql-crud-driver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi