sqlite3 1.5.2-x64-mingw32 → 1.5.3-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/CONTRIBUTING.md +1 -1
- data/ext/sqlite3/extconf.rb +21 -8
- data/lib/sqlite3/2.6/sqlite3_native.so +0 -0
- data/lib/sqlite3/2.7/sqlite3_native.so +0 -0
- data/lib/sqlite3/3.0/sqlite3_native.so +0 -0
- data/lib/sqlite3/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5117b8ef75a8ac0e6c8f6db204f774e51819799fe2e994ad247b6e79895765e3
|
4
|
+
data.tar.gz: 4efcae516097b8167f51b22d9b7e4cc7f281e355b15820feab02ce63157b231f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 440a84d4559fbbf13030b2cb6b58f092099f72abb83bd01351f3e80d7010b188ec734e18246d3fdb2232339facc4377ccf06ff4f97776a5baedd942e1c932858
|
7
|
+
data.tar.gz: 2db93ad9f630b2eb96899a0155927bdef47a80d350d7ea2a27218226c999ce57d7fb501960a5cbe4bfd7f01733b23166c52ba14e203b66d21f46129b761a6eff
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# sqlite3-ruby Changelog
|
2
2
|
|
3
|
+
## 1.5.3 / 2022-10-11
|
4
|
+
|
5
|
+
### Fixed
|
6
|
+
|
7
|
+
* Fixed installation of the "ruby" platform gem when building from source on Fedora. In v1.5.0..v1.5.2, installation failed on some systems due to the behavior of Fedora's pkg-config implementation. [#355]
|
8
|
+
|
9
|
+
|
3
10
|
## 1.5.2 / 2022-10-01
|
4
11
|
|
5
12
|
### Packaging
|
data/CONTRIBUTING.md
CHANGED
@@ -20,5 +20,5 @@ A quick checklist:
|
|
20
20
|
- [ ] update `CHANGELOG.md` and `lib/sqlite3/version.rb` including `VersionProxy::{MINOR,TINY}`
|
21
21
|
- [ ] create a git tag using a format that matches the pattern `v\d+\.\d+\.\d+`, e.g. `v1.3.13`
|
22
22
|
- [ ] run `bin/build-gems` and make sure it completes and all the tests pass
|
23
|
-
- [ ] `for g in gems/*.gem ; do gem push $g ; done`
|
23
|
+
- [ ] `for g in gems/*.gem ; do gem push $g ; done`
|
24
24
|
- [ ] create a release at https://github.com/sparklemotion/sqlite3-ruby/releases and include sha2 checksums
|
data/ext/sqlite3/extconf.rb
CHANGED
@@ -66,15 +66,24 @@ module Sqlite3
|
|
66
66
|
end
|
67
67
|
recipe.activate
|
68
68
|
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
69
|
+
# on macos, pkg-config will not return --cflags without this
|
70
|
+
ENV["PKG_CONFIG_ALLOW_SYSTEM_CFLAGS"] = "t"
|
71
|
+
|
72
|
+
lib_path = File.join(recipe.path, "lib")
|
73
|
+
pcfile = File.join(lib_path, "pkgconfig", "sqlite3.pc")
|
74
|
+
abort_pkg_config("pkg_config") unless pkg_config(pcfile)
|
75
|
+
|
76
|
+
# see https://bugs.ruby-lang.org/issues/18490
|
77
|
+
flags = xpopen(["pkg-config", "--libs", "--static", pcfile], err: [:child, :out], &:read)
|
78
|
+
abort_pkg_config("xpopen") unless $?.success?
|
79
|
+
flags = flags.split
|
80
|
+
|
81
|
+
# see https://github.com/flavorjones/mini_portile/issues/118
|
82
|
+
"-L#{lib_path}".tap do |lib_path_flag|
|
83
|
+
flags.prepend(lib_path_flag) unless flags.include?(lib_path_flag)
|
77
84
|
end
|
85
|
+
|
86
|
+
flags.each { |flag| append_ldflags(flag) }
|
78
87
|
end
|
79
88
|
end
|
80
89
|
|
@@ -140,6 +149,10 @@ module Sqlite3
|
|
140
149
|
abort("\nCould not find #{missing}.\nPlease visit https://github.com/sparklemotion/sqlite3-ruby for installation instructions.\n\n")
|
141
150
|
end
|
142
151
|
|
152
|
+
def abort_pkg_config(id)
|
153
|
+
abort("\nCould not configure the build properly (#{id}). Please install either the `pkg-config` utility or the `pkg-config` rubygem.\n\n")
|
154
|
+
end
|
155
|
+
|
143
156
|
def cross_build?
|
144
157
|
enable_config("cross-build")
|
145
158
|
end
|
Binary file
|
Binary file
|
Binary file
|
data/lib/sqlite3/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sqlite3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.3
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- Jamis Buck
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2022-10-
|
13
|
+
date: 2022-10-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: minitest
|