sqlite3-full 1.3.9.2 → 1.3.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/sqlite3/extconf.rb +6 -1
- data/lib/sqlite3/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad9ece16efd6ac2e445f7e1a4fb8c1297574676c
|
4
|
+
data.tar.gz: 50cd5de796747d70b96519c2c093c4a2756cc67a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 091cca5c1825762e19963ef48f793cc9bbc5e2ca456f0a70a342dc4024202e398dcdc00c1a4223b9bb6eb333b08dd9689ce3c5510968aa41983003d0ed41e575
|
7
|
+
data.tar.gz: 8fddcbc5a8c38dc2952ae2a3efe43d5241d9e452b01d546d276fb5fbad7aba74e72fe0cbf02c2e064a5a8eed52c659c55a45f96293284d8fc829b6dbc0505823
|
data/ext/sqlite3/extconf.rb
CHANGED
@@ -13,7 +13,6 @@ RbConfig::MAKEFILE_CONFIG['CC'] = ENV['CC'] if ENV['CC']
|
|
13
13
|
# The only difference: we include FTS3 *and* FTS4
|
14
14
|
$defs.push "-DSQLITE_ENABLE_FTS4"
|
15
15
|
$defs.push "-DSQLITE_ENABLE_FTS3_PARENTHESIS"
|
16
|
-
$defs.push "-DSQLITE_ENABLE_LOCKING_STYLE=1"
|
17
16
|
$defs.push "-DSQLITE_ENABLE_RTREE"
|
18
17
|
$defs.push "-DSQLITE_SYSTEM_MALLOC"
|
19
18
|
$defs.push "-DSQLITE_THREADSAFE=2"
|
@@ -26,6 +25,10 @@ $defs.push "-DSQLITE_SOUNDEX"
|
|
26
25
|
|
27
26
|
$defs.push "-I#{File.dirname(__FILE__)}"
|
28
27
|
|
28
|
+
if RbConfig::CONFIG["host_os"] =~ /darwin/
|
29
|
+
$defs.push "-DSQLITE_ENABLE_LOCKING_STYLE=1"
|
30
|
+
end
|
31
|
+
|
29
32
|
# Some additional warnings: on my machine compiling the sqlite3 amalgation spits out some
|
30
33
|
# warnings. As we don't hack sqlite3, but only the rubygem, we don't need these.
|
31
34
|
$warnflags += " -Wno-incompatible-pointer-types-discards-qualifiers"
|
@@ -33,6 +36,8 @@ $warnflags += " -Wno-unused-const-variable"
|
|
33
36
|
$warnflags += " -Wno-shorten-64-to-32"
|
34
37
|
$warnflags += " -Wno-typedef-redefinition"
|
35
38
|
|
39
|
+
$warnflags += " -Wno-cast-qual"
|
40
|
+
|
36
41
|
if RbConfig::CONFIG["host_os"] =~ /mswin/
|
37
42
|
$CFLAGS << ' -W3'
|
38
43
|
end
|
data/lib/sqlite3/version.rb
CHANGED