extralite 2.4 → 2.6

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: d8ccbfbf37744a5b90d30038c3ba4e73f7d2a094a0f18f21cd8b58d66ec32b42
4
- data.tar.gz: 5c6d3f9c967f7056f8eeb7ba471e2db50a26be334bdeec7ddf80dbd521efff77
3
+ metadata.gz: 8a18a0c22e187c1f3211611b67dcd5f60040ec794d63dfe3a125bdd0174b108a
4
+ data.tar.gz: 050e95afc37f01145b860e861c1ceba37da134c878e44f9c49bf9adec2894651
5
5
  SHA512:
6
- metadata.gz: 19f10ce33c25e3b0837ec452b8eff0c4c433a729c79162d8b73e65411142f6df61703e0d7c254ac269fbf02ae39aa1c0cde5cb8f9fe3f262ab9ad0af503ceb99
7
- data.tar.gz: 921aeeb63e23bfc145af2c978fb3ce5a47b643cf23e265aaf581eb067e8a76ef5c63effde30c567d7565a19fa8f844868456f996d5413a70ef2ba774a927d638
6
+ metadata.gz: 6e45c3ced0207aa163658bcf8317d10967572e533a83953b41039fde740aadda78e1fe01a55302a7c5925326f256b29ff18d1a6234c7625ffad8340624758219
7
+ data.tar.gz: f9401d194c8481fa4a057e4d37b673b06ea1a22beafbd5b3406de5aaceb553efc90371c77ff3a4bff4a30660ca264f4fff25095b76d8495fcff6517e674ee47b
@@ -0,0 +1,30 @@
1
+ name: Tests (extralite-bundle)
2
+
3
+ on: [push, pull_request]
4
+
5
+ concurrency:
6
+ group: tests-${{ format('{0}-{1}', github.head_ref || github.run_number, github.job) }}
7
+ cancel-in-progress: true
8
+
9
+ jobs:
10
+ build:
11
+ strategy:
12
+ fail-fast: false
13
+ matrix:
14
+ os: [ubuntu-latest, macos-latest]
15
+ ruby: ['3.0', '3.1', '3.2', '3.3']
16
+
17
+ name: >-
18
+ ${{matrix.os}}, ${{matrix.ruby}}
19
+
20
+ runs-on: ${{matrix.os}}
21
+ steps:
22
+ - uses: actions/checkout@v4
23
+ - uses: ruby/setup-ruby@v1
24
+ with:
25
+ ruby-version: ${{matrix.ruby}}
26
+ bundler-cache: true # 'bundle install' and cache
27
+ - name: Compile C-extension
28
+ run: EXTRALITE_BUNDLE=1 bundle exec rake compile
29
+ - name: Run tests
30
+ run: bundle exec rake test
@@ -1,4 +1,4 @@
1
- name: Tests
1
+ name: Tests (extralite)
2
2
 
3
3
  on: [push, pull_request]
4
4
 
@@ -12,7 +12,7 @@ jobs:
12
12
  fail-fast: false
13
13
  matrix:
14
14
  os: [ubuntu-latest, macos-latest]
15
- ruby: ['2.7', '3.0', '3.1', '3.2', '3.3']
15
+ ruby: ['3.0', '3.1', '3.2', '3.3']
16
16
 
17
17
  name: >-
18
18
  ${{matrix.os}}, ${{matrix.ruby}}
@@ -28,13 +28,3 @@ jobs:
28
28
  run: bundle exec rake compile
29
29
  - name: Run tests
30
30
  run: bundle exec rake test
