amalgalite 2.0.0 → 2.1.0

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.
@@ -109,7 +109,7 @@ struct sqlite3_api_routines {
109
109
  const char * (*libversion)(void);
110
110
  int (*libversion_number)(void);
111
111
  void *(*malloc)(int);
112
- char * (*mprintf)(const char*,...);
112
+ char *(SQLITE_CDECL*mprintf)(const char*,...);
113
113
  int (*open)(const char*,sqlite3**);
114
114
  int (*open16)(const void*,sqlite3**);
115
115
  int (*prepare)(sqlite3*,const char*,int,sqlite3_stmt**,const char**);
@@ -130,11 +130,11 @@ struct sqlite3_api_routines {
130
130
  void (*result_text16be)(sqlite3_context*,const void*,int,void(*)(void*));
131
131
  void (*result_text16le)(sqlite3_context*,const void*,int,void(*)(void*));
132
132
  void (*result_value)(sqlite3_context*,sqlite3_value*);
133
- void * (*rollback_hook)(sqlite3*,void(*)(void*),void*);
133
+ void *(*rollback_hook)(sqlite3*,void(*)(void*),void*);
134
134
  int (*set_authorizer)(sqlite3*,int(*)(void*,int,const char*,const char*,
135
135
  const char*,const char*),void*);
136
136
  void (*set_auxdata)(sqlite3_context*,int,void*,void (*)(void*));
137
- char * (*xsnprintf)(int,char*,const char*,...);
137
+ char *(SQLITE_CDECL*xsnprintf)(int,char*,const char*,...);
138
138
  int (*step)(sqlite3_stmt*);
139
139
  int (*table_column_metadata)(sqlite3*,const char*,const char*,const char*,
140
140
  char const**,char const**,int*,int*,int*);
@@ -198,7 +198,7 @@ struct sqlite3_api_routines {
198
198
  int (*xthreadsafe)(void);
199
199
  void (*result_zeroblob)(sqlite3_context*,int);
200
200
  void (*result_error_code)(sqlite3_context*,int);
201
- int (*test_control)(int, ...);
201
+ int (SQLITE_CDECL*test_control)(int, ...);
202
202
  void (*randomness)(int,void*);
203
203
  sqlite3 *(*context_db_handle)(sqlite3_context*);
204
204
  int (*extended_result_codes)(sqlite3*,int);
@@ -218,11 +218,11 @@ struct sqlite3_api_routines {
218
218
  void (*xStep)(sqlite3_context*,int,sqlite3_value**),
219
219
  void (*xFinal)(sqlite3_context*),
220
220
  void(*xDestroy)(void*));
221
- int (*db_config)(sqlite3*,int,...);
221
+ int (SQLITE_CDECL*db_config)(sqlite3*,int,...);
222
222
  sqlite3_mutex *(*db_mutex)(sqlite3*);
223
223
  int (*db_status)(sqlite3*,int,int*,int*,int);
224
224
  int (*extended_errcode)(sqlite3*);
225
- void (*log)(int,const char*,...);
225
+ void (SQLITE_CDECL*log)(int,const char*,...);
226
226
  sqlite3_int64 (*soft_heap_limit64)(sqlite3_int64);
227
227
  const char *(*sourceid)(void);
228
228
  int (*stmt_status)(sqlite3_stmt*,int,int);
@@ -232,7 +232,7 @@ struct sqlite3_api_routines {
232
232
  int (*wal_checkpoint)(sqlite3*,const char*);
233
233
  void *(*wal_hook)(sqlite3*,int(*)(void*,sqlite3*,const char*,int),void*);
234
234
  int (*blob_reopen)(sqlite3_blob*,sqlite3_int64);
235
- int (*vtab_config)(sqlite3*,int op,...);
235
+ int (SQLITE_CDECL*vtab_config)(sqlite3*,int op,...);
236
236
  int (*vtab_on_conflict)(sqlite3*);
237
237
  /* Version 3.7.16 and later */
238
238
  int (*close_v2)(sqlite3*);
@@ -301,7 +301,7 @@ struct sqlite3_api_routines {
301
301
  int (*keyword_check)(const char*,int);
302
302
  sqlite3_str *(*str_new)(sqlite3*);
303
303
  char *(*str_finish)(sqlite3_str*);
304
- void (*str_appendf)(sqlite3_str*, const char *zFormat, ...);
304
+ void (SQLITE_CDECL*str_appendf)(sqlite3_str*, const char *zFormat, ...);
305
305
  void (*str_vappendf)(sqlite3_str*, const char *zFormat, va_list);
306
306
  void (*str_append)(sqlite3_str*, const char *zIn, int N);
307
307
  void (*str_appendall)(sqlite3_str*, const char *zIn);
@@ -371,7 +371,14 @@ struct sqlite3_api_routines {
371
371
  /* Version 3.51.0 and later */
372
372
  int (*set_errmsg)(sqlite3*,int,const char*);
373
373
  int (*db_status64)(sqlite3*,int,sqlite3_int64*,sqlite3_int64*,int);
374
-
374
+ /* Version 3.52.0 and later */
375
+ void (*str_truncate)(sqlite3_str*,int);
376
+ void (*str_free)(sqlite3_str*);
377
+ int (*carray_bind)(sqlite3_stmt*,int,void*,int,int,void(*)(void*));
378
+ int (*carray_bind_v2)(sqlite3_stmt*,int,void*,int,int,void(*)(void*),void*);
379
+ /* Version 3.54.0 and later */
380
+ sqlite3_int64 (*incomplete)(const char*);
381
+ void (*result_str)(sqlite3_context*,sqlite3_str*,int);
375
382
  };
376
383
 
377
384
  /*
@@ -710,6 +717,14 @@ typedef int (*sqlite3_loadext_entry)(
710
717
  /* Version 3.51.0 and later */
711
718
  #define sqlite3_set_errmsg sqlite3_api->set_errmsg
712
719
  #define sqlite3_db_status64 sqlite3_api->db_status64
720
+ /* Version 3.52.0 and later */
721
+ #define sqlite3_str_truncate sqlite3_api->str_truncate
722
+ #define sqlite3_str_free sqlite3_api->str_free
723
+ #define sqlite3_carray_bind sqlite3_api->carray_bind
724
+ #define sqlite3_carray_bind_v2 sqlite3_api->carray_bind_v2
725
+ /* Version 3.54.0 and later */
726
+ #define sqlite3_incomplete sqlite3_api->incomplete
727
+ #define sqlite3_result_str sqlite3_api->result_str
713
728
  #endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */
714
729
 
715
730
  #if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION)
@@ -4,5 +4,5 @@
4
4
  #++
5
5
 
6
6
  module Amalgalite
7
- VERSION = "2.0.0"
7
+ VERSION = "2.1.0"
8
8
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amalgalite
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Hinegardner
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-11-15 00:00:00.000000000 Z
10
+ date: 2026-10-27 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: csv
@@ -221,14 +221,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
221
221
  requirements:
222
222
  - - ">="
223
223
  - !ruby/object:Gem::Version
224
- version: 3.1.0
224
+ version: 3.2.0
225
225
  required_rubygems_version: !ruby/object:Gem::Requirement
226
226
  requirements:
227
227
  - - ">="
228
228
  - !ruby/object:Gem::Version
229
229
  version: '0'
230
230
  requirements: []
231
- rubygems_version: 3.6.9
231
+ rubygems_version: 4.0.20
232
232
  specification_version: 4
233
233
  summary: Amalgalite embeds the SQLite database engine as a ruby extension. There is
234
234
  no need to install SQLite separately.