amalgalite 1.7.0-x86-mingw32 → 1.9.0-x86-mingw32

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: 6860e818e8bcbc729061035834f7cd52eb8f29c12cd522705ab9a382102c73bd
4
- data.tar.gz: cbbb6ec1498fe7ddadd8aa7d96beb5b86c70686e0745b3ecd05da0e2b53bd3bd
3
+ metadata.gz: 827ecc23ae91c820170338be138d151677f2d474e61d3a224bd97477df5f1fad
4
+ data.tar.gz: 4745273f5b34262add044d5d94d64b8d7ecb252db18a038ab77c45599063f935
5
5
  SHA512:
6
- metadata.gz: 12b6eedca1401172614802ee99d6306be4eed63767d43e81500c0499a4e6436105be869994beec5c22498613f6cef07fabae265948dc5ca035dd3a1145a9e02e
7
- data.tar.gz: eb5b0584dff7e11c3eaea89d61f32e06d09a8eda46dd6d9e2e613ac867b430398104e994fde804063301e631e50fe37674597981b76c3b2f586800224d517a8a
6
+ metadata.gz: 57adc258a95efb068fa29a46b99554e04668894d3a7db9cd018d0a3700e7c330abb11cbfc4fc812d4fe6aa828c9a377378187e95b6fcae45677a83d8786a86ed
7
+ data.tar.gz: d0c1fa086133c44d967f06b2c68542552a41f070cac0810a57ac6c3d43d24a4d724999e67237b9c637069bc48b59329024d9190af0b717ff7ae497a0441a3150
data/HISTORY.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # Amalgalite Changelog
2
2
 
3
+ ## Version 1.9.0 - 2023-04-20
4
+ * Update SQLite to 3.41.2
5
+ * Update required_ruby_version in gemspec to >= 2.3.0
6
+ * Update ruby compatability testing matrix to latest patch versions
7
+ * update compile time options
8
+ * remove SQLITE_ENABLE_DESERIALIZE - it is now default on
9
+ * remove SQLITE_ENABLE_JSON1 - it is now default on
10
+ * add SQLITE_ENABLE_MATH_FUNCTIONS
11
+ * add SQLITE_ENABLE_NORMALIZE
12
+ * add SQLITE_ENABLE_SOUNDEX
13
+ * add -Wundef to reduce compiler warnings from sqlite on clang
14
+ * fix a compiler warning in the extension code
15
+
16
+ ## Version 1.8.0 - 2023-02-06
17
+ * Update SQLite to 3.40.1
18
+ * Update ruby compaibility to 2.5 -> 3.2
19
+
20
+ ## Version 1.7.2 - 2022-06-17
21
+
22
+ * Update SQLIte to 3.38.5
23
+ * Update ruby compatability testing to 2.5 -> 3.1
24
+
25
+ ## Version 1.7.1 - 2021
26
+
27
+ * Update SQLite to 3.34.1
28
+
3
29
  ## Version 1.7.0 - 2021-01-13
4
30
 
5
31
  * Update to SQLite to 3.34.0
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  BSD License - https://opensource.org/licenses/BSD-3-Clause
2
2
 
3
- Copyright (c) 2008-2012 Jeremy Hinegardner
3
+ Copyright (c) 2008-2022 Jeremy Hinegardner
4
4
 
5
5
  All rights reserved.
6
6
 
data/README.md CHANGED
@@ -1,7 +1,8 @@
1
1
  ## Amalgalite
2
2
 
