amalgalite 1.6.0-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CONTRIBUTING.md +49 -0
- data/HISTORY.md +346 -0
- data/LICENSE +31 -0
- data/Manifest.txt +104 -0
- data/README.md +65 -0
- data/Rakefile +26 -0
- data/TODO.md +57 -0
- data/bin/amalgalite-pack +147 -0
- data/examples/a.rb +9 -0
- data/examples/blob.rb +88 -0
- data/examples/bootstrap.rb +36 -0
- data/examples/define_aggregate.rb +75 -0
- data/examples/define_function.rb +104 -0
- data/examples/fts5.rb +152 -0
- data/examples/gem-db.rb +94 -0
- data/examples/require_me.rb +11 -0
- data/examples/requires.rb +42 -0
- data/examples/schema-info.rb +34 -0
- data/ext/amalgalite/c/amalgalite.c +355 -0
- data/ext/amalgalite/c/amalgalite.h +151 -0
- data/ext/amalgalite/c/amalgalite_blob.c +240 -0
- data/ext/amalgalite/c/amalgalite_constants.c +1226 -0
- data/ext/amalgalite/c/amalgalite_database.c +1178 -0
- data/ext/amalgalite/c/amalgalite_requires_bootstrap.c +282 -0
- data/ext/amalgalite/c/amalgalite_statement.c +649 -0
- data/ext/amalgalite/c/extconf.rb +62 -0
- data/ext/amalgalite/c/gen_constants.rb +330 -0
- data/ext/amalgalite/c/notes.txt +134 -0
- data/ext/amalgalite/c/sqlite3.c +205352 -0
- data/ext/amalgalite/c/sqlite3.h +10727 -0
- data/ext/amalgalite/c/sqlite3_options.h +4 -0
- data/ext/amalgalite/c/sqlite3ext.h +578 -0
- data/lib/amalgalite.rb +51 -0
- data/lib/amalgalite/2.0/amalgalite.so +0 -0
- data/lib/amalgalite/2.1/amalgalite.so +0 -0
- data/lib/amalgalite/2.2/amalgalite.so +0 -0
- data/lib/amalgalite/2.3/amalgalite.so +0 -0
- data/lib/amalgalite/2.4/amalgalite.so +0 -0
- data/lib/amalgalite/aggregate.rb +67 -0
- data/lib/amalgalite/blob.rb +186 -0
- data/lib/amalgalite/boolean.rb +42 -0
- data/lib/amalgalite/busy_timeout.rb +47 -0
- data/lib/amalgalite/column.rb +99 -0
- data/lib/amalgalite/core_ext/kernel/require.rb +21 -0
- data/lib/amalgalite/csv_table_importer.rb +74 -0
- data/lib/amalgalite/database.rb +984 -0
- data/lib/amalgalite/function.rb +61 -0
- data/lib/amalgalite/index.rb +43 -0
- data/lib/amalgalite/memory_database.rb +15 -0
- data/lib/amalgalite/packer.rb +231 -0
- data/lib/amalgalite/paths.rb +80 -0
- data/lib/amalgalite/profile_tap.rb +131 -0
- data/lib/amalgalite/progress_handler.rb +21 -0
- data/lib/amalgalite/requires.rb +151 -0
- data/lib/amalgalite/schema.rb +225 -0
- data/lib/amalgalite/sqlite3.rb +6 -0
- data/lib/amalgalite/sqlite3/constants.rb +95 -0
- data/lib/amalgalite/sqlite3/database/function.rb +48 -0
- data/lib/amalgalite/sqlite3/database/status.rb +68 -0
- data/lib/amalgalite/sqlite3/status.rb +60 -0
- data/lib/amalgalite/sqlite3/version.rb +55 -0
- data/lib/amalgalite/statement.rb +418 -0
- data/lib/amalgalite/table.rb +91 -0
- data/lib/amalgalite/taps.rb +2 -0
- data/lib/amalgalite/taps/console.rb +27 -0
- data/lib/amalgalite/taps/io.rb +71 -0
- data/lib/amalgalite/trace_tap.rb +35 -0
- data/lib/amalgalite/type_map.rb +63 -0
- data/lib/amalgalite/type_maps/default_map.rb +166 -0
- data/lib/amalgalite/type_maps/storage_map.rb +38 -0
- data/lib/amalgalite/type_maps/text_map.rb +21 -0
- data/lib/amalgalite/version.rb +8 -0
- data/lib/amalgalite/view.rb +26 -0
- data/spec/aggregate_spec.rb +154 -0
- data/spec/amalgalite_spec.rb +4 -0
- data/spec/blob_spec.rb +78 -0
- data/spec/boolean_spec.rb +24 -0
- data/spec/busy_handler.rb +157 -0
- data/spec/data/iso-3166-country.txt +242 -0
- data/spec/data/iso-3166-schema.sql +22 -0
- data/spec/data/iso-3166-subcountry.txt +3995 -0
- data/spec/data/make-iso-db.sh +12 -0
- data/spec/database_spec.rb +508 -0
- data/spec/default_map_spec.rb +92 -0
- data/spec/function_spec.rb +78 -0
- data/spec/integeration_spec.rb +97 -0
- data/spec/iso_3166_database.rb +58 -0
- data/spec/packer_spec.rb +60 -0
- data/spec/paths_spec.rb +28 -0
- data/spec/progress_handler_spec.rb +91 -0
- data/spec/requires_spec.rb +54 -0
- data/spec/rtree_spec.rb +66 -0
- data/spec/schema_spec.rb +131 -0
- data/spec/spec_helper.rb +48 -0
- data/spec/sqlite3/constants_spec.rb +108 -0
- data/spec/sqlite3/database_status_spec.rb +36 -0
- data/spec/sqlite3/status_spec.rb +22 -0
- data/spec/sqlite3/version_spec.rb +28 -0
- data/spec/sqlite3_spec.rb +53 -0
- data/spec/statement_spec.rb +168 -0
- data/spec/storage_map_spec.rb +38 -0
- data/spec/tap_spec.rb +57 -0
- data/spec/text_map_spec.rb +20 -0
- data/spec/type_map_spec.rb +14 -0
- data/spec/version_spec.rb +8 -0
- data/tasks/custom.rake +102 -0
- data/tasks/default.rake +240 -0
- data/tasks/extension.rake +38 -0
- data/tasks/this.rb +208 -0
- metadata +318 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: b7a0210ab2535ac286a631657b464dbb44b27ee2
|
4
|
+
data.tar.gz: d22531bbb1a391e5de2992bd805c4feb8f93e455
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1edcc6be7b5ee62f1768c683b62424632f819b904ccf7e3d8195abe0a58ae66d4905f65c26c0c85baca9dd569da43ff7a96b5846d9e1d0ac1d5e8a6971832a19
|
7
|
+
data.tar.gz: 318501523734d281dea00333d4d896e336293a05dd9bad85cf3bc8feab9e38b5f05d28dc7728ca661b3ff4ceb796ba3244ff16d179e76a7f46fbe2316ad2e7f7
|
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# Hi there!
|
2
|
+
|
3
|
+
I see you are interested in contributing. That is wonderful. I love
|
4
|
+
contributions.
|
5
|
+
|
6
|
+
I guarantee that there are bugs in this software. And I guarantee that there is
|
7
|
+
a feature you want that is not in here yet. As such, any and all bugs reports
|
8
|
+
are gratefully accepted, bugfixes even more so. Helping out with bugs is the
|
9
|
+
easiest way to contribute.
|
10
|
+
|
11
|
+
|
12
|
+
## The Quick Version
|
13
|
+
|
14
|
+
* Have a [GitHub Account][].
|
15
|
+
* Search the [GitHub Issues][] and see if your issue already present. If so
|
16
|
+
add your comments, :thumbsup:, etc.
|
17
|
+
* Issue not there? Not a problem, open up a [new issue][].
|
18
|
+
* **Bug reports** please be as detailed as possible. Include:
|
19
|
+
* full ruby engine and version: `ruby -e 'puts RUBY_DESCRIPTION'`
|
20
|
+
* operating system and version
|
21
|
+
* version of amalgalite `ruby -rubygems -e "require 'amalgalite'; puts Amalgalite::VERSION"`
|
22
|
+
* as much detail about the bug as possible so I can replicate it. Feel free
|
23
|
+
to link in a [gist][]
|
24
|
+
* **New Feature**
|
25
|
+
* What the new feature should do.
|
26
|
+
* What benefit the new feature brings to the project.
|
27
|
+
* Fork the [repo][].
|
28
|
+
* Create a new branch for your issue: `git checkout -b issue/my-issue`
|
29
|
+
* Lovingly craft your contribution:
|
30
|
+
* `rake develop` to get started, or if you prefer bundler `rake develop:using_bundler && bundle`.
|
31
|
+
* `rake test` to run tests
|
32
|
+
* Make sure that `rake test` passes. It's important, I said it twice.
|
33
|
+
* Add yourself to the contributors section below.
|
34
|
+
* Submit your [pull request][].
|
35
|
+
|
36
|
+
# Contributors
|
37
|
+
|
38
|
+
* [Jeremy Hinegardner](https://github.com/copiousfreetime)
|
39
|
+
* [Jos Backus](https://github.com/josb)
|
40
|
+
* [Alex Young](https://github.com/regularfry)
|
41
|
+
* [Michael Granger](https://github.com/ged)
|
42
|
+
* [Alex Young](https://github.com/bmalex)
|
43
|
+
|
44
|
+
[GitHub Account]: https://github.com/signup/free "GitHub Signup"
|
45
|
+
[GitHub Issues]: https://github.com/copiousfreetime/amalgalite/issues "Amalgalite Issues"
|
46
|
+
[new issue]: https://github.com/copiousfreetime/amalgalite/issues/new "New Amalgalite Issue"
|
47
|
+
[gist]: https://gist.github.com/ "New Gist"
|
48
|
+
[repo]: https://github.com/copiousfreetime/amalgalite "Amalgalite Repo"
|
49
|
+
[pull request]: https://help.github.com/articles/using-pull-requests "Using Pull Requests"
|
data/HISTORY.md
ADDED
@@ -0,0 +1,346 @@
|
|
1
|
+
# Amalgalite Changelog
|
2
|
+
|
3
|
+
## Version 1.6.0 - 2017-12-13
|
4
|
+
|
5
|
+
* Update to SQLite 3.21.0
|
6
|
+
* source id access methods
|
7
|
+
* Amalgalite::SQLite3::Version.compiled_source_id
|
8
|
+
* Amalgalite::SQLite3::Version.runtime_source_id
|
9
|
+
* enable new compile time options
|
10
|
+
* SQLITE_ENABLE_DBPAGE_VTAB
|
11
|
+
* SQLITE_ENABLE_MEMORY_MANAGEMENT
|
12
|
+
* SQLITE_ENABLE_PREUPDATE_HOOK
|
13
|
+
* SQLITE_ENABLE_SESSION
|
14
|
+
* SQLITE_ENABLE_STMTVTAB
|
15
|
+
|
16
|
+
## Version 1.5.0 - 2015-12-06
|
17
|
+
|
18
|
+
* Update to SQLite 3.9.2
|
19
|
+
* Enable new SQLite features FTS5, JSON1
|
20
|
+
|
21
|
+
## Version 1.4.1 - 2015-09-13
|
22
|
+
|
23
|
+
* Update to SQLite 3.8.11.1
|
24
|
+
* Track down and cleanup sporadic rspec failures
|
25
|
+
|
26
|
+
## Version 1.4.0 - 2015-01-11
|
27
|
+
|
28
|
+
### Enhancements
|
29
|
+
|
30
|
+
* Update arrayfields dependency to 4.9.2
|
31
|
+
* Update to SQLite 3.8.7.4
|
32
|
+
* Make windows binary gems again, including ruby 2.1
|
33
|
+
|
34
|
+
## Version 1.3.0 - 2013-03-13
|
35
|
+
|
36
|
+
### Enhancements
|
37
|
+
|
38
|
+
* Update development dependencies to the latest levels
|
39
|
+
* Change up the development process to be inline with other projects
|
40
|
+
* Add Amalgalite::Database#import for mass execution of sql (bmalex 5a42f44f)
|
41
|
+
* Allow :memory: databases to Amalgalite::Requires (bmalex df9f70b8)
|
42
|
+
* Allow bootstrapping from an in-memory sql buffer (bmalex a17fb9cf)
|
43
|
+
* Make Amalgalite 1.9 -w clean
|
44
|
+
* Updates for Ruby 2.0
|
45
|
+
|
46
|
+
### Bug Fixes
|
47
|
+
|
48
|
+
* Fix handling of debug flags in extconf.rb (ged #22)
|
49
|
+
* Remove deprected Config:: (github issue #23)
|
50
|
+
* Correct detection of being loaded in conjunction with 'sqlite3' gem (github issue #15)
|
51
|
+
* Fix incorrect loading/reload of schema [GH #16]
|
52
|
+
* Fix setting of LOADED_FEATRES when requiring from a database (bmalex edb81837)
|
53
|
+
* Fix setting of require_path for files to require that are stored in the * database (bmalex de321b86)
|
54
|
+
|
55
|
+
## Version 1.1.2 - 2011-04-01
|
56
|
+
|
57
|
+
### Bug Fixes
|
58
|
+
|
59
|
+
* Remove example database that was mistakenly packaged with version 1.1.1
|
60
|
+
|
61
|
+
## Version 1.1.1 - 2011-03-27
|
62
|
+
|
63
|
+
### Enhancements
|
64
|
+
|
65
|
+
* Update to SQLite 3.7.5
|
66
|
+
* Enable SQLite Full Text Search compile time options FTS3 and FTS4 [github issue #10]
|
67
|
+
http://www.sqlite.org/fts3.html
|
68
|
+
* Enable STAT2 SQLite compile time option to improve ANALYZE command support
|
69
|
+
http://www.sqlite.org/lang_analyze.html
|
70
|
+
|
71
|
+
### Bug Fixes
|
72
|
+
|
73
|
+
* The C coded generated by gen_constants.rb was updated to support older
|
74
|
+
compilers [github issue #8] (patch from josb)
|
75
|
+
* Fix 'amalgalite-pack --self' on ruby 1.9
|
76
|
+
|
77
|
+
## Version 1.0.0 - 2011-01-16
|
78
|
+
|
79
|
+
### Enhancements
|
80
|
+
|
81
|
+
* Update to 1.0.0
|
82
|
+
* Update to SQLite 3.7.4
|
83
|
+
* Update all runtime and development dependencies to the latest version
|
84
|
+
|
85
|
+
### Bug Fixes
|
86
|
+
|
87
|
+
* Fix FasterCSV/CSV compatibility issues with ruby 1.8/1.9 [github issue #4]
|
88
|
+
* Fix building issues for Ruby 1.9 [gitHub issue #5]
|
89
|
+
* Fix cross compilation problems when using rvm
|
90
|
+
|
91
|
+
## Version 0.15.0 - 2010-10-30
|
92
|
+
|
93
|
+
### Enhancements
|
94
|
+
|
95
|
+
* Update to sqlite 3.7.3
|
96
|
+
* Added Database#import_csv_to_table
|
97
|
+
* Added MemoryDatabase class
|
98
|
+
|
99
|
+
### Bug Fixes
|
100
|
+
|
101
|
+
* Unable to run specs from gem [GH Issue #3]
|
102
|
+
|
103
|
+
## Version 0.12.1 - 2010-02-17
|
104
|
+
|
105
|
+
### Enhancements
|
106
|
+
|
107
|
+
* Update to sqlite 3.6.22
|
108
|
+
|
109
|
+
## Version 0.12.0 - 2009-10-29
|
110
|
+
|
111
|
+
### Enhancements
|
112
|
+
|
113
|
+
* Update to sqlite 3.6.19
|
114
|
+
|
115
|
+
### Bug Fixes
|
116
|
+
|
117
|
+
* Improve detection of schema changes
|
118
|
+
* Add missing development dependencies
|
119
|
+
* Ensure the initialization of the underlying sqlite3 library
|
120
|
+
* Fix a segmentation fault that happend in Sequel tests
|
121
|
+
* Fix tracking of highwater memory usage
|
122
|
+
* Fix testing interruptability of sqlite3 commands
|
123
|
+
|
124
|
+
## Version 0.11.0 - 2009-08-23
|
125
|
+
|
126
|
+
### Enhancements
|
127
|
+
|
128
|
+
* Update to SQLite 3.6.17
|
129
|
+
|
130
|
+
### Bug Fixes
|
131
|
+
|
132
|
+
* Add compiletime vs. runtime library checking.
|
133
|
+
* Fix missing datatypes to typemap (reported by Jay Godse)
|
134
|
+
|
135
|
+
## Version 0.10.2 - 2009-08-10
|
136
|
+
|
137
|
+
### Bug Fixes
|
138
|
+
|
139
|
+
* Statement#execute was not expanding an Array passed in to the positional
|
140
|
+
#bind parameters (reported by Steven Harris).
|
141
|
+
|
142
|
+
## Version 0.10.1 - 2009-08-01
|
143
|
+
|
144
|
+
### Enhancements
|
145
|
+
|
146
|
+
* Add version subdirectory for extension on all platforms for building locally
|
147
|
+
on gem install.
|
148
|
+
* Add gem for x86-ming32 platform
|
149
|
+
* Add specs to validate the R*Tree index is compiled correctly
|
150
|
+
|
151
|
+
### Bug Fixes
|
152
|
+
|
153
|
+
* Small documentation change for Amalgalite::Database#new
|
154
|
+
|
155
|
+
## Version 0.10.0 - 2009-06-28
|
156
|
+
|
157
|
+
### Enhancements
|
158
|
+
|
159
|
+
* windows gem is now a fat binary to support installing into ruby 1.8 and 1.9
|
160
|
+
from the same gem
|
161
|
+
* Update to Sqlite 3.6.16 and fix errors returned by define_aggregate and
|
162
|
+
define_function based upon update
|
163
|
+
|
164
|
+
## Version 0.9.0 - 2009-04-05
|
165
|
+
|
166
|
+
### Enhancements
|
167
|
+
|
168
|
+
* Ruby 1.9 compatibility
|
169
|
+
* Update to SQLite 3.6.12
|
170
|
+
* Added support for the new SQLite Backup API, see Amalgalite::Database#replicate_to
|
171
|
+
* Added exclusive/immediate/deferred transaction helpers
|
172
|
+
|
173
|
+
## Version 0.8.0 - 2009-03-23
|
174
|
+
|
175
|
+
### Enhancements
|
176
|
+
|
177
|
+
* Add in support for obtaining limited schema information on temporary tables
|
178
|
+
and indexes
|
179
|
+
* Add support for returning the primary key columns of a table
|
180
|
+
* Other miscellaneous items to support the ActiveRecord adapter
|
181
|
+
|
182
|
+
## Version 0.7.7 - 2009-03-03
|
183
|
+
|
184
|
+
### Bug Fixes
|
185
|
+
|
186
|
+
* roll back to SQLite 3.6.10 because of substr() bug in 3.6.11
|
187
|
+
|
188
|
+
## Version 0.7.6 - 2009-03-02
|
189
|
+
|
190
|
+
### Enhancements
|
191
|
+
|
192
|
+
* Update to SQLite 3.6.11
|
193
|
+
|
194
|
+
### Bug Fixes
|
195
|
+
|
196
|
+
* fix issues with the wrong error message appearing in statement closing
|
197
|
+
* incorrectly raise an exception if a transaction is started when rescuing an
|
198
|
+
exception [reported by James Edwared Gray II]
|
199
|
+
|
200
|
+
## Version 0.7.5 - 2009-02-12
|
201
|
+
|
202
|
+
### Bug Fixes
|
203
|
+
|
204
|
+
* another ruby -w pass to clear up warnings
|
205
|
+
* force all tests to run with -w turned on
|
206
|
+
|
207
|
+
## Version 0.7.4 - 2009-02-08
|
208
|
+
|
209
|
+
### Bug Fixes
|
210
|
+
|
211
|
+
* fix Database#first_row_from not behaving the same as Database#execute() when
|
212
|
+
there are no results. [reported by James Edward Gray II]
|
213
|
+
|
214
|
+
## Version 0.7.3 - 2009-02-08
|
215
|
+
|
216
|
+
### Enhancements
|
217
|
+
|
218
|
+
* added Database#first_row_from
|
219
|
+
* added Database#first_value_from
|
220
|
+
|
221
|
+
### Bug Fixes
|
222
|
+
|
223
|
+
* clean up ruby warnings when run with -w
|
224
|
+
* fix documenation on Database#execute
|
225
|
+
|
226
|
+
## Version 0.7.2 - 2009-01-24
|
227
|
+
### Enhancements
|
228
|
+
|
229
|
+
* added quoting and escaping of text support, used for database drivers
|
230
|
+
* added ability to access columns of the schame in original definition order
|
231
|
+
|
232
|
+
## Version 0.7.1 - 2009-01-18
|
233
|
+
|
234
|
+
### Enhancements
|
235
|
+
|
236
|
+
* added support for sqlite's nexted transactions which appeared in sqlite
|
237
|
+
* update to SQLite version 3.6.10
|
238
|
+
* added ability to set the SQLite temporary directory
|
239
|
+
* added amalgalite-pack --require-order
|
240
|
+
|
241
|
+
### Bug Fixes
|
242
|
+
|
243
|
+
* fix exception when accessing the special 'rowid' column
|
244
|
+
* fix internal require order list for use in packing
|
245
|
+
|
246
|
+
## Version 0.6.0 - 2009-01-10
|
247
|
+
|
248
|
+
### Enhancements
|
249
|
+
|
250
|
+
* Added ability to define custom SQL functions implemented in Ruby
|
251
|
+
* Added ability to define custom SQL aggregates implemented in Ruby
|
252
|
+
* Added support for Ruby busy handlers
|
253
|
+
* Added database 'interrupt' support
|
254
|
+
* Added support for Ruby progress handlers
|
255
|
+
* update to SQLite version 3.6.7
|
256
|
+
|
257
|
+
## Version 0.5.1 - 2008-11-30
|
258
|
+
|
259
|
+
### Enhancements
|
260
|
+
|
261
|
+
* update to SQLite version 3.6.6.2
|
262
|
+
|
263
|
+
## Version 0.5.0 - 2008-11-16
|
264
|
+
|
265
|
+
### Enhancements
|
266
|
+
|
267
|
+
* amalgalite-pack-into-db has been reworked into amalgalite-pack
|
268
|
+
* ruby code that is packed into a database for later requiring can now be
|
269
|
+
compressed
|
270
|
+
* update to SQLite version 3.6.5
|
271
|
+
|
272
|
+
## Version 0.4.2 - 2008-10-12
|
273
|
+
|
274
|
+
### Enhancements
|
275
|
+
|
276
|
+
* release of windows gem
|
277
|
+
|
278
|
+
## Version 0.4.1 - 2008-09-28
|
279
|
+
|
280
|
+
### Enhancements
|
281
|
+
|
282
|
+
* update to SQLite3 version 3.6.3
|
283
|
+
* change rdoc template to darkfish
|
284
|
+
|
285
|
+
## Version 0.4.0 - 2008-09-14
|
286
|
+
|
287
|
+
### Enhancements
|
288
|
+
* update to SQLite3 version 3.6.2 and enable the RTree option by default
|
289
|
+
* Amalgalite::Requires module allowing ruby code to be 'required' from columns in an SQLite database
|
290
|
+
* Amagalite::Requires::Bootstrap extension module enabling low level boot
|
291
|
+
strapping of the pure ruby Amalgalite code from an sqlite database
|
292
|
+
* more indepth information about indexes is available via the Index class
|
293
|
+
* add support for sqlite3_status and sqlite3_db_status information
|
294
|
+
|
295
|
+
### Bugfixes
|
296
|
+
|
297
|
+
* fix nil exception when using a declared_data_type on primary key column that
|
298
|
+
has no declared_data_type
|
299
|
+
* when Database#transaction is passed a block, the return value is the return
|
300
|
+
value of the block
|
301
|
+
* nested transactions are 'faked'. Calling Database#transaction while
|
302
|
+
Databased#in_transaction? is true does not result in an exception, but
|
303
|
+
continues on in the current transaction.
|
304
|
+
* raise LoadError if required in the same program as sqlite3-ruby. These
|
305
|
+
libraries conflict with each other.
|
306
|
+
|
307
|
+
## Version 0.2.4 - 2008-07-13
|
308
|
+
|
309
|
+
### Bugfixes
|
310
|
+
* fix compilation when ruby is compiled without pthreads using
|
311
|
+
|
312
|
+
## Version 0.2.3 - 2008-07-12
|
313
|
+
|
314
|
+
### Bugfixes
|
315
|
+
* make sure file permissions are all read before shipping gem
|
316
|
+
|
317
|
+
## Version 0.2.2 - 2008-07-12
|
318
|
+
|
319
|
+
### Bugfixes
|
320
|
+
* Database#pragma should accept a block just like Database#execute does
|
321
|
+
* convert to using extconf.rb instead of mkrf to enable compilation as a
|
322
|
+
direct ruby extension in the ruby source tree
|
323
|
+
|
324
|
+
## Version 0.2.1 - 2008-07-05
|
325
|
+
|
326
|
+
### Bugfixes
|
327
|
+
* make sure that the pthread support in sqlite3 matches that of ruby
|
328
|
+
* fix schema reloading in the example scripts
|
329
|
+
|
330
|
+
## Version 0.2.0 - 2008-07-04
|
331
|
+
|
332
|
+
### Enhancements
|
333
|
+
* blob support, both incremental access and normal access
|
334
|
+
* added examples/gem_db.rb script demonstrating taps and prepared statements
|
335
|
+
* added examples/schema-info.rb script demonstrating meta information
|
336
|
+
* added examples/blob.rb demonstrating incremental blob IO
|
337
|
+
* added access to the SQLite3 errcode and errmsg api
|
338
|
+
|
339
|
+
### Bugfixes
|
340
|
+
* added taps.rb for requiring
|
341
|
+
* fixed prepared statement reset
|
342
|
+
* caught an error in executing prepared statements earlier in the process so the correct error is reported
|
343
|
+
|
344
|
+
## Version 0.1.0 - 2008-06-21
|
345
|
+
|
346
|
+
* Initial public release
|
data/LICENSE
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
BSD License - https://opensource.org/licenses/BSD-3-Clause
|
2
|
+
|
3
|
+
Copyright (c) 2008-2012 Jeremy Hinegardner
|
4
|
+
|
5
|
+
All rights reserved.
|
6
|
+
|
7
|
+
Redistribution and use in source and binary forms, with or without
|
8
|
+
modification, are permitted provided that the following conditions are met:
|
9
|
+
|
10
|
+
* Redistributions of source code must retain the above copyright notice,
|
11
|
+
this list of conditions and the following disclaimer.
|
12
|
+
|
13
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
14
|
+
this list of conditions and the following disclaimer in the documentation
|
15
|
+
and/or other materials provided with the distribution.
|
16
|
+
|
17
|
+
* Neither the name of Jeremy Hinegardner nor the names of its contributors
|
18
|
+
may be used to endorse or promote products derived from this software without
|
19
|
+
specific prior written permission.
|
20
|
+
|
21
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
22
|
+
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
23
|
+
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
24
|
+
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
|
25
|
+
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
26
|
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
27
|
+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
28
|
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
29
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
30
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
31
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
data/Manifest.txt
ADDED
@@ -0,0 +1,104 @@
|
|
1
|
+
CONTRIBUTING.md
|
2
|
+
HISTORY.md
|
3
|
+
LICENSE
|
4
|
+
Manifest.txt
|
5
|
+
README.md
|
6
|
+
Rakefile
|
7
|
+
TODO.md
|
8
|
+
bin/amalgalite-pack
|
9
|
+
examples/a.rb
|
10
|
+
examples/blob.rb
|
11
|
+
examples/bootstrap.rb
|
12
|
+
examples/define_aggregate.rb
|
13
|
+
examples/define_function.rb
|
14
|
+
examples/fts5.rb
|
15
|
+
examples/gem-db.rb
|
16
|
+
examples/require_me.rb
|
17
|
+
examples/requires.rb
|
18
|
+
examples/schema-info.rb
|
19
|
+
ext/amalgalite/c/amalgalite.c
|
20
|
+
ext/amalgalite/c/amalgalite.h
|
21
|
+
ext/amalgalite/c/amalgalite_blob.c
|
22
|
+
ext/amalgalite/c/amalgalite_constants.c
|
23
|
+
ext/amalgalite/c/amalgalite_database.c
|
24
|
+
ext/amalgalite/c/amalgalite_requires_bootstrap.c
|
25
|
+
ext/amalgalite/c/amalgalite_statement.c
|
26
|
+
ext/amalgalite/c/extconf.rb
|
27
|
+
ext/amalgalite/c/gen_constants.rb
|
28
|
+
ext/amalgalite/c/notes.txt
|
29
|
+
ext/amalgalite/c/sqlite3.c
|
30
|
+
ext/amalgalite/c/sqlite3.h
|
31
|
+
ext/amalgalite/c/sqlite3_options.h
|
32
|
+
ext/amalgalite/c/sqlite3ext.h
|
33
|
+
lib/amalgalite.rb
|
34
|
+
lib/amalgalite/aggregate.rb
|
35
|
+
lib/amalgalite/blob.rb
|
36
|
+
lib/amalgalite/boolean.rb
|
37
|
+
lib/amalgalite/busy_timeout.rb
|
38
|
+
lib/amalgalite/column.rb
|
39
|
+
lib/amalgalite/core_ext/kernel/require.rb
|
40
|
+
lib/amalgalite/csv_table_importer.rb
|
41
|
+
lib/amalgalite/database.rb
|
42
|
+
lib/amalgalite/function.rb
|
43
|
+
lib/amalgalite/index.rb
|
44
|
+
lib/amalgalite/memory_database.rb
|
45
|
+
lib/amalgalite/packer.rb
|
46
|
+
lib/amalgalite/paths.rb
|
47
|
+
lib/amalgalite/profile_tap.rb
|
48
|
+
lib/amalgalite/progress_handler.rb
|
49
|
+
lib/amalgalite/requires.rb
|
50
|
+
lib/amalgalite/schema.rb
|
51
|
+
lib/amalgalite/sqlite3.rb
|
52
|
+
lib/amalgalite/sqlite3/constants.rb
|
53
|
+
lib/amalgalite/sqlite3/database/function.rb
|
54
|
+
lib/amalgalite/sqlite3/database/status.rb
|
55
|
+
lib/amalgalite/sqlite3/status.rb
|
56
|
+
lib/amalgalite/sqlite3/version.rb
|
57
|
+
lib/amalgalite/statement.rb
|
58
|
+
lib/amalgalite/table.rb
|
59
|
+
lib/amalgalite/taps.rb
|
60
|
+
lib/amalgalite/taps/console.rb
|
61
|
+
lib/amalgalite/taps/io.rb
|
62
|
+
lib/amalgalite/trace_tap.rb
|
63
|
+
lib/amalgalite/type_map.rb
|
64
|
+
lib/amalgalite/type_maps/default_map.rb
|
65
|
+
lib/amalgalite/type_maps/storage_map.rb
|
66
|
+
lib/amalgalite/type_maps/text_map.rb
|
67
|
+
lib/amalgalite/version.rb
|
68
|
+
lib/amalgalite/view.rb
|
69
|
+
spec/aggregate_spec.rb
|
70
|
+
spec/amalgalite_spec.rb
|
71
|
+
spec/blob_spec.rb
|
72
|
+
spec/boolean_spec.rb
|
73
|
+
spec/busy_handler.rb
|
74
|
+
spec/data/iso-3166-country.txt
|
75
|
+
spec/data/iso-3166-schema.sql
|
76
|
+
spec/data/iso-3166-subcountry.txt
|
77
|
+
spec/data/make-iso-db.sh
|
78
|
+
spec/database_spec.rb
|
79
|
+
spec/default_map_spec.rb
|
80
|
+
spec/function_spec.rb
|
81
|
+
spec/integeration_spec.rb
|
82
|
+
spec/iso_3166_database.rb
|
83
|
+
spec/packer_spec.rb
|
84
|
+
spec/paths_spec.rb
|
85
|
+
spec/progress_handler_spec.rb
|
86
|
+
spec/requires_spec.rb
|
87
|
+
spec/rtree_spec.rb
|
88
|
+
spec/schema_spec.rb
|
89
|
+
spec/spec_helper.rb
|
90
|
+
spec/sqlite3/constants_spec.rb
|
91
|
+
spec/sqlite3/database_status_spec.rb
|
92
|
+
spec/sqlite3/status_spec.rb
|
93
|
+
spec/sqlite3/version_spec.rb
|
94
|
+
spec/sqlite3_spec.rb
|
95
|
+
spec/statement_spec.rb
|
96
|
+
spec/storage_map_spec.rb
|
97
|
+
spec/tap_spec.rb
|
98
|
+
spec/text_map_spec.rb
|
99
|
+
spec/type_map_spec.rb
|
100
|
+
spec/version_spec.rb
|
101
|
+
tasks/custom.rake
|
102
|
+
tasks/default.rake
|
103
|
+
tasks/extension.rake
|
104
|
+
tasks/this.rb
|