sqlite3 1.6.0.rc1-x64-mingw32 → 1.6.0-x64-mingw32

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: 8a6c0095ce6d573f7d9841fa533bc52df562448c1d08b01773f3e12c19146e34
4
- data.tar.gz: b33a5039e1b3d8d59e13df5ce514c0269f3c5c3549fa328ea5c8c3deb0e8590a
3
+ metadata.gz: f7ec63b82fe439736f805b3427134b9f6d82e1e8b1b1ffc2c9087568a8f73f8d
4
+ data.tar.gz: 651cd4319583d4d5bdc477807bcbee755e58af80c9a3ace35809d1c5e08ac8e1
5
5
  SHA512:
6
- metadata.gz: 7e297fdb706417145d5615e589832f77f1824bb757ae8945ddfbdf4c98005a6b75e126b6b894a3859d04aae2315ae233b2a8ee0295b421942acd528698208309
7
- data.tar.gz: 7ef3fecaea6fda7064d3e83dd4d9a3ec9ce690e18689137d480db0aaf89ffb0547e8c0d022bbc856c2256451f9ed44b3ca697efb6e469f48856e4c0ed35f61ca
6
+ metadata.gz: 0617e463d0cc716ae0a4830580daad5ef8c0da11ae33d0b4278f86003bded34ffcdf31f85607d3dc3ba76b4b4e801df1c14c0bcb87c3c5bd4f772951c5bf4a03
7
+ data.tar.gz: 36d72d3925f7701292a41e06c5a08d5cf98a3c9fddf20cd9bbfc490c3da6f5b3072a97f0dbed7011da3cfe08d69fdabcd1abefef8009ae1cec9e9c224faafd88
data/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # sqlite3-ruby Changelog
2
2
 
3
- ## 1.6.0 / unreleased
3
+ ## 1.6.0 / 2023-01-13
4
4
 
5
5
  ### Ruby
6
6
 
@@ -55,6 +55,7 @@ module Sqlite3
55
55
  additional_cflags = [
56
56
  "-fPIC", # needed for linking the static library into a shared library
57
57
  "-O2", # see https://github.com/sparklemotion/sqlite3-ruby/issues/335 for some benchmarks
58
+ "-fvisibility=hidden", # see https://github.com/rake-compiler/rake-compiler-dock/issues/87
58
59
  ]
59
60
  env["CFLAGS"] = [env["CFLAGS"], additional_cflags].flatten.join(" ")
60
61
  recipe.configure_options += env.select { |k,v| ENV_ALLOWLIST.include?(k) }
@@ -81,14 +82,9 @@ module Sqlite3
81
82
  abort_pkg_config("xpopen") unless $?.success?
82
83
  ldflags = ldflags.split
83
84
 
84
- if needs_darwin_linker_hack
85
- ldflags.delete("-lsqlite3")
86
- ldflags.prepend("-Wl,-flat_namespace", "-Wl,-hidden-lsqlite3")
87
- else
88
- # see https://github.com/flavorjones/mini_portile/issues/118
89
- "-L#{lib_path}".tap do |lib_path_flag|
90
- ldflags.prepend(lib_path_flag) unless ldflags.include?(lib_path_flag)
91
- end
85
+ # see https://github.com/flavorjones/mini_portile/issues/118
86
+ "-L#{lib_path}".tap do |lib_path_flag|
87
+ ldflags.prepend(lib_path_flag) unless ldflags.include?(lib_path_flag)
92
88
  end
93
89
 
94
90
  ldflags.each { |ldflag| append_ldflags(ldflag) }
@@ -100,6 +96,8 @@ module Sqlite3
100
96
  append_cppflags("-DTAINTING_SUPPORT")
101
97
  end
102
98
 
99
+ append_cflags("-fvisibility=hidden") # see https://github.com/rake-compiler/rake-compiler-dock/issues/87
100
+
103
101
  if find_header("sqlite3.h")
104
102
  # noop
105
103
  elsif sqlcipher? && find_header("sqlcipher/sqlite3.h")
@@ -177,13 +175,6 @@ module Sqlite3
177
175
  minimal_recipe.download
178
176
  end
179
177
 
180
- def needs_darwin_linker_hack
181
- # See https://github.com/rake-compiler/rake-compiler-dock/issues/87 for more info.
182
- cross_build? &&
183
- darwin? &&
184
- RbConfig::CONFIG["ruby_version"] >= "3.2"
185
- end
186
-
187
178
  def darwin?
188
179
  RbConfig::CONFIG["target_os"].include?("darwin")
189
180
  end
@@ -127,6 +127,7 @@ void init_sqlite3_constants()
127
127
  #endif
128
128
  }
129
129
 
130
+ RUBY_FUNC_EXPORTED
130
131
  void Init_sqlite3_native()
131
132
  {
132
133
  /*
Binary file
Binary file
@@ -1,12 +1,12 @@
1
1
  module SQLite3
2
2
 
3
- VERSION = "1.6.0.rc1"
3
+ VERSION = "1.6.0"
4
4
 
5
5
  module VersionProxy
6
6
  MAJOR = 1
7
7
  MINOR = 6
8
8
  TINY = 0
9
- BUILD = "rc1"
9
+ BUILD = nil
10
10
 
11
11
  STRING = [ MAJOR, MINOR, TINY, BUILD ].compact.join( "." )
12
12
 
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.6.0.rc1
4
+ version: 1.6.0
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: 2023-01-02 00:00:00.000000000 Z
13
+ date: 2023-01-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: minitest
@@ -44,16 +44,16 @@ dependencies:
44
44
  name: rake-compiler-dock
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - "~>"
47
+ - - '='
48
48
  - !ruby/object:Gem::Version
49
- version: 1.2.1
49
+ version: 1.3.0
50
50
  type: :development
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
- - - "~>"
54
+ - - '='
55
55
  - !ruby/object:Gem::Version
56
- version: 1.2.1
56
+ version: 1.3.0
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: rdoc
59
59
  requirement: !ruby/object:Gem::Requirement
@@ -192,9 +192,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
192
192
  version: 3.1.dev
193
193
  required_rubygems_version: !ruby/object:Gem::Requirement
194
194
  requirements:
195
- - - ">"
195
+ - - ">="
196
196
  - !ruby/object:Gem::Version
197
- version: 1.3.1
197
+ version: '0'
198
198
  requirements: []
199
199
  rubygems_version: 3.3.26
200
200
  signing_key: