amalgalite 1.9.0-x64-mingw-ucrt → 1.9.4-x64-mingw-ucrt
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +12 -0
- data/ext/amalgalite/c/sqlite3.c +16397 -5973
- data/ext/amalgalite/c/sqlite3.h +508 -123
- data/ext/amalgalite/c/sqlite3ext.h +10 -0
- data/lib/amalgalite/3.1/amalgalite.so +0 -0
- data/lib/amalgalite/version.rb +1 -1
- data/lib/amalgalite.rb +1 -1
- data/spec/sqlite3/version_spec.rb +7 -7
- data/tasks/default.rake +1 -1
- metadata +2 -2
@@ -361,6 +361,11 @@ struct sqlite3_api_routines {
|
|
361
361
|
int (*value_encoding)(sqlite3_value*);
|
362
362
|
/* Version 3.41.0 and later */
|
363
363
|
int (*is_interrupted)(sqlite3*);
|
364
|
+
/* Version 3.43.0 and later */
|
365
|
+
int (*stmt_explain)(sqlite3_stmt*,int);
|
366
|
+
/* Version 3.44.0 and later */
|
367
|
+
void *(*get_clientdata)(sqlite3*,const char*);
|
368
|
+
int (*set_clientdata)(sqlite3*, const char*, void*, void(*)(void*));
|
364
369
|
};
|
365
370
|
|
366
371
|
/*
|
@@ -689,6 +694,11 @@ typedef int (*sqlite3_loadext_entry)(
|
|
689
694
|
#define sqlite3_value_encoding sqlite3_api->value_encoding
|
690
695
|
/* Version 3.41.0 and later */
|
691
696
|
#define sqlite3_is_interrupted sqlite3_api->is_interrupted
|
697
|
+
/* Version 3.43.0 and later */
|
698
|
+
#define sqlite3_stmt_explain sqlite3_api->stmt_explain
|
699
|
+
/* Version 3.44.0 and later */
|
700
|
+
#define sqlite3_get_clientdata sqlite3_api->get_clientdata
|
701
|
+
#define sqlite3_set_clientdata sqlite3_api->set_clientdata
|
692
702
|
#endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */
|
693
703
|
|
694
704
|
#if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION)
|
Binary file
|
data/lib/amalgalite/version.rb
CHANGED
data/lib/amalgalite.rb
CHANGED
@@ -21,7 +21,7 @@ end
|
|
21
21
|
# this is the method recommended by rake-compiler
|
22
22
|
begin
|
23
23
|
# this will be for windows
|
24
|
-
require "amalgalite/#{RUBY_VERSION.sub(/\.\d
|
24
|
+
require "amalgalite/#{RUBY_VERSION.sub(/\.\d+$/,'')}/amalgalite"
|
25
25
|
rescue LoadError
|
26
26
|
# everyone else.
|
27
27
|
require 'amalgalite/amalgalite'
|
@@ -7,21 +7,21 @@ describe "Amalgalite::SQLite3::Version" do
|
|
7
7
|
expect(Amalgalite::SQLite3::Version.to_s).to match( /\d+\.\d+\.\d+/ )
|
8
8
|
expect(Amalgalite::SQLite3::Version.runtime_version).to match( /\d+\.\d+\.\d+/ )
|
9
9
|
|
10
|
-
Amalgalite::SQLite3::Version.to_i.should eql(
|
11
|
-
Amalgalite::SQLite3::Version.runtime_version_number.should eql(
|
10
|
+
Amalgalite::SQLite3::Version.to_i.should eql(3045001)
|
11
|
+
Amalgalite::SQLite3::Version.runtime_version_number.should eql(3045001)
|
12
12
|
|
13
13
|
Amalgalite::SQLite3::Version::MAJOR.should eql(3)
|
14
|
-
Amalgalite::SQLite3::Version::MINOR.should eql(
|
15
|
-
Amalgalite::SQLite3::Version::RELEASE.should eql(
|
14
|
+
Amalgalite::SQLite3::Version::MINOR.should eql(45)
|
15
|
+
Amalgalite::SQLite3::Version::RELEASE.should eql(1)
|
16
16
|
expect(Amalgalite::SQLite3::Version.to_a.size).to eql(3)
|
17
17
|
|
18
|
-
Amalgalite::SQLite3::Version.compiled_version.should be == "3.
|
19
|
-
Amalgalite::SQLite3::Version.compiled_version_number.should be ==
|
18
|
+
Amalgalite::SQLite3::Version.compiled_version.should be == "3.45.1"
|
19
|
+
Amalgalite::SQLite3::Version.compiled_version_number.should be == 3045001
|
20
20
|
Amalgalite::SQLite3::Version.compiled_matches_runtime?.should be == true
|
21
21
|
end
|
22
22
|
|
23
23
|
it "should have the sqlite3 source id" do
|
24
|
-
source_id = "
|
24
|
+
source_id = "2024-01-30 16:01:20 e876e51a0ed5c5b3126f52e532044363a014bc594cfefa87ffb5b82257cc467a"
|
25
25
|
Amalgalite::SQLite3::Version.compiled_source_id.should be == source_id
|
26
26
|
Amalgalite::SQLite3::Version.runtime_source_id.should be == source_id
|
27
27
|
end
|
data/tasks/default.rake
CHANGED
@@ -153,7 +153,7 @@ namespace :fixme do
|
|
153
153
|
|
154
154
|
def local_fixme_files
|
155
155
|
local_files = This.manifest.select { |p| p =~ %r|^tasks/| }
|
156
|
-
local_files
|
156
|
+
local_files.concat( Dir.glob( ".semaphore/*" ) )
|
157
157
|
end
|
158
158
|
|
159
159
|
def outdated_fixme_files
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amalgalite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.4
|
5
5
|
platform: x64-mingw-ucrt
|
6
6
|
authors:
|
7
7
|
- Jeremy Hinegardner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: arrayfields
|