3
+ [![Build Status](https://copiousfreetime.semaphoreci.com/badges/amalgalite/branches/main.svg?key=6d8f47c8-bfc7-4969-a128-424478908a27)](https://copiousfreetime.semaphoreci.com/projects/amalgalite)
4
+
3
5
  * [Homepage](http://github.com/copiousfreetime/amalgalite)
4
- * email jeremy at copiousfreetime dot org
5
6
  * `git clone git://github.com/copiousfreetime/amalgalite.git`
6
7
  * [Github](http://github.com/copiousfreetime/amalgalite/)
7
8
  * [Bug Tracking](http://github.com/copiousfreetime/amalgalite/issues)
@@ -16,7 +17,7 @@
16
17
 
17
18
  ## DESCRIPTION
18
19
 
19
- Amalgalite embeds the SQLite database engine in a ruby extension. There is no
20
+ Amalgalite embeds the SQLite database engine as a ruby extension. There is no
20
21
  need to install SQLite separately.
21
22
 
22
23
  Look in the examples/ directory to see
data/Rakefile CHANGED
@@ -9,16 +9,17 @@ This.homepage = "http://github.com/copiousfreetime/#{ This.name }"
9
9
  This.ruby_gemspec do |spec|
10
10
  spec.add_dependency( 'arrayfields', '~> 4.9' )
11
11
 
12
- spec.add_development_dependency( 'rspec' , '~> 3.0' )
13
- spec.add_development_dependency( 'rake' , '~> 13.0')
14
- spec.add_development_dependency( 'rake-compiler', '~> 1.0' )
15
- spec.add_development_dependency( 'rake-compiler-dock', '~> 0.6' )
16
- spec.add_development_dependency( 'rdoc' , '~> 6.0' )
17
- spec.add_development_dependency( 'simplecov' , '~> 0.14' )
18
- spec.add_development_dependency( 'zip' , '~> 2.0' )
12
+ spec.add_development_dependency( 'rspec', '~> 3.12' )
13
+ spec.add_development_dependency( 'rspec_junit_formatter','~> 0.6' )
14
+ spec.add_development_dependency( 'rake', '~> 13.0' )
15
+ spec.add_development_dependency( 'rake-compiler', '~> 1.2' )
16
+ spec.add_development_dependency( 'rake-compiler-dock', '~> 1.2' )
17
+ spec.add_development_dependency( 'rdoc', '~> 6.5' )
18
+ spec.add_development_dependency( 'simplecov', '~> 0.21' )
19
+ spec.add_development_dependency( 'archive-zip', '~> 0.12' )
19
20
 
20
21
  spec.extensions.concat This.extension_conf_files
21
- spec.license = "BSD"
22
+ spec.license = "BSD-3-Clause"
22
23
  end
23
24
 
24
25
  load 'tasks/default.rake'
@@ -7,6 +7,7 @@
7
7
 
8
8
  #include "amalgalite.h"
9
9
  #include <stdio.h>
10
+ #include <stdnoreturn.h>
10
11
  extern VALUE mA;
11
12
  VALUE cAR;
12
13
  VALUE cARB;
@@ -18,7 +19,7 @@ VALUE eARB_Error;
18
19
  * allocated via malloc() or the like. It should be a local static buffer
19
20
  * that we do not have to worry about freeing.
20
21
  */
21
- void am_bootstrap_cleanup_and_raise( const char* msg, sqlite3* db, sqlite3_stmt* stmt )
22
+ noreturn void am_bootstrap_cleanup_and_raise( const char* msg, sqlite3* db, sqlite3_stmt* stmt )
22
23
  {
23
24
 
24
25
  if ( NULL != stmt ) { sqlite3_finalize( stmt ); stmt = NULL; }
@@ -10,15 +10,15 @@ $CFLAGS += " -DSQLITE_ENABLE_BYTECODE_VTAB=1"
10
10
  $CFLAGS += " -DSQLITE_ENABLE_COLUMN_METADATA=1"
11
11
  $CFLAGS += " -DSQLITE_ENABLE_DBSTAT_VTAB=1"
12
12
  $CFLAGS += " -DSQLITE_ENABLE_DBPAGE_VTAB=1"
13
- $CFLAGS += " -DSQLITE_ENABLE_DESERIALIZE=1"
14
13
  $CFLAGS += " -DSQLITE_ENABLE_EXPLAIN_COMMENTS=1"
15
14
  $CFLAGS += " -DSQLITE_ENABLE_FTS3=1"
16
15
  $CFLAGS += " -DSQLITE_ENABLE_FTS3_PARENTHESIS=1"
17
16
  $CFLAGS += " -DSQLITE_ENABLE_FTS4=1"
18
17
  $CFLAGS += " -DSQLITE_ENABLE_FTS5=1"
19
18
  $CFLAGS += " -DSQLITE_ENABLE_GEOPOLY=1"
20
- $CFLAGS += " -DSQLITE_ENABLE_JSON1=1"
19
+ $CFLAGS += " -DSQLITE_ENABLE_MATH_FUNCTIONS=1"
21
20
  $CFLAGS += " -DSQLITE_ENABLE_MEMORY_MANAGEMENT=1"
21
+ $CFLAGS += " -DSQLITE_ENABLE_NORMALIZE=1"
22
22
  $CFLAGS += " -DSQLITE_ENABLE_NULL_TRIM=1"
23
23
  $CFLAGS += " -DSQLITE_ENABLE_PREUPDATE_HOOK=1"
24
24
  $CFLAGS ++ " -DSQLITE_EANBLE_QPSG=1"
@@ -29,7 +29,9 @@ $CFLAGS += " -DSQLITE_ENABLE_SNAPSHOT=1"
29
29
  $CFLAGS += " -DSQLITE_ENABLE_STMTVTAB=1"
30
30
  $CFLAGS += " -DSQLITE_ENABLE_STAT4=1"
31
31
  $CFLAGS += " -DSQLITE_ENABLE_UNLOCK_NOTIFY=1"
32
+ $CFLAGS += " -DSQLITE_ENABLE_SOUNDEX=1"
32
33
 
34
+ $CFLAGS += " -DSQLITE_USE_ALLOCA=1"
33
35
  $CFLAGS += " -DSQLITE_OMIT_DEPRECATED=1"
34
36
 
35
37
  # we compile sqlite the same way that the installation of ruby is compiled.
@@ -54,7 +56,18 @@ ignore_by_compiler = {
54
56
  sign-compare
55
57
  unused-const-variable
56
58
  unused-variable
57
- ]
59
+ unused-but-set-variable
60
+ undef
61
+ ],
62
+ "gcc" => %w[
63
+ declaration-after-statement
64
+ implicit-function-declaration
65
+ unused-variable
66
+ unused-but-set-variable
67
+ maybe-uninitialized
68
+ old-style-definition
69
+ undef
70
+ ]
58
71
  }
59
72
 
60
73
  if extras = ignore_by_compiler[RbConfig::MAKEFILE_CONFIG["CC"]] then
@@ -63,7 +76,7 @@ end
63
76
 
64
77
  ignoreable_warnings.each do |warning|
65
78
  $CFLAGS = $CFLAGS.gsub(/-W#{warning}/,'')
66
- RbConfig::MAKEFILE_CONFIG['warnflags'] = RbConfig::MAKEFILE_CONFIG['warnflags'].gsub(/-W#{warning}/,'') if RbConfig::MAKEFILE_CONFIG['warnflags']
79
+ RbConfig::MAKEFILE_CONFIG['warnflags'] = RbConfig::MAKEFILE_CONFIG['warnflags'].gsub(/-W#{warning}/,'') if RbConfig::MAKEFILE_CONFIG['warnflags']
67
80
  $CFLAGS += " -Wno-#{warning}"
68
81
  end
69
82