31
- - name: Build bundled gem
32
- run: bundle exec rake build_bundled
33
- - name: Run tests with bundled gem
34
- run: |
35
- echo Installing extralite-bundle...
36
- bundle config --local frozen false
37
- mv Gemfile-bundle Gemfile
38
- bundle install
39
- echo Running tests...
40
- bundle exec rake test
data/CHANGELOG.md CHANGED
@@ -1,14 +1,52 @@
1
+ # 2.6 2024-01-23
2
+
3
+ - Implement changeset API
4
+ [#58](https://github.com/digital-fabric/extralite/issues/58)
5
+ - Reorganize README, update benchmarks
6
+ [#63](https://github.com/digital-fabric/extralite/issues/63)
7
+ - Implement progress handler API
8
+ [#62](https://github.com/digital-fabric/extralite/issues/62)
9
+ - Implement savepoint methods
10
+
11
+ # 2.5 2024-01-16
12
+
13
+ - Update bundled sqlite to version 3.45.0
14
+ - Implement `Database#batch_query` and related methods
15
+ [53](https://github.com/digital-fabric/extralite/issues/53)
16
+ - Accept more options in `Database#initialize`
17
+ [48](https://github.com/digital-fabric/extralite/issues/48)
18
+ - Fix `Database#pragma` to return single value when reading pragma value
19
+ - Accept database name in `Database#tables` method
20
+ - Improve `Database#batch_execute` - now accepts Enumerable and Callable
21
+ parameters [52](https://github.com/digital-fabric/extralite/issues/52)
22
+ - Rename `Database#execute_multi` to `Database#batch_execute`
23
+ - Implement Query#clone
24
+ [51](https://github.com/digital-fabric/extralite/issues/51)
25
+ - Add support for GC compaction
26
+ - Remove support for Ruby 2.7
27
+ - Implement Query#<< [49](https://github.com/digital-fabric/extralite/issues/49)
28
+ - Allow passing parameters in array
29
+ - Add support for ractors
30
+ [#50](https://github.com/digital-fabric/extralite/issues/50)
31
+
1
32
  # 2.4 2023-12-24
2
33
 
3
- - Implement GVL release threshold. [#46](https://github.com/digital-fabric/extralite/pull/46)
34
+ - Implement GVL release threshold.
35
+ [#46](https://github.com/digital-fabric/extralite/pull/46)
4
36
  - Implement write barriers for better GC performance.
5
- - Add support for binding large numbers and symbols. [#43](https://github.com/digital-fabric/extralite/pull/43)
6
- - Implement Database#transaction. [#42](https://github.com/digital-fabric/extralite/pull/42)
7
- - Add support for binding BLOBs. [#40](https://github.com/digital-fabric/extralite/pull/40)
37
+ - Add support for binding large numbers and symbols.
38
+ [#43](https://github.com/digital-fabric/extralite/pull/43)
39
+ - Implement Database#transaction.
40
+ [#42](https://github.com/digital-fabric/extralite/pull/42)
41
+ - Add support for binding BLOBs.
42
+ [#40](https://github.com/digital-fabric/extralite/pull/40)
8
43
  - Minor fixes and cleanup of C-code.
9
- - Fix `Database#inspect` for a closed database instance [#37](https://github.com/digital-fabric/extralite/issues/37)
10
- - Add support for binding named parameters from Struct and Data classes [#30](https://github.com/digital-fabric/extralite/pull/30)
11
- - Update bundled SQLite code to version 3.44.2 [#32](https://github.com/digital-fabric/extralite/pull/32)
44
+ - Fix `Database#inspect` for a closed database instance
45
+ [#37](https://github.com/digital-fabric/extralite/issues/37)
46
+ - Add support for binding named parameters from Struct and Data classes
47
+ [#30](https://github.com/digital-fabric/extralite/pull/30)
48
+ - Update bundled SQLite code to version 3.44.2
49
+ [#32](https://github.com/digital-fabric/extralite/pull/32)
12
50
 
13
51
  # 2.3 2023-11-12
14
52
 
@@ -28,7 +66,8 @@
28
66
 
29
67
  - Fix Sequel migrations (#8)
30
68
  - Redesign prepared statement functionality (#24)
31
- - Rewrite `Extralite::PreparedStatement` into `Extralite::Query` with breaking API changes
69
+ - Rewrite `Extralite::PreparedStatement` into `Extralite::Query` with breaking
70
+ API changes
32
71
  - Add `Extralite::Iterator` class for external iteration
33
72
  - Add `Query#each_xxx`, `Query#to_a_xxx` method
34
73
  - Add `Query#eof?` method
@@ -77,7 +116,8 @@
77
116
  # 1.20 2023-01-21
78
117
 
79
118
  - Fix compilation error (#15 @sitano)
80
- - Add status methods `Extralite.runtime_status`, `Database#status`, `PreparedStatement#status` (#14 @sitano)
119
+ - Add status methods `Extralite.runtime_status`, `Database#status`,
120
+ `PreparedStatement#status` (#14 @sitano)
81
121
  - Add `Database#interrupt` (#13 @sitano)
82
122
  - Add `Database#backup` (#11 @sitano)
83
123
  - Derive `Extralite::Error` from `StandardError` (#10 @sitano)
@@ -199,4 +239,3 @@
199
239
  ## 0.1 2021-05-21
200
240
 
201
241
  - First release
202
-
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- extralite (2.4)
4
+ extralite (2.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 Sharon Rosner
3
+ Copyright (c) 2024 Sharon Rosner
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal