sqlite3 1.3.9 → 1.3.10
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +5 -0
- data/Gemfile +5 -5
- data/ext/sqlite3/extconf.rb +0 -5
- data/lib/sqlite3/version.rb +2 -2
- data/tasks/gem.rake +2 -2
- data/tasks/native.rake +11 -4
- data/tasks/vendor_sqlite3.rake +10 -6
- metadata +49 -33
- checksums.yaml +0 -7
data/CHANGELOG.rdoc
CHANGED
data/Gemfile
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
source "https://rubygems.org/"
|
6
6
|
|
7
7
|
|
8
|
-
gem "
|
9
|
-
gem "
|
10
|
-
gem "rake-compiler", "~>0.9.1", :group => [:development, :test]
|
11
|
-
gem "mini_portile", "~>0.5.1", :group => [:development, :test]
|
8
|
+
gem "mini_portile", "~>0.6.1", :group => [:development, :test]
|
9
|
+
gem "minitest", "~>5.4", :group => [:development, :test]
|
12
10
|
gem "hoe-bundler", "~>1.0", :group => [:development, :test]
|
13
|
-
gem "
|
11
|
+
gem "rake-compiler", "~>0.9.3", :group => [:development, :test]
|
12
|
+
gem "rdoc", "~>4.0", :group => [:development, :test]
|
13
|
+
gem "hoe", "~>3.12", :group => [:development, :test]
|
14
14
|
|
15
15
|
# vim: syntax=ruby
|
data/ext/sqlite3/extconf.rb
CHANGED
@@ -9,11 +9,6 @@ RbConfig::MAKEFILE_CONFIG['CC'] = ENV['CC'] if ENV['CC']
|
|
9
9
|
# --with-sqlite3-{dir,include,lib}
|
10
10
|
dir_config("sqlite3")
|
11
11
|
|
12
|
-
# prioritize local builds
|
13
|
-
if enable_config("local", false)
|
14
|
-
$LDFLAGS = ENV.fetch("LDFLAGS", "")
|
15
|
-
end
|
16
|
-
|
17
12
|
if RbConfig::CONFIG["host_os"] =~ /mswin/
|
18
13
|
$CFLAGS << ' -W3'
|
19
14
|
end
|
data/lib/sqlite3/version.rb
CHANGED
data/tasks/gem.rake
CHANGED
@@ -24,8 +24,8 @@ HOE = Hoe.spec 'sqlite3' do
|
|
24
24
|
|
25
25
|
spec_extras[:extensions] = ["ext/sqlite3/extconf.rb"]
|
26
26
|
|
27
|
-
extra_dev_deps << ['rake-compiler', "~> 0.9.
|
28
|
-
extra_dev_deps << ["mini_portile", "~> 0.
|
27
|
+
extra_dev_deps << ['rake-compiler', "~> 0.9.3"]
|
28
|
+
extra_dev_deps << ["mini_portile", "~> 0.6.1"]
|
29
29
|
extra_dev_deps << ["minitest", "~> 5.0"]
|
30
30
|
extra_dev_deps << ["hoe-bundler", "~> 1.0"]
|
31
31
|
|
data/tasks/native.rake
CHANGED
@@ -5,9 +5,17 @@ require 'rake/extensioncompiler'
|
|
5
5
|
# NOTE: version used by cross compilation of Windows native extension
|
6
6
|
# It do not affect compilation under other operating systems
|
7
7
|
# The version indicated is the minimum DLL suggested for correct functionality
|
8
|
-
BINARY_VERSION = "3.7.
|
9
|
-
URL_VERSION = "
|
10
|
-
URL_PATH = "/
|
8
|
+
BINARY_VERSION = "3.8.7.1"
|
9
|
+
URL_VERSION = "3080701"
|
10
|
+
URL_PATH = "/2014"
|
11
|
+
|
12
|
+
task :devkit do
|
13
|
+
begin
|
14
|
+
require "devkit"
|
15
|
+
rescue LoadError => e
|
16
|
+
abort "Failed to activate RubyInstaller's DevKit required for compilation."
|
17
|
+
end
|
18
|
+
end
|
11
19
|
|
12
20
|
# build sqlite3_native C extension
|
13
21
|
RUBY_EXTENSION = Rake::ExtensionTask.new('sqlite3_native', HOE.spec) do |ext|
|
@@ -25,7 +33,6 @@ RUBY_EXTENSION = Rake::ExtensionTask.new('sqlite3_native', HOE.spec) do |ext|
|
|
25
33
|
# define target for extension (supporting fat binaries)
|
26
34
|
RUBY_VERSION =~ /(\d+\.\d+)/
|
27
35
|
ext.lib_dir = "lib/sqlite3/#{$1}"
|
28
|
-
ext.config_options << "--enable-local"
|
29
36
|
else
|
30
37
|
|
31
38
|
# detect cross-compiler available
|
data/tasks/vendor_sqlite3.rake
CHANGED
@@ -28,7 +28,16 @@ def define_sqlite_task(platform, host)
|
|
28
28
|
end
|
29
29
|
|
30
30
|
# native sqlite3 compilation
|
31
|
-
define_sqlite_task
|
31
|
+
recipe = define_sqlite_task(RUBY_PLATFORM, RbConfig::CONFIG["host"])
|
32
|
+
|
33
|
+
# force compilation of sqlite3 when working natively under MinGW
|
34
|
+
if RUBY_PLATFORM =~ /mingw/
|
35
|
+
RUBY_EXTENSION.config_options << "--with-opt-dir=#{recipe.path}"
|
36
|
+
|
37
|
+
# also prepend DevKit into compilation phase
|
38
|
+
Rake::Task["compile"].prerequisites.unshift "devkit", "ports:sqlite3:#{RUBY_PLATFORM}"
|
39
|
+
Rake::Task["native"].prerequisites.unshift "devkit", "ports:sqlite3:#{RUBY_PLATFORM}"
|
40
|
+
end
|
32
41
|
|
33
42
|
# trick to test local compilation of sqlite3
|
34
43
|
if ENV["USE_MINI_PORTILE"] == "true"
|
@@ -42,11 +51,6 @@ if ENV["USE_MINI_PORTILE"] == "true"
|
|
42
51
|
Rake::Task["compile"].prerequisites.unshift "ports:sqlite3:#{RUBY_PLATFORM}"
|
43
52
|
end
|
44
53
|
|
45
|
-
# force compilation of sqlite3 when working natively under MinGW
|
46
|
-
if RUBY_PLATFORM =~ /mingw/
|
47
|
-
Rake::Task['compile'].prerequisites.unshift "ports:sqlite3:#{RUBY_PLATFORM}"
|
48
|
-
end
|
49
|
-
|
50
54
|
# iterate over all cross-compilation platforms and define the proper
|
51
55
|
# sqlite3 recipe for it.
|
52
56
|
if RUBY_EXTENSION.cross_compile
|
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sqlite3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.10
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Jamis Buck
|
@@ -10,98 +11,112 @@ authors:
|
|
10
11
|
autorequire:
|
11
12
|
bindir: bin
|
12
13
|
cert_chain: []
|
13
|
-
date: 2014-
|
14
|
+
date: 2014-10-31 00:00:00.000000000 Z
|
14
15
|
dependencies:
|
15
16
|
- !ruby/object:Gem::Dependency
|
16
17
|
name: minitest
|
17
18
|
requirement: !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
18
20
|
requirements:
|
19
|
-
- -
|
21
|
+
- - ~>
|
20
22
|
- !ruby/object:Gem::Version
|
21
|
-
version: '5.
|
23
|
+
version: '5.4'
|
22
24
|
type: :development
|
23
25
|
prerelease: false
|
24
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
25
28
|
requirements:
|
26
|
-
- -
|
29
|
+
- - ~>
|
27
30
|
- !ruby/object:Gem::Version
|
28
|
-
version: '5.
|
31
|
+
version: '5.4'
|
29
32
|
- !ruby/object:Gem::Dependency
|
30
33
|
name: rdoc
|
31
34
|
requirement: !ruby/object:Gem::Requirement
|
35
|
+
none: false
|
32
36
|
requirements:
|
33
|
-
- -
|
37
|
+
- - ~>
|
34
38
|
- !ruby/object:Gem::Version
|
35
39
|
version: '4.0'
|
36
40
|
type: :development
|
37
41
|
prerelease: false
|
38
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
39
44
|
requirements:
|
40
|
-
- -
|
45
|
+
- - ~>
|
41
46
|
- !ruby/object:Gem::Version
|
42
47
|
version: '4.0'
|
43
48
|
- !ruby/object:Gem::Dependency
|
44
49
|
name: rake-compiler
|
45
50
|
requirement: !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
46
52
|
requirements:
|
47
|
-
- -
|
53
|
+
- - ~>
|
48
54
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.9.
|
55
|
+
version: 0.9.3
|
50
56
|
type: :development
|
51
57
|
prerelease: false
|
52
58
|
version_requirements: !ruby/object:Gem::Requirement
|
59
|
+
none: false
|
53
60
|
requirements:
|
54
|
-
- -
|
61
|
+
- - ~>
|
55
62
|
- !ruby/object:Gem::Version
|
56
|
-
version: 0.9.
|
63
|
+
version: 0.9.3
|
57
64
|
- !ruby/object:Gem::Dependency
|
58
65
|
name: mini_portile
|
59
66
|
requirement: !ruby/object:Gem::Requirement
|
67
|
+
none: false
|
60
68
|
requirements:
|
61
|
-
- -
|
69
|
+
- - ~>
|
62
70
|
- !ruby/object:Gem::Version
|
63
|
-
version: 0.
|
71
|
+
version: 0.6.1
|
64
72
|
type: :development
|
65
73
|
prerelease: false
|
66
74
|
version_requirements: !ruby/object:Gem::Requirement
|
75
|
+
none: false
|
67
76
|
requirements:
|
68
|
-
- -
|
77
|
+
- - ~>
|
69
78
|
- !ruby/object:Gem::Version
|
70
|
-
version: 0.
|
79
|
+
version: 0.6.1
|
71
80
|
- !ruby/object:Gem::Dependency
|
72
81
|
name: hoe-bundler
|
73
82
|
requirement: !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
74
84
|
requirements:
|
75
|
-
- -
|
85
|
+
- - ~>
|
76
86
|
- !ruby/object:Gem::Version
|
77
87
|
version: '1.0'
|
78
88
|
type: :development
|
79
89
|
prerelease: false
|
80
90
|
version_requirements: !ruby/object:Gem::Requirement
|
91
|
+
none: false
|
81
92
|
requirements:
|
82
|
-
- -
|
93
|
+
- - ~>
|
83
94
|
- !ruby/object:Gem::Version
|
84
95
|
version: '1.0'
|
85
96
|
- !ruby/object:Gem::Dependency
|
86
97
|
name: hoe
|
87
98
|
requirement: !ruby/object:Gem::Requirement
|
99
|
+
none: false
|
88
100
|
requirements:
|
89
|
-
- -
|
101
|
+
- - ~>
|
90
102
|
- !ruby/object:Gem::Version
|
91
|
-
version: '3.
|
103
|
+
version: '3.13'
|
92
104
|
type: :development
|
93
105
|
prerelease: false
|
94
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
none: false
|
95
108
|
requirements:
|
96
|
-
- -
|
109
|
+
- - ~>
|
97
110
|
- !ruby/object:Gem::Version
|
98
|
-
version: '3.
|
99
|
-
description:
|
100
|
-
|
111
|
+
version: '3.13'
|
112
|
+
description: ! 'This module allows Ruby programs to interface with the SQLite3
|
113
|
+
|
101
114
|
database engine (http://www.sqlite.org). You must have the
|
115
|
+
|
102
116
|
SQLite engine installed in order to build this module.
|
103
117
|
|
104
|
-
|
118
|
+
|
119
|
+
Note that this module is only compatible with SQLite 3.6.16 or newer.'
|
105
120
|
email:
|
106
121
|
- jamis@37signals.com
|
107
122
|
- luislavena@gmail.com
|
@@ -120,7 +135,6 @@ extra_rdoc_files:
|
|
120
135
|
- ext/sqlite3/sqlite3.c
|
121
136
|
- ext/sqlite3/statement.c
|
122
137
|
files:
|
123
|
-
- ".gemtest"
|
124
138
|
- API_CHANGES.rdoc
|
125
139
|
- CHANGELOG.rdoc
|
126
140
|
- ChangeLog.cvs
|
@@ -173,31 +187,33 @@ files:
|
|
173
187
|
- test/test_sqlite3.rb
|
174
188
|
- test/test_statement.rb
|
175
189
|
- test/test_statement_execute.rb
|
190
|
+
- .gemtest
|
176
191
|
homepage: https://github.com/sparklemotion/sqlite3-ruby
|
177
192
|
licenses:
|
178
193
|
- BSD-3
|
179
|
-
metadata: {}
|
180
194
|
post_install_message:
|
181
195
|
rdoc_options:
|
182
|
-
-
|
196
|
+
- --main
|
183
197
|
- README.rdoc
|
184
198
|
require_paths:
|
185
199
|
- lib
|
186
200
|
required_ruby_version: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
187
202
|
requirements:
|
188
|
-
- -
|
203
|
+
- - ! '>='
|
189
204
|
- !ruby/object:Gem::Version
|
190
205
|
version: 1.8.7
|
191
206
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
207
|
+
none: false
|
192
208
|
requirements:
|
193
|
-
- -
|
209
|
+
- - ! '>='
|
194
210
|
- !ruby/object:Gem::Version
|
195
211
|
version: 1.3.5
|
196
212
|
requirements: []
|
197
|
-
rubyforge_project:
|
198
|
-
rubygems_version:
|
213
|
+
rubyforge_project:
|
214
|
+
rubygems_version: 1.8.29
|
199
215
|
signing_key:
|
200
|
-
specification_version:
|
216
|
+
specification_version: 3
|
201
217
|
summary: This module allows Ruby programs to interface with the SQLite3 database engine
|
202
218
|
(http://www.sqlite.org)
|
203
219
|
test_files:
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 9108c0bad1df9ce39587f36d1ffa9acba69d2de8
|
4
|
-
data.tar.gz: fc327e6ae912eb8b7b7b7d88ff06336bf9544204
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 2e4d8bb11507d0f09889e49dd977eb792cb08b9cd252c6149d607d58142e71a993f86867771d8df947c2f21dced8abe2d6dd495037c2690b696023aca335c062
|
7
|
-
data.tar.gz: 3df7a8668e1d98285163afb44238e337a36abf8146e3084e9760f421416f2762bc75e3af355ec271d773405a2a9532a7b3fb30ae05fa1c0d6b1d3258aab4ebc2
|