sqlite3 1.4.2 → 1.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/{API_CHANGES.rdoc → API_CHANGES.md} +3 -4
- data/CHANGELOG.md +520 -0
- data/CONTRIBUTING.md +33 -0
- data/Gemfile +8 -14
- data/LICENSE-DEPENDENCIES +20 -0
- data/README.md +235 -0
- data/dependencies.yml +14 -0
- data/ext/sqlite3/aggregator.c +9 -8
- data/ext/sqlite3/backup.c +1 -1
- data/ext/sqlite3/database.c +36 -10
- data/ext/sqlite3/extconf.rb +257 -84
- data/ext/sqlite3/sqlite3.c +5 -2
- data/ext/sqlite3/sqlite3_ruby.h +5 -2
- data/ext/sqlite3/statement.c +3 -3
- data/faq/faq.md +431 -0
- data/faq/faq.yml +1 -1
- data/lib/sqlite3/constants.rb +1 -1
- data/lib/sqlite3/database.rb +11 -6
- data/lib/sqlite3/pragmas.rb +13 -6
- data/lib/sqlite3/statement.rb +2 -1
- data/lib/sqlite3/translator.rb +1 -1
- data/lib/sqlite3/version.rb +3 -5
- data/ports/archives/sqlite-autoconf-3420000.tar.gz +0 -0
- data/test/helper.rb +9 -0
- data/test/test_database.rb +76 -10
- data/test/test_deprecated.rb +10 -5
- data/test/test_encoding.rb +10 -0
- data/test/test_pragmas.rb +22 -0
- data/test/test_result_set.rb +18 -8
- data/test/test_sqlite3.rb +9 -0
- data/test/test_statement.rb +26 -1
- data/test/test_statement_execute.rb +4 -0
- metadata +30 -134
- data/.travis.yml +0 -33
- data/CHANGELOG.rdoc +0 -318
- data/Manifest.txt +0 -60
- data/README.rdoc +0 -118
- data/Rakefile +0 -8
- data/appveyor.yml +0 -36
- data/rakelib/faq.rake +0 -9
- data/rakelib/gem.rake +0 -40
- data/rakelib/native.rake +0 -56
- data/rakelib/vendor_sqlite3.rake +0 -97
- data/setup.rb +0 -1333
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.
|
|
4
|
+
version: 1.6.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jamis Buck
|
|
@@ -10,144 +10,37 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date:
|
|
13
|
+
date: 2023-05-16 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
|
-
name:
|
|
16
|
+
name: mini_portile2
|
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
|
18
18
|
requirements:
|
|
19
19
|
- - "~>"
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version:
|
|
22
|
-
type: :
|
|
21
|
+
version: 2.8.0
|
|
22
|
+
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
25
|
requirements:
|
|
26
26
|
- - "~>"
|
|
27
27
|
- !ruby/object:Gem::Version
|
|
28
|
-
version:
|
|
29
|
-
|
|
30
|
-
name: rake-compiler
|
|
31
|
-
requirement: !ruby/object:Gem::Requirement
|
|
32
|
-
requirements:
|
|
33
|
-
- - "~>"
|
|
34
|
-
- !ruby/object:Gem::Version
|
|
35
|
-
version: '1.0'
|
|
36
|
-
type: :development
|
|
37
|
-
prerelease: false
|
|
38
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
39
|
-
requirements:
|
|
40
|
-
- - "~>"
|
|
41
|
-
- !ruby/object:Gem::Version
|
|
42
|
-
version: '1.0'
|
|
43
|
-
- !ruby/object:Gem::Dependency
|
|
44
|
-
name: rake-compiler-dock
|
|
45
|
-
requirement: !ruby/object:Gem::Requirement
|
|
46
|
-
requirements:
|
|
47
|
-
- - "~>"
|
|
48
|
-
- !ruby/object:Gem::Version
|
|
49
|
-
version: 0.6.0
|
|
50
|
-
type: :development
|
|
51
|
-
prerelease: false
|
|
52
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
53
|
-
requirements:
|
|
54
|
-
- - "~>"
|
|
55
|
-
- !ruby/object:Gem::Version
|
|
56
|
-
version: 0.6.0
|
|
57
|
-
- !ruby/object:Gem::Dependency
|
|
58
|
-
name: mini_portile
|
|
59
|
-
requirement: !ruby/object:Gem::Requirement
|
|
60
|
-
requirements:
|
|
61
|
-
- - "~>"
|
|
62
|
-
- !ruby/object:Gem::Version
|
|
63
|
-
version: 0.6.2
|
|
64
|
-
type: :development
|
|
65
|
-
prerelease: false
|
|
66
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
67
|
-
requirements:
|
|
68
|
-
- - "~>"
|
|
69
|
-
- !ruby/object:Gem::Version
|
|
70
|
-
version: 0.6.2
|
|
71
|
-
- !ruby/object:Gem::Dependency
|
|
72
|
-
name: hoe-bundler
|
|
73
|
-
requirement: !ruby/object:Gem::Requirement
|
|
74
|
-
requirements:
|
|
75
|
-
- - "~>"
|
|
76
|
-
- !ruby/object:Gem::Version
|
|
77
|
-
version: '1.0'
|
|
78
|
-
type: :development
|
|
79
|
-
prerelease: false
|
|
80
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
81
|
-
requirements:
|
|
82
|
-
- - "~>"
|
|
83
|
-
- !ruby/object:Gem::Version
|
|
84
|
-
version: '1.0'
|
|
85
|
-
- !ruby/object:Gem::Dependency
|
|
86
|
-
name: hoe-gemspec
|
|
87
|
-
requirement: !ruby/object:Gem::Requirement
|
|
88
|
-
requirements:
|
|
89
|
-
- - "~>"
|
|
90
|
-
- !ruby/object:Gem::Version
|
|
91
|
-
version: '1.0'
|
|
92
|
-
type: :development
|
|
93
|
-
prerelease: false
|
|
94
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
95
|
-
requirements:
|
|
96
|
-
- - "~>"
|
|
97
|
-
- !ruby/object:Gem::Version
|
|
98
|
-
version: '1.0'
|
|
99
|
-
- !ruby/object:Gem::Dependency
|
|
100
|
-
name: rdoc
|
|
101
|
-
requirement: !ruby/object:Gem::Requirement
|
|
102
|
-
requirements:
|
|
103
|
-
- - ">="
|
|
104
|
-
- !ruby/object:Gem::Version
|
|
105
|
-
version: '4.0'
|
|
106
|
-
- - "<"
|
|
107
|
-
- !ruby/object:Gem::Version
|
|
108
|
-
version: '7'
|
|
109
|
-
type: :development
|
|
110
|
-
prerelease: false
|
|
111
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
112
|
-
requirements:
|
|
113
|
-
- - ">="
|
|
114
|
-
- !ruby/object:Gem::Version
|
|
115
|
-
version: '4.0'
|
|
116
|
-
- - "<"
|
|
117
|
-
- !ruby/object:Gem::Version
|
|
118
|
-
version: '7'
|
|
119
|
-
- !ruby/object:Gem::Dependency
|
|
120
|
-
name: hoe
|
|
121
|
-
requirement: !ruby/object:Gem::Requirement
|
|
122
|
-
requirements:
|
|
123
|
-
- - "~>"
|
|
124
|
-
- !ruby/object:Gem::Version
|
|
125
|
-
version: '3.20'
|
|
126
|
-
type: :development
|
|
127
|
-
prerelease: false
|
|
128
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
129
|
-
requirements:
|
|
130
|
-
- - "~>"
|
|
131
|
-
- !ruby/object:Gem::Version
|
|
132
|
-
version: '3.20'
|
|
28
|
+
version: 2.8.0
|
|
29
|
+
force_ruby_platform: false
|
|
133
30
|
description: |-
|
|
134
31
|
This module allows Ruby programs to interface with the SQLite3
|
|
135
32
|
database engine (http://www.sqlite.org). You must have the
|
|
136
33
|
SQLite engine installed in order to build this module.
|
|
137
34
|
|
|
138
35
|
Note that this module is only compatible with SQLite 3.6.16 or newer.
|
|
139
|
-
email:
|
|
140
|
-
- jamis@37signals.com
|
|
141
|
-
- luislavena@gmail.com
|
|
142
|
-
- aaron@tenderlovemaking.com
|
|
36
|
+
email:
|
|
143
37
|
executables: []
|
|
144
38
|
extensions:
|
|
145
39
|
- ext/sqlite3/extconf.rb
|
|
146
40
|
extra_rdoc_files:
|
|
147
|
-
- API_CHANGES.
|
|
148
|
-
- CHANGELOG.
|
|
149
|
-
-
|
|
150
|
-
- README.rdoc
|
|
41
|
+
- API_CHANGES.md
|
|
42
|
+
- CHANGELOG.md
|
|
43
|
+
- README.md
|
|
151
44
|
- ext/sqlite3/aggregator.c
|
|
152
45
|
- ext/sqlite3/backup.c
|
|
153
46
|
- ext/sqlite3/database.c
|
|
@@ -156,16 +49,15 @@ extra_rdoc_files:
|
|
|
156
49
|
- ext/sqlite3/statement.c
|
|
157
50
|
files:
|
|
158
51
|
- ".gemtest"
|
|
159
|
-
-
|
|
160
|
-
-
|
|
161
|
-
-
|
|
52
|
+
- API_CHANGES.md
|
|
53
|
+
- CHANGELOG.md
|
|
54
|
+
- CONTRIBUTING.md
|
|
162
55
|
- ChangeLog.cvs
|
|
163
56
|
- Gemfile
|
|
164
57
|
- LICENSE
|
|
165
|
-
-
|
|
166
|
-
- README.
|
|
167
|
-
-
|
|
168
|
-
- appveyor.yml
|
|
58
|
+
- LICENSE-DEPENDENCIES
|
|
59
|
+
- README.md
|
|
60
|
+
- dependencies.yml
|
|
169
61
|
- ext/sqlite3/aggregator.c
|
|
170
62
|
- ext/sqlite3/aggregator.h
|
|
171
63
|
- ext/sqlite3/backup.c
|
|
@@ -179,6 +71,7 @@ files:
|
|
|
179
71
|
- ext/sqlite3/sqlite3_ruby.h
|
|
180
72
|
- ext/sqlite3/statement.c
|
|
181
73
|
- ext/sqlite3/statement.h
|
|
74
|
+
- faq/faq.md
|
|
182
75
|
- faq/faq.rb
|
|
183
76
|
- faq/faq.yml
|
|
184
77
|
- lib/sqlite3.rb
|
|
@@ -191,11 +84,7 @@ files:
|
|
|
191
84
|
- lib/sqlite3/translator.rb
|
|
192
85
|
- lib/sqlite3/value.rb
|
|
193
86
|
- lib/sqlite3/version.rb
|
|
194
|
-
-
|
|
195
|
-
- rakelib/gem.rake
|
|
196
|
-
- rakelib/native.rake
|
|
197
|
-
- rakelib/vendor_sqlite3.rake
|
|
198
|
-
- setup.rb
|
|
87
|
+
- ports/archives/sqlite-autoconf-3420000.tar.gz
|
|
199
88
|
- test/helper.rb
|
|
200
89
|
- test/test_backup.rb
|
|
201
90
|
- test/test_collation.rb
|
|
@@ -211,6 +100,7 @@ files:
|
|
|
211
100
|
- test/test_integration_pending.rb
|
|
212
101
|
- test/test_integration_resultset.rb
|
|
213
102
|
- test/test_integration_statement.rb
|
|
103
|
+
- test/test_pragmas.rb
|
|
214
104
|
- test/test_result_set.rb
|
|
215
105
|
- test/test_sqlite3.rb
|
|
216
106
|
- test/test_statement.rb
|
|
@@ -219,25 +109,31 @@ homepage: https://github.com/sparklemotion/sqlite3-ruby
|
|
|
219
109
|
licenses:
|
|
220
110
|
- BSD-3-Clause
|
|
221
111
|
metadata:
|
|
112
|
+
homepage_uri: https://github.com/sparklemotion/sqlite3-ruby
|
|
113
|
+
bug_tracker_uri: https://github.com/sparklemotion/sqlite3-ruby/issues
|
|
114
|
+
documentation_uri: https://www.rubydoc.info/gems/sqlite3
|
|
115
|
+
changelog_uri: https://github.com/sparklemotion/sqlite3-ruby/blob/master/CHANGELOG.md
|
|
116
|
+
source_code_uri: https://github.com/sparklemotion/sqlite3-ruby
|
|
222
117
|
msys2_mingw_dependencies: sqlite3
|
|
118
|
+
rubygems_mfa_required: 'true'
|
|
223
119
|
post_install_message:
|
|
224
120
|
rdoc_options:
|
|
225
121
|
- "--main"
|
|
226
|
-
- README.
|
|
122
|
+
- README.md
|
|
227
123
|
require_paths:
|
|
228
124
|
- lib
|
|
229
125
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
230
126
|
requirements:
|
|
231
127
|
- - ">="
|
|
232
128
|
- !ruby/object:Gem::Version
|
|
233
|
-
version: 1.
|
|
129
|
+
version: 1.9.2
|
|
234
130
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
235
131
|
requirements:
|
|
236
132
|
- - ">="
|
|
237
133
|
- !ruby/object:Gem::Version
|
|
238
|
-
version:
|
|
134
|
+
version: '0'
|
|
239
135
|
requirements: []
|
|
240
|
-
rubygems_version: 3.
|
|
136
|
+
rubygems_version: 3.4.10
|
|
241
137
|
signing_key:
|
|
242
138
|
specification_version: 4
|
|
243
139
|
summary: This module allows Ruby programs to interface with the SQLite3 database engine
|
data/.travis.yml
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
language: ruby
|
|
2
|
-
cache: bundler
|
|
3
|
-
before_install:
|
|
4
|
-
- gem update --system 2.7.7
|
|
5
|
-
- gem install bundler -v 1.16.2
|
|
6
|
-
addons:
|
|
7
|
-
apt:
|
|
8
|
-
packages:
|
|
9
|
-
- libgmp-dev
|
|
10
|
-
|
|
11
|
-
after_failure:
|
|
12
|
-
- "find . -name mkmf.log -exec cat {} \\;"
|
|
13
|
-
|
|
14
|
-
after_success:
|
|
15
|
-
- "find . -name mkmf.log -exec cat {} \\;"
|
|
16
|
-
|
|
17
|
-
env:
|
|
18
|
-
- USE_MINI_PORTILE=true
|
|
19
|
-
- USE_MINI_PORTILE=false
|
|
20
|
-
rvm:
|
|
21
|
-
- 1.9.3
|
|
22
|
-
- 2.0.0
|
|
23
|
-
- 2.1
|
|
24
|
-
- 2.2
|
|
25
|
-
- 2.3
|
|
26
|
-
- 2.4
|
|
27
|
-
- 2.5
|
|
28
|
-
- 2.6
|
|
29
|
-
- 2.7
|
|
30
|
-
- ruby-head
|
|
31
|
-
matrix:
|
|
32
|
-
allow_failures:
|
|
33
|
-
- env: USE_MINI_PORTILE=false
|
data/CHANGELOG.rdoc
DELETED
|
@@ -1,318 +0,0 @@
|
|
|
1
|
-
=== 1.4.2
|
|
2
|
-
|
|
3
|
-
* Travis: Drop unused setting "sudo: false"
|
|
4
|
-
* The taint mechanism will be deprecated in Ruby 2.7
|
|
5
|
-
* Fix Ruby 2.7 rb_check_safe_obj warnings
|
|
6
|
-
* Update travis config
|
|
7
|
-
|
|
8
|
-
=== 1.4.1
|
|
9
|
-
|
|
10
|
-
* Don't mandate dl functions for the extention build
|
|
11
|
-
* bumping version
|
|
12
|
-
|
|
13
|
-
=== 1.4.0
|
|
14
|
-
|
|
15
|
-
* Enhancements
|
|
16
|
-
* Better aggregator support
|
|
17
|
-
|
|
18
|
-
* Bugfixes
|
|
19
|
-
* Various
|
|
20
|
-
|
|
21
|
-
=== 1.3.13
|
|
22
|
-
|
|
23
|
-
* Enancements
|
|
24
|
-
* Support SQLite flags when defining functions
|
|
25
|
-
* Add definition for SQLITE_DETERMINISTIC flag
|
|
26
|
-
|
|
27
|
-
=== 1.3.12
|
|
28
|
-
|
|
29
|
-
* Bugfixes:
|
|
30
|
-
* OS X install will default to homebrew if available. Fixes #195
|
|
31
|
-
|
|
32
|
-
=== 1.3.11 / 2015-10-10
|
|
33
|
-
|
|
34
|
-
* Enhancements:
|
|
35
|
-
* Windows: build against SQLite 3.8.11.1
|
|
36
|
-
|
|
37
|
-
* Internal:
|
|
38
|
-
* Use rake-compiler-dock to build Windows binaries. Pull #159 [larskanis]
|
|
39
|
-
* Expand Ruby versions being tested for Travis and AppVeyor
|
|
40
|
-
|
|
41
|
-
=== 1.3.10 / 2014-10-30
|
|
42
|
-
|
|
43
|
-
* Enhancements:
|
|
44
|
-
* Windows: build against SQLite 3.8.6. Closes #135 [Hubro]
|
|
45
|
-
|
|
46
|
-
=== 1.3.9 / 2014-02-25
|
|
47
|
-
|
|
48
|
-
* Bugfixes:
|
|
49
|
-
* Reset exception message. Closes #80
|
|
50
|
-
* Reduce warnings due unused pointers. Closes #89
|
|
51
|
-
* Add BSD-3 license reference to gemspec. Refs #99 and #106
|
|
52
|
-
|
|
53
|
-
=== 1.3.8 / 2013-08-17
|
|
54
|
-
|
|
55
|
-
* Enhancements:
|
|
56
|
-
* Windows: build against SQLite 3.7.17
|
|
57
|
-
|
|
58
|
-
* Bugfixes:
|
|
59
|
-
* Reset exception message. Closes #80
|
|
60
|
-
* Correctly convert BLOB values to Ruby. Closes #65
|
|
61
|
-
* Add MIT license reference to gemspec. Closes #99
|
|
62
|
-
* Remove unused pointer. Closes #89
|
|
63
|
-
|
|
64
|
-
* Internal:
|
|
65
|
-
* Backport improvements in cross compilation for Windows
|
|
66
|
-
* Use of Minitest for internal tests
|
|
67
|
-
* Use Gemfile (generated by Hoe) to deal with dependencies
|
|
68
|
-
* Cleanup Travis CI
|
|
69
|
-
|
|
70
|
-
=== 1.3.7 / 2013-01-11
|
|
71
|
-
|
|
72
|
-
* Bugfixes
|
|
73
|
-
* Closing a bad statement twice will not segv.
|
|
74
|
-
* Aggregate handlers are initialized on each query. Closes #44
|
|
75
|
-
|
|
76
|
-
* Internal
|
|
77
|
-
* Unset environment variables that could affect cross compilation.
|
|
78
|
-
|
|
79
|
-
=== 1.3.6 / 2012-04-16
|
|
80
|
-
|
|
81
|
-
* Enhancements
|
|
82
|
-
* Windows: build against SQLite 3.7.11
|
|
83
|
-
* Added SQLite3::ResultSet#each_hash for fetching each row as a hash.
|
|
84
|
-
* Added SQLite3::ResultSet#next_hash for fetching one row as a hash.
|
|
85
|
-
|
|
86
|
-
* Bugfixes
|
|
87
|
-
* Support both UTF-16LE and UTF-16BE encoding modes on PPC. Closes #63
|
|
88
|
-
* Protect parameters to custom functions from being garbage collected too
|
|
89
|
-
soon. Fixes #60. Thanks hirataya!
|
|
90
|
-
* Fix backwards compatibility with 1.2.5 with bind vars and `query` method.
|
|
91
|
-
Fixes #35.
|
|
92
|
-
* Fix double definition error caused by defining sqlite3_int64/uint64.
|
|
93
|
-
* Fix suspicious version regexp.
|
|
94
|
-
|
|
95
|
-
* Deprecations
|
|
96
|
-
* ArrayWithTypesAndFields#types is deprecated and the class will be removed
|
|
97
|
-
in version 2.0.0. Please use the `types` method on the ResultSet class
|
|
98
|
-
that created this object.
|
|
99
|
-
* ArrayWithTypesAndFields#fields is deprecated and the class will be removed
|
|
100
|
-
in version 2.0.0. Please use the `columns` method on the ResultSet class
|
|
101
|
-
that created this object.
|
|
102
|
-
* The ArrayWithTypesAndFields class will be removed in 2.0.0
|
|
103
|
-
* The ArrayWithTypes class will be removed in 2.0.0
|
|
104
|
-
* HashWithTypesAndFields#types is deprecated and the class will be removed
|
|
105
|
-
in version 2.0.0. Please use the `types` method on the ResultSet class
|
|
106
|
-
that created this object.
|
|
107
|
-
* HashWithTypesAndFields#fields is deprecated and the class will be removed
|
|
108
|
-
in version 2.0.0. Please use the `columns` method on the ResultSet class
|
|
109
|
-
that created this object.
|
|
110
|
-
|
|
111
|
-
=== 1.3.5 / 2011-12-03 - ZOMG Holidays are here Edition!
|
|
112
|
-
|
|
113
|
-
* Enhancements
|
|
114
|
-
* Windows: build against SQLite 3.7.9
|
|
115
|
-
* Static: enable SQLITE_ENABLE_COLUMN_METADATA
|
|
116
|
-
* Added Statement#clear_bindings! to set bindings back to nil
|
|
117
|
-
|
|
118
|
-
* Bugfixes
|
|
119
|
-
* Fixed a segv on Database.new. Fixes #34 (thanks nobu!)
|
|
120
|
-
* Database error is not reset, so don't check it in Statement#reset!
|
|
121
|
-
* Remove conditional around Bignum statement bindings.
|
|
122
|
-
Fixes #52. Fixes #56. Thank you Evgeny Myasishchev.
|
|
123
|
-
|
|
124
|
-
* Internal
|
|
125
|
-
* Use proper endianness when testing database connection with UTF-16.
|
|
126
|
-
Fixes #40. Fixes #51
|
|
127
|
-
* Use -fPIC for static compilation when host is x86_64.
|
|
128
|
-
|
|
129
|
-
=== 1.3.4 / 2011-07-25
|
|
130
|
-
|
|
131
|
-
* Enhancements:
|
|
132
|
-
* Windows: build against SQLite 3.7.7.1
|
|
133
|
-
* Windows: build static binaries that do not depend on sqlite3.dll be
|
|
134
|
-
installed anymore
|
|
135
|
-
|
|
136
|
-
* Bugfixes
|
|
137
|
-
* Backup API is conditionaly required so that older libsqlite3 can be used.
|
|
138
|
-
Thanks Hongli Lai.
|
|
139
|
-
* Fixed segmentation fault when nil is passed to SQLite3::Statement.new
|
|
140
|
-
* Fix extconf's hardcoded path that affected installation on certain systems.
|
|
141
|
-
|
|
142
|
-
=== 1.3.3 / 2010-01-16
|
|
143
|
-
|
|
144
|
-
* Bugfixes
|
|
145
|
-
* Abort on installation if sqlite3_backup_init is missing. Fixes #19
|
|
146
|
-
* Gem has been renamed to 'sqlite3'. Please use `gem install sqlite3`
|
|
147
|
-
|
|
148
|
-
=== 1.3.2 / 2010-10-30 / RubyConf Uruguay Edition!
|
|
149
|
-
|
|
150
|
-
* Enhancements:
|
|
151
|
-
* Windows: build against 3.7.3 version of SQLite3
|
|
152
|
-
* SQLite3::Database can now be open as readonly
|
|
153
|
-
|
|
154
|
-
db = SQLite3::Database.new('my.db', :readonly => true)
|
|
155
|
-
|
|
156
|
-
* Added SQLite3::SQLITE_VERSION and SQLite3::SQLITE_VERSION_NUMBER [nurse]
|
|
157
|
-
|
|
158
|
-
* Bugfixes
|
|
159
|
-
* type_translation= works along with Database#execute and a block
|
|
160
|
-
* defined functions are kept in a hash to prevent GC. #7
|
|
161
|
-
* Removed GCC specific flags from extconf.
|
|
162
|
-
|
|
163
|
-
* DEPRECATIONS
|
|
164
|
-
* SQLite3::Database#type_translation= will be deprecated in the future with
|
|
165
|
-
no replacement.
|
|
166
|
-
* SQlite3::Version will be deprecated in 2.0.0 with SQLite3::VERSION as the
|
|
167
|
-
replacement.
|
|
168
|
-
|
|
169
|
-
=== 1.3.1 / 2010-07-09
|
|
170
|
-
|
|
171
|
-
* Enhancements
|
|
172
|
-
* Custom collations may be defined using SQLite3::Database#collation
|
|
173
|
-
|
|
174
|
-
* Bugfixes
|
|
175
|
-
* Statements returning 0 columns are automatically stepped. [RF #28308]
|
|
176
|
-
* SQLite3::Database#encoding works on 1.8 and 1.9
|
|
177
|
-
|
|
178
|
-
=== 1.3.0 / 2010-06-06
|
|
179
|
-
|
|
180
|
-
* Enhancements
|
|
181
|
-
* Complete rewrite of C-based adapter from SWIG to hand-crafted one [tenderlove]
|
|
182
|
-
See API_CHANGES document for details.
|
|
183
|
-
This closes: Bug #27300, Bug #27241, Patch #16020
|
|
184
|
-
* Improved UTF, Unicode, M17N, all that handling and proper BLOB handling [tenderlove, nurse]
|
|
185
|
-
* Added support for type translations [tenderlove]
|
|
186
|
-
|
|
187
|
-
@db.translator.add_translator('sometime') do |type, thing|
|
|
188
|
-
'output' # this will be returned as value for that column
|
|
189
|
-
end
|
|
190
|
-
|
|
191
|
-
* Experimental
|
|
192
|
-
* Added API to access and load extensions. [kashif]
|
|
193
|
-
These functions maps directly into SQLite3 own enable_load_extension()
|
|
194
|
-
and load_extension() C-API functions. See SQLite3::Database API documentation for details.
|
|
195
|
-
This closes: Patches #9178
|
|
196
|
-
|
|
197
|
-
* Bugfixes
|
|
198
|
-
* Corrected gem dependencies (runtime and development)
|
|
199
|
-
* Fixed threaded tests [Alexey Borzenkov]
|
|
200
|
-
* Removed GitHub gemspec
|
|
201
|
-
* Fixed "No definition for" warnings from RDoc
|
|
202
|
-
* Generate zip and tgz files for releases
|
|
203
|
-
* Added Luis Lavena as gem Author (maintainer)
|
|
204
|
-
* Prevent mkmf interfere with Mighty Snow Leopard
|
|
205
|
-
* Allow extension compilation search for common lib paths [kashif]
|
|
206
|
-
(lookup /usr/local, /opt/local and /usr)
|
|
207
|
-
* Corrected extension compilation under MSVC [romuloceccon]
|
|
208
|
-
* Define load_extension functionality based on availability [tenderlove]
|
|
209
|
-
* Deprecation notices for Database#query. Fixes RF #28192
|
|
210
|
-
|
|
211
|
-
=== 1.3.0.beta.2 / 2010-05-15
|
|
212
|
-
|
|
213
|
-
* Enhancements
|
|
214
|
-
* Added support for type translations [tenderlove]
|
|
215
|
-
|
|
216
|
-
@db.translator.add_translator('sometime') do |type, thing|
|
|
217
|
-
'output' # this will be returned as value for that column
|
|
218
|
-
end
|
|
219
|
-
|
|
220
|
-
* Bugfixes
|
|
221
|
-
* Allow extension compilation search for common lib paths [kashif]
|
|
222
|
-
(lookup /usr/local, /opt/local and /usr)
|
|
223
|
-
* Corrected extension compilation under MSVC [romuloceccon]
|
|
224
|
-
* Define load_extension functionality based on availability [tenderlove]
|
|
225
|
-
* Deprecation notices for Database#query. Fixes RF #28192
|
|
226
|
-
|
|
227
|
-
=== 1.3.0.beta.1 / 2010-05-10
|
|
228
|
-
|
|
229
|
-
* Enhancements
|
|
230
|
-
* Complete rewrite of C-based adapter from SWIG to hand-crafted one [tenderlove]
|
|
231
|
-
See API_CHANGES document for details.
|
|
232
|
-
This closes: Bug #27300, Bug #27241, Patch #16020
|
|
233
|
-
* Improved UTF, Unicode, M17N, all that handling and proper BLOB handling [tenderlove, nurse]
|
|
234
|
-
|
|
235
|
-
* Experimental
|
|
236
|
-
* Added API to access and load extensions. [kashif]
|
|
237
|
-
These functions maps directly into SQLite3 own enable_load_extension()
|
|
238
|
-
and load_extension() C-API functions. See SQLite3::Database API documentation for details.
|
|
239
|
-
This closes: Patches #9178
|
|
240
|
-
|
|
241
|
-
* Bugfixes
|
|
242
|
-
* Corrected gem dependencies (runtime and development)
|
|
243
|
-
* Fixed threaded tests [Alexey Borzenkov]
|
|
244
|
-
* Removed GitHub gemspec
|
|
245
|
-
* Fixed "No definition for" warnings from RDoc
|
|
246
|
-
* Generate zip and tgz files for releases
|
|
247
|
-
* Added Luis Lavena as gem Author (maintainer)
|
|
248
|
-
* Prevent mkmf interfere with Mighty Snow Leopard
|
|
249
|
-
|
|
250
|
-
=== 1.2.5 / 25 Jul 2009
|
|
251
|
-
|
|
252
|
-
* Check for illegal nil before executing SQL [Erik Veenstra]
|
|
253
|
-
* Switch to Hoe for gem task management and packaging.
|
|
254
|
-
* Advertise rake-compiler as development dependency.
|
|
255
|
-
* Build gem binaries for Windows.
|
|
256
|
-
* Improved Ruby 1.9 support compatibility.
|
|
257
|
-
* Taint returned values. Patch #20325.
|
|
258
|
-
* Database.open and Database.new now take an optional block [Gerrit Kaiser]
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
=== 1.2.4.1 (internal) / 5 Jul 2009
|
|
262
|
-
|
|
263
|
-
* Check for illegal nil before executing SQL [Erik Veenstra]
|
|
264
|
-
* Switch to Hoe for gem task management and packaging.
|
|
265
|
-
* Advertise rake-compiler as development dependency.
|
|
266
|
-
* Build gem binaries for Windows.
|
|
267
|
-
* Improved Ruby 1.9 support compatibility.
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
=== 1.2.4 / 27 Aug 2008
|
|
271
|
-
|
|
272
|
-
* Package the updated C file for source builds. [Jamis Buck]
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
=== 1.2.3 / 26 Aug 2008
|
|
276
|
-
|
|
277
|
-
* Fix incorrect permissions on database.rb and translator.rb [Various]
|
|
278
|
-
|
|
279
|
-
* Avoid using Object#extend for greater speedups [Erik Veenstra]
|
|
280
|
-
|
|
281
|
-
* Ruby 1.9 compatibility tweaks for Array#zip [jimmy88@gmail.com]
|
|
282
|
-
|
|
283
|
-
* Fix linking against Ruby 1.8.5 [Rob Holland <rob@inversepath.com>]
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
=== 1.2.2 / 31 May 2008
|
|
287
|
-
|
|
288
|
-
* Make the table_info method adjust the returned default value for the rows
|
|
289
|
-
so that the sqlite3 change in 3.3.8 and greater can be handled
|
|
290
|
-
transparently [Jamis Buck <jamis@37signals.com>]
|
|
291
|
-
|
|
292
|
-
* Ruby 1.9 compatibility tweaks [Roman Le Negrate <roman2k@free.fr>]
|
|
293
|
-
|
|
294
|
-
* Various performance enhancements [thanks Erik Veenstra]
|
|
295
|
-
|
|
296
|
-
* Correct busy_handler documentation [Rob Holland <rob@inversepath.com>]
|
|
297
|
-
|
|
298
|
-
* Use int_bind64 on Fixnum values larger than a 32bit C int can take. [Rob Holland <rob@inversepath.com>]
|
|
299
|
-
|
|
300
|
-
* Work around a quirk in SQLite's error reporting by calling sqlite3_reset
|
|
301
|
-
to produce a more informative error code upon a failure from
|
|
302
|
-
sqlite3_step. [Rob Holland <rob@inversepath.com>]
|
|
303
|
-
|
|
304
|
-
* Various documentation, test, and style tweaks [Rob Holland <rob@inversepath.com>]
|
|
305
|
-
|
|
306
|
-
* Be more granular with time/data translation [Rob Holland <rob@inversepath.com>]
|
|
307
|
-
|
|
308
|
-
* Use Date directly for parsing rather than going via Time [Rob Holland <rob@inversepath.com>]
|
|
309
|
-
|
|
310
|
-
* Check for the rt library and fdatasync so we link against that when
|
|
311
|
-
needed [Rob Holland <rob@inversepath.com>]
|
|
312
|
-
|
|
313
|
-
* Rename data structures to avoid collision on win32. based on patch
|
|
314
|
-
by: Luis Lavena [Rob Holland <rob@inversepath.com>]
|
|
315
|
-
|
|
316
|
-
* Add test for defaults [Daniel Rodríguez Troitiño]
|
|
317
|
-
|
|
318
|
-
* Correctly unquote double-quoted pragma defaults [Łukasz Dargiewicz <lukasz.dargiewicz@gmail.com>]
|
data/Manifest.txt
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
.gemtest
|
|
2
|
-
.travis.yml
|
|
3
|
-
API_CHANGES.rdoc
|
|
4
|
-
CHANGELOG.rdoc
|
|
5
|
-
ChangeLog.cvs
|
|
6
|
-
Gemfile
|
|
7
|
-
LICENSE
|
|
8
|
-
Manifest.txt
|
|
9
|
-
README.rdoc
|
|
10
|
-
Rakefile
|
|
11
|
-
appveyor.yml
|
|
12
|
-
ext/sqlite3/aggregator.c
|
|
13
|
-
ext/sqlite3/aggregator.h
|
|
14
|
-
ext/sqlite3/backup.c
|
|
15
|
-
ext/sqlite3/backup.h
|
|
16
|
-
ext/sqlite3/database.c
|
|
17
|
-
ext/sqlite3/database.h
|
|
18
|
-
ext/sqlite3/exception.c
|
|
19
|
-
ext/sqlite3/exception.h
|
|
20
|
-
ext/sqlite3/extconf.rb
|
|
21
|
-
ext/sqlite3/sqlite3.c
|
|
22
|
-
ext/sqlite3/sqlite3_ruby.h
|
|
23
|
-
ext/sqlite3/statement.c
|
|
24
|
-
ext/sqlite3/statement.h
|
|
25
|
-
faq/faq.rb
|
|
26
|
-
faq/faq.yml
|
|
27
|
-
lib/sqlite3.rb
|
|
28
|
-
lib/sqlite3/constants.rb
|
|
29
|
-
lib/sqlite3/database.rb
|
|
30
|
-
lib/sqlite3/errors.rb
|
|
31
|
-
lib/sqlite3/pragmas.rb
|
|
32
|
-
lib/sqlite3/resultset.rb
|
|
33
|
-
lib/sqlite3/statement.rb
|
|
34
|
-
lib/sqlite3/translator.rb
|
|
35
|
-
lib/sqlite3/value.rb
|
|
36
|
-
lib/sqlite3/version.rb
|
|
37
|
-
rakelib/faq.rake
|
|
38
|
-
rakelib/gem.rake
|
|
39
|
-
rakelib/native.rake
|
|
40
|
-
rakelib/vendor_sqlite3.rake
|
|
41
|
-
setup.rb
|
|
42
|
-
test/helper.rb
|
|
43
|
-
test/test_backup.rb
|
|
44
|
-
test/test_collation.rb
|
|
45
|
-
test/test_database.rb
|
|
46
|
-
test/test_database_flags.rb
|
|
47
|
-
test/test_database_readonly.rb
|
|
48
|
-
test/test_database_readwrite.rb
|
|
49
|
-
test/test_deprecated.rb
|
|
50
|
-
test/test_encoding.rb
|
|
51
|
-
test/test_integration.rb
|
|
52
|
-
test/test_integration_aggregate.rb
|
|
53
|
-
test/test_integration_open_close.rb
|
|
54
|
-
test/test_integration_pending.rb
|
|
55
|
-
test/test_integration_resultset.rb
|
|
56
|
-
test/test_integration_statement.rb
|
|
57
|
-
test/test_result_set.rb
|
|
58
|
-
test/test_sqlite3.rb
|
|
59
|
-
test/test_statement.rb
|
|
60
|
-
test/test_statement_execute.rb
|