extralite 1.13 → 1.13.1

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: 5d4d7fe119c7197de4a8cf2a7c54a98845a6bf3cbb5e5140c6b272e9b5d1e458
4
- data.tar.gz: bfd3010a039dd6445cb0a0fe0c5dca12a1a7aa19d7c44ec3f89c5b8768f464f7
3
+ metadata.gz: 887537f02a38e762c189e2c322074efc59ef28a662021f59fbfad6cc0dafc13c
4
+ data.tar.gz: e519f080b81120044cd25113145fb571e5655b377e992643b5fc711a7ab6abfa
5
5
  SHA512:
6
- metadata.gz: bc80083972aafcca792665edaeaed05dedcc8d22f3f1c277d7211d99a807344ba6ec203098aa6b4038f77318fc40aa44511d46c6d586e7ed8c75862596c7a092
7
- data.tar.gz: 0a4f2d8779ba19732e1ec2f5a2367b39d0889de83fc6cf03a90cd49fae2f378ffcf7238842ca17aff4e8826c66d98158a497e200361cff6caac0ff70cde59ad9
6
+ metadata.gz: 50fef96363c87e0f2461165bed0c608b0bf7a24d1d3d9b90fc1b741446a2685d94bd54d392bae1714984b4c95fbf925c1a839c2b70bfb62262fc3e1112c321a8
7
+ data.tar.gz: ca51f38183ebc65b01b18ad4ce58885eba4481ab8804de3e70ad140e1470bfeb2c99177db6e0817fb8aa5532c532d6a848e0b20814da93f29b84f7f4fd9bdd6d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 1.13.1 2022-02-27
2
+
3
+ - Fix compilation on TruffleRuby
4
+
5
+ ## 1.13 2022-02-27
6
+
7
+ - Implement prepared statements (#7)
8
+ - Update SQLite to 3.38.0 (#6)
9
+
1
10
  ## 1.12 2022-02-15
2
11
 
3
12
  - Add `Extralite.sqlite3_version` method
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- extralite (1.13)
4
+ extralite (1.13.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -222,7 +222,7 @@ large number of rows.
222
222
  |100K|201.6K rows/s|1934K rows/s|__9.6x__|
223
223
 
224
224
  As those benchmarks show, Extralite is capabale of reading up to 3M rows/second
225
- when fetching rows as arrays, and up to 2.2M rows/second when fetching
225
+ when fetching rows as arrays, and up to 2.6M rows/second when fetching
226
226
  rows as hashes.
227
227
 
228
228
  ## Contributing
@@ -223,7 +223,7 @@ void *stmt_iterate_without_gvl(void *ptr) {
223
223
  return NULL;
224
224
  }
225
225
 
226
- inline int stmt_iterate(sqlite3_stmt *stmt, sqlite3 *db) {
226
+ static inline int stmt_iterate(sqlite3_stmt *stmt, sqlite3 *db) {
227
227
  struct step_ctx ctx = {stmt, 0};
228
228
  rb_thread_call_without_gvl(stmt_iterate_without_gvl, (void *)&ctx, RUBY_UBF_IO, 0);
229
229
  switch (ctx.rc) {
@@ -1,3 +1,3 @@
1
1
  module Extralite
2
- VERSION = '1.13'
2
+ VERSION = '1.13.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: extralite
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.13'
4
+ version: 1.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sharon Rosner