extralite-bundle 2.4 → 2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08845d2cb3c74da55576eb9db9ada9244e2cb48d6f8cee5676550a8bcfaceeb1'
4
- data.tar.gz: d3a8503488e7078d6c1f2112eb708777bc5a25ab8e85ac9972ae4dc3b1fe51d0
3
+ metadata.gz: 367f38df5c8f4c3ed23b836cadd6ff2d3ad03d66e1e79bf4111d5f45344cbb30
4
+ data.tar.gz: 843c329368b41b25aa6ce2cb604d1ace3971fa267b16871b42a81142eba1700a
5
5
  SHA512:
6
- metadata.gz: 80d3e967d8e13bf5568422ac45778649bc6b52adeff95cbf25d50d919fa5f0b3ac320dba063768eb2918fc6845813c3d4b895dc22a52278725b62a5520c69ad6
7
- data.tar.gz: 37d2f0954859db30a976c4a3e255c1c607bbe70d42c7bf27772d391db9a6f1760dfb3d6b9d2fcf9a1f867f5d45dd39a8be2a870d015e993c1d34a8c25f3c9ed4
6
+ metadata.gz: dcda61c26952f66b3cad31b26930bcd91c3957666cf01a1f06f0398611b2a6c077a38d8f80d3e7faa8ad6095c32697c3eb1a29b1beac26bc46818989e956fd64
7
+ data.tar.gz: f21031102d3e1ef4f6ed1c2e5cca8df310716f981eaad135d793c273bb86e8a3bcac6f14c577b1a6fbb73448ba9f428f6db314f754c512e44bed7566a61a2bc2
@@ -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