trilogy 2.12.2 → 2.12.4

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: 858e7f5a3e8f897d422ea5a4bd2d92f38a0e53e2e99de1bce3260d6b725e82a6
4
- data.tar.gz: 365050e53fa2c8edb3127cc366005c6127a9070000c707d3b66b1429d9c7c908
3
+ metadata.gz: 9f4205f6f8754fd3b29bbf4d5ae3330e15b719565bbc9ab46039946cba683c1b
4
+ data.tar.gz: 65a8b6472442d8568b195fd45a61c0c337ef8507fa6528ebc1babf4e15ada1df
5
5
  SHA512:
6
- metadata.gz: a346b0a98843ed598dc30b9c8a81650424ffaddaa632405c3955942ad7cf74b9f0eba274721ec7270e637fe097915ef066e4300bd49fcb486e1062b389862b50
7
- data.tar.gz: 20c92cb9d43ad8eb6d9cec81a0213ac5ec9d08285aa7e5e9e81850086c2412b980111c5ab7f884a9246200e3d88d2919160cd97c5fc3342f2275445bc72dfcbc
6
+ metadata.gz: 3fd1f19a93dd462a532cf0d2afcea6ac9b0949da83bc51569c5de9f5eb31c681e4214c16caa8e5779a3a7d14996fd3f3bbdc363bde875899458584d84420fecc
7
+ data.tar.gz: 17a7c0129f4cf5acfcc7f2b85ca305506f87548660ad2419f973ca45f1bbd81b45f52df9255b628f4914ec7a749570329941b3d7fbb83546509780cca1843aba
@@ -10,7 +10,17 @@ File.binwrite("trilogy.c",
10
10
  }.join)
11
11
 
12
12
  $objs = %w[trilogy.o cast.o cext.o]
13
- append_cflags(["-I #{__dir__}/inc", "-std=gnu99", "-fvisibility=hidden", "-DTRILOGY_XALLOCATOR", "-g"])
13
+ append_cflags([
14
+ # Ref: https://github.com/trilogy-libraries/trilogy/issues/290
15
+ # Fix build on older ruby versions and Xcode 26.4+
16
+ "-Wno-default-const-init-field-unsafe",
17
+
18
+ "-I#{__dir__}/inc",
19
+ "-std=gnu99",
20
+ "-fvisibility=hidden",
21
+ "-DTRILOGY_XALLOCATOR",
22
+ "-g",
23
+ ])
14
24
 
15
25
  dir_config("openssl").any? || pkg_config("openssl")
16
26
 
@@ -1,3 +1,3 @@
1
1
  class Trilogy
2
- VERSION = "2.12.2"
2
+ VERSION = "2.12.4"
3
3
  end
data/lib/trilogy.rb CHANGED
@@ -22,7 +22,7 @@ class Trilogy
22
22
  super
23
23
  end
24
24
 
25
- synchronized_methods = Trilogy.public_instance_methods(false) - %i(closed?)
25
+ synchronized_methods = Trilogy.public_instance_methods(false) - %i(closed? server_version)
26
26
  source = synchronized_methods.flat_map do |method|
27
27
  [
28
28
  "def #{method}(...)",
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trilogy
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.12.2
4
+ version: 2.12.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub Engineering
8
+ autorequire:
8
9
  bindir: bin
9
10
  cert_chain: []
10
- date: 1980-01-02 00:00:00.000000000 Z
11
+ date: 2026-04-18 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: bigdecimal
@@ -23,6 +24,7 @@ dependencies:
23
24
  - - ">="
24
25
  - !ruby/object:Gem::Version
25
26
  version: '0'
27
+ description:
26
28
  email: opensource+trilogy@github.com
27
29
  executables: []
28
30
  extensions:
@@ -73,6 +75,7 @@ homepage: https://github.com/trilogy-libraries/trilogy
73
75
  licenses:
74
76
  - MIT
75
77
  metadata: {}
78
+ post_install_message:
76
79
  rdoc_options: []
77
80
  require_paths:
78
81
  - lib
@@ -87,7 +90,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
90
  - !ruby/object:Gem::Version
88
91
  version: '0'
89
92
  requirements: []
90
- rubygems_version: 4.0.6
93
+ rubygems_version: 3.5.22
94
+ signing_key:
91
95
  specification_version: 4
92
96
  summary: A friendly MySQL-compatible library for Ruby, binding to libtrilogy
93
97
  test_files: []