activerecord-jdbc-alt-adapter 72.0.0.rc2-java → 72.0.0.rc3-java

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: dafecd441b97c213a72c5ae9c1c486a62a8fb4c72dd9e95e7ba312bbb481b2d0
4
- data.tar.gz: 46a37a4c9016a716dea9499872f31201b52185087b681386a876674dda26148f
3
+ metadata.gz: 7f13e7b4fa08bfb67f978fad2353bd633bd0420848babe30b611949d69667e77
4
+ data.tar.gz: 35ce8492f5985337a6f2ca02beac9eb38a0a3b9fc5957d816c39bf2da0790687
5
5
  SHA512:
6
- metadata.gz: e798446777f566110b2a17c34fdda5f1a872a6e5818c1a5eabb0cf5de762c7ecc6b4d077eaec45f27ac7a694ef3bef6efe88747992c896b486c3a9c269cef904
7
- data.tar.gz: 5df07f076775d2933c619f8987356dcfe41538edf14ddd6d78a990c7384cc6552c44928c6a7749f23891131ac488390b4ef346aafb14b5c72aadd2d752f188ea
6
+ metadata.gz: 897405b85f5f90c962ca468c600ec44ca12d3cb0f058be273d9944dc998531e03daebf6f80a0cd8ad9cf7367fa90a7b811e7fc5282fc46a503dd987ef628f1f4
7
+ data.tar.gz: 6a85da335eaf8ecfd708bc6641ec58c7665bdba75784e57d4c3ee33540c5e7d42904ae87587d00ebb304cebc3e94a0d0bebf3f48e74dc7a41103ca1f22960a42
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ArJdbc
4
- VERSION = "72.0.0.rc2"
4
+ VERSION = "72.0.0.rc3"
5
5
  end
@@ -674,22 +674,22 @@ public class PostgreSQLRubyJdbcConnection extends arjdbc.jdbc.RubyJdbcConnection
674
674
  final int index, final IRubyObject value,
675
675
  final IRubyObject attribute, final int type) throws SQLException {
676
676
 
677
- if ( attributeSQLType(context, attribute) == context.nil ) {
678
- /*
679
- We have to check for a uuid here because in some cases
680
- (for example, when doing "exists?" checks, or with legacy binds)
681
- ActiveRecord doesn't send us the actual type of the attribute
682
- and Postgres won't compare a uuid column with a string
683
- */
684
- final String uuid = value.toString();
685
- int length = uuid.length();
686
-
687
- // Checking the length so we don't have the overhead of the regex unless it "looks" like a UUID
688
- if (length >= 32 && length < 40 && uuidPattern.matcher(uuid).matches()) {
689
- setUUIDParameter(statement, index, uuid);
690
- return;
691
- }
692
- }
677
+ // if ( attributeSQLType(context, attribute) == context.nil ) {
678
+ // /*
679
+ // We have to check for a uuid here because in some cases
680
+ // (for example, when doing "exists?" checks, or with legacy binds)
681
+ // ActiveRecord doesn't send us the actual type of the attribute
682
+ // and Postgres won't compare a uuid column with a string
683
+ // */
684
+ // final String uuid = value.toString();
685
+ // int length = uuid.length();
686
+
687
+ // // Checking the length so we don't have the overhead of the regex unless it "looks" like a UUID
688
+ // if (length >= 32 && length < 40 && uuidPattern.matcher(uuid).matches()) {
689
+ // setUUIDParameter(statement, index, uuid);
690
+ // return;
691
+ // }
692
+ // }
693
693
 
694
694
  statement.setObject(index, value.asString().toString(), Types.OTHER);
695
695
  }
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-jdbc-alt-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 72.0.0.rc2
4
+ version: 72.0.0.rc3
5
5
  platform: java
6
6
  authors:
7
7
  - Nick Sieger, Ola Bini, Karol Bucek, Jesse Chavez, and JRuby contributors
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-09-28 00:00:00.000000000 Z
10
+ date: 2025-10-17 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: activerecord