extralite-bundle 2.5 → 2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/CHANGELOG.md +34 -13
- data/Gemfile +4 -0
- data/Gemfile-bundle +1 -1
- data/LICENSE +1 -1
- data/README.md +1059 -247
- data/Rakefile +18 -0
- data/TODO.md +0 -7
- data/examples/kv_store.rb +49 -0
- data/examples/multi_fiber.rb +16 -0
- data/examples/on_progress.rb +9 -0
- data/examples/pubsub_store_polyphony.rb +194 -0
- data/examples/pubsub_store_threads.rb +204 -0
- data/ext/extralite/changeset.c +463 -0
- data/ext/extralite/common.c +177 -91
- data/ext/extralite/database.c +745 -276
- data/ext/extralite/extconf-bundle.rb +10 -4
- data/ext/extralite/extconf.rb +34 -34
- data/ext/extralite/extralite.h +104 -47
- data/ext/extralite/extralite_ext.c +6 -0
- data/ext/extralite/iterator.c +14 -86
- data/ext/extralite/query.c +171 -264
- data/extralite-bundle.gemspec +1 -1
- data/extralite.gemspec +1 -1
- data/gemspec.rb +10 -11
- data/lib/extralite/version.rb +1 -1
- data/lib/extralite.rb +69 -10
- data/lib/sequel/adapters/extralite.rb +1 -1
- data/test/helper.rb +9 -1
- data/test/perf_argv_transform.rb +74 -0
- data/test/perf_ary.rb +14 -12
- data/test/perf_hash.rb +17 -15
- data/test/perf_hash_prepared.rb +58 -0
- data/test/perf_hash_transform.rb +66 -0
- data/test/perf_polyphony.rb +74 -0
- data/test/test_changeset.rb +161 -0
- data/test/test_database.rb +720 -104
- data/test/test_extralite.rb +2 -2
- data/test/test_iterator.rb +28 -13
- data/test/test_query.rb +352 -110
- data/test/test_sequel.rb +4 -4
- metadata +24 -16
- data/Gemfile.lock +0 -37
- data/test/perf_prepared.rb +0 -64
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2d854a1f316c9ab6415cda749203ca6854ca6d4d48a9b23baa011a16b3ac472
|
4
|
+
data.tar.gz: 5fae5cf20faee0420cb738d8542034465ce5c71280a0e4c3ae2c4938ff8675b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8a3ac9f8b43ef2f0d9bb4614b7511c2c3e8fa44e688a74e4166b371f270344d490e0da779c2b28799e35fedcfa597aa39dc30e1fb2a6c52dbf32ac9ffc7ee75
|
7
|
+
data.tar.gz: c1eeef08c58ba60c2cef239837871bedc3df6264ad32038fa6457ed0d6693635c58be8a1786447ea82d5179a1e06d3935ccbf467505f13df809aa49275e4952a
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,22 +1,43 @@
|
|
1
|
+
# 2.7 2024-02-09
|
2
|
+
|
3
|
+
- Improve progress handler API, add mode, period, tick options, global progress
|
4
|
+
handler. [#68](https://github.com/digital-fabric/extralite/pull/68)
|
5
|
+
- Rework `Database#initialize` options
|
6
|
+
- Add argv row mode (for passing column values as argv)
|
7
|
+
- Streamline and improve query methods
|
8
|
+
[#67](https://github.com/digital-fabric/extralite/pull/67)
|
9
|
+
- Implement row transforms
|
10
|
+
|
11
|
+
# 2.6 2024-01-23
|
12
|
+
|
13
|
+
- Implement changeset API.
|
14
|
+
[#58](https://github.com/digital-fabric/extralite/issues/58)
|
15
|
+
- Reorganize README, update benchmarks.
|
16
|
+
[#63](https://github.com/digital-fabric/extralite/issues/63)
|
17
|
+
- Implement progress handler API.
|
18
|
+
[#62](https://github.com/digital-fabric/extralite/issues/62)
|
19
|
+
- Implement savepoint methods.
|
20
|
+
|
1
21
|
# 2.5 2024-01-16
|
2
22
|
|
3
|
-
- Update bundled sqlite to version 3.45.0
|
4
|
-
- Implement `Database#batch_query` and related methods
|
23
|
+
- Update bundled sqlite to version 3.45.0.
|
24
|
+
- Implement `Database#batch_query` and related methods.
|
5
25
|
[53](https://github.com/digital-fabric/extralite/issues/53)
|
6
|
-
- Accept more options in `Database#initialize
|
26
|
+
- Accept more options in `Database#initialize`.
|
7
27
|
[48](https://github.com/digital-fabric/extralite/issues/48)
|
8
|
-
- Fix `Database#pragma` to return single value when reading pragma value
|
9
|
-
- Accept database name in `Database#tables` method
|
28
|
+
- Fix `Database#pragma` to return single value when reading pragma value.
|
29
|
+
- Accept database name in `Database#tables` method.
|
10
30
|
- Improve `Database#batch_execute` - now accepts Enumerable and Callable
|
11
|
-
parameters [52](https://github.com/digital-fabric/extralite/issues/52)
|
12
|
-
- Rename `Database#execute_multi` to `Database#batch_execute
|
13
|
-
- Implement Query#clone
|
31
|
+
parameters. [52](https://github.com/digital-fabric/extralite/issues/52)
|
32
|
+
- Rename `Database#execute_multi` to `Database#batch_execute`.
|
33
|
+
- Implement `Query#clone`.
|
14
34
|
[51](https://github.com/digital-fabric/extralite/issues/51)
|
15
|
-
- Add support for GC compaction
|
16
|
-
- Remove support for Ruby 2.7
|
17
|
-
- Implement Query
|
18
|
-
-
|
19
|
-
-
|
35
|
+
- Add support for GC compaction.
|
36
|
+
- Remove support for Ruby 2.7.
|
37
|
+
- Implement `Query#<<`.
|
38
|
+
[49](https://github.com/digital-fabric/extralite/issues/49)
|
39
|
+
- Allow passing parameters in array.
|
40
|
+
- Add support for ractors.
|
20
41
|
[#50](https://github.com/digital-fabric/extralite/issues/50)
|
21
42
|
|
22
43
|
# 2.4 2023-12-24
|
data/Gemfile
CHANGED
data/Gemfile-bundle
CHANGED
@@ -2,4 +2,4 @@ source 'https://rubygems.org'
|
|
2
2
|
|
3
3
|
gemspec name: 'extralite'
|
4
4
|
|
5
|
-
gem
|
5
|
+
gem 'extralite-bundle', git: "file://#{File.expand_path(__dir__)}", ref: `git rev-parse --abbrev-ref HEAD`.strip
|