libsql 0.1.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 +60 -0
- data/HISTORY.md +6 -0
- data/LICENSE +31 -0
- data/Manifest.txt +96 -0
- data/README.md +59 -0
- data/Rakefile +28 -0
- data/TODO.md +57 -0
- data/examples/a.rb +9 -0
- data/examples/blob.rb +106 -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/schema-info.rb +34 -0
- data/ext/libsql/c/extconf.rb +86 -0
- data/ext/libsql/c/gen_constants.rb +353 -0
- data/ext/libsql/c/libsql_blob.c +240 -0
- data/ext/libsql/c/libsql_constants.c +1518 -0
- data/ext/libsql/c/libsql_database.c +1188 -0
- data/ext/libsql/c/libsql_ext.c +383 -0
- data/ext/libsql/c/libsql_ext.h +149 -0
- data/ext/libsql/c/libsql_statement.c +649 -0
- data/ext/libsql/c/notes.txt +134 -0
- data/ext/libsql/c/sqlite3.c +247030 -0
- data/ext/libsql/c/sqlite3.h +13436 -0
- data/lib/libsql/aggregate.rb +73 -0
- data/lib/libsql/blob.rb +186 -0
- data/lib/libsql/boolean.rb +42 -0
- data/lib/libsql/busy_timeout.rb +47 -0
- data/lib/libsql/column.rb +99 -0
- data/lib/libsql/csv_table_importer.rb +75 -0
- data/lib/libsql/database.rb +933 -0
- data/lib/libsql/function.rb +61 -0
- data/lib/libsql/index.rb +43 -0
- data/lib/libsql/libsql_ext.so +0 -0
- data/lib/libsql/memory_database.rb +15 -0
- data/lib/libsql/paths.rb +80 -0
- data/lib/libsql/profile_tap.rb +131 -0
- data/lib/libsql/progress_handler.rb +21 -0
- data/lib/libsql/schema.rb +225 -0
- data/lib/libsql/sqlite3/constants.rb +95 -0
- data/lib/libsql/sqlite3/database/function.rb +48 -0
- data/lib/libsql/sqlite3/database/status.rb +68 -0
- data/lib/libsql/sqlite3/libsql_version.rb +32 -0
- data/lib/libsql/sqlite3/status.rb +60 -0
- data/lib/libsql/sqlite3/version.rb +55 -0
- data/lib/libsql/sqlite3.rb +7 -0
- data/lib/libsql/statement.rb +421 -0
- data/lib/libsql/table.rb +91 -0
- data/lib/libsql/taps/console.rb +27 -0
- data/lib/libsql/taps/io.rb +74 -0
- data/lib/libsql/taps.rb +2 -0
- data/lib/libsql/trace_tap.rb +35 -0
- data/lib/libsql/type_map.rb +63 -0
- data/lib/libsql/type_maps/default_map.rb +166 -0
- data/lib/libsql/type_maps/storage_map.rb +38 -0
- data/lib/libsql/type_maps/text_map.rb +21 -0
- data/lib/libsql/version.rb +8 -0
- data/lib/libsql/view.rb +26 -0
- data/lib/libsql-ruby.rb +1 -0
- data/lib/libsql.rb +51 -0
- data/spec/aggregate_spec.rb +158 -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 +505 -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/json_spec.rb +24 -0
- data/spec/libsql_spec.rb +4 -0
- data/spec/paths_spec.rb +28 -0
- data/spec/progress_handler_spec.rb +91 -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/libsql_version_spec.rb +16 -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 +134 -0
- data/tasks/default.rake +257 -0
- data/tasks/extension.rake +29 -0
- data/tasks/this.rb +208 -0
- metadata +328 -0
metadata
ADDED
@@ -0,0 +1,328 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: libsql
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: x64-mingw32
|
6
|
+
authors:
|
7
|
+
- Jeremy Hinegardner
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-05-03 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: arrayfields
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.9'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.9'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: debug
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.12'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.12'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec_junit_formatter
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0.6'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0.6'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '13.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '13.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rake-compiler
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.2'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.2'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rake-compiler-dock
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.3'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.3'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rdoc
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '6.5'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '6.5'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: simplecov
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0.21'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0.21'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: archive-zip
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0.12'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0.12'
|
153
|
+
description: libsql embeds the libsql fork of the SQLite database engine as a ruby
|
154
|
+
extension. There is no need to install libsql separately.
|
155
|
+
email: jeremy@copiousfreetime.org
|
156
|
+
executables: []
|
157
|
+
extensions: []
|
158
|
+
extra_rdoc_files:
|
159
|
+
- CONTRIBUTING.md
|
160
|
+
- HISTORY.md
|
161
|
+
- Manifest.txt
|
162
|
+
- README.md
|
163
|
+
- TODO.md
|
164
|
+
- ext/libsql/c/notes.txt
|
165
|
+
- spec/data/iso-3166-country.txt
|
166
|
+
- spec/data/iso-3166-subcountry.txt
|
167
|
+
files:
|
168
|
+
- CONTRIBUTING.md
|
169
|
+
- HISTORY.md
|
170
|
+
- LICENSE
|
171
|
+
- Manifest.txt
|
172
|
+
- README.md
|
173
|
+
- Rakefile
|
174
|
+
- TODO.md
|
175
|
+
- examples/a.rb
|
176
|
+
- examples/blob.rb
|
177
|
+
- examples/define_aggregate.rb
|
178
|
+
- examples/define_function.rb
|
179
|
+
- examples/fts5.rb
|
180
|
+
- examples/gem-db.rb
|
181
|
+
- examples/schema-info.rb
|
182
|
+
- ext/libsql/c/extconf.rb
|
183
|
+
- ext/libsql/c/gen_constants.rb
|
184
|
+
- ext/libsql/c/libsql_blob.c
|
185
|
+
- ext/libsql/c/libsql_constants.c
|
186
|
+
- ext/libsql/c/libsql_database.c
|
187
|
+
- ext/libsql/c/libsql_ext.c
|
188
|
+
- ext/libsql/c/libsql_ext.h
|
189
|
+
- ext/libsql/c/libsql_statement.c
|
190
|
+
- ext/libsql/c/notes.txt
|
191
|
+
- ext/libsql/c/sqlite3.c
|
192
|
+
- ext/libsql/c/sqlite3.h
|
193
|
+
- lib/libsql-ruby.rb
|
194
|
+
- lib/libsql.rb
|
195
|
+
- lib/libsql/aggregate.rb
|
196
|
+
- lib/libsql/blob.rb
|
197
|
+
- lib/libsql/boolean.rb
|
198
|
+
- lib/libsql/busy_timeout.rb
|
199
|
+
- lib/libsql/column.rb
|
200
|
+
- lib/libsql/csv_table_importer.rb
|
201
|
+
- lib/libsql/database.rb
|
202
|
+
- lib/libsql/function.rb
|
203
|
+
- lib/libsql/index.rb
|
204
|
+
- lib/libsql/libsql_ext.so
|
205
|
+
- lib/libsql/memory_database.rb
|
206
|
+
- lib/libsql/paths.rb
|
207
|
+
- lib/libsql/profile_tap.rb
|
208
|
+
- lib/libsql/progress_handler.rb
|
209
|
+
- lib/libsql/schema.rb
|
210
|
+
- lib/libsql/sqlite3.rb
|
211
|
+
- lib/libsql/sqlite3/constants.rb
|
212
|
+
- lib/libsql/sqlite3/database/function.rb
|
213
|
+
- lib/libsql/sqlite3/database/status.rb
|
214
|
+
- lib/libsql/sqlite3/libsql_version.rb
|
215
|
+
- lib/libsql/sqlite3/status.rb
|
216
|
+
- lib/libsql/sqlite3/version.rb
|
217
|
+
- lib/libsql/statement.rb
|
218
|
+
- lib/libsql/table.rb
|
219
|
+
- lib/libsql/taps.rb
|
220
|
+
- lib/libsql/taps/console.rb
|
221
|
+
- lib/libsql/taps/io.rb
|
222
|
+
- lib/libsql/trace_tap.rb
|
223
|
+
- lib/libsql/type_map.rb
|
224
|
+
- lib/libsql/type_maps/default_map.rb
|
225
|
+
- lib/libsql/type_maps/storage_map.rb
|
226
|
+
- lib/libsql/type_maps/text_map.rb
|
227
|
+
- lib/libsql/version.rb
|
228
|
+
- lib/libsql/view.rb
|
229
|
+
- spec/aggregate_spec.rb
|
230
|
+
- spec/blob_spec.rb
|
231
|
+
- spec/boolean_spec.rb
|
232
|
+
- spec/busy_handler.rb
|
233
|
+
- spec/data/iso-3166-country.txt
|
234
|
+
- spec/data/iso-3166-schema.sql
|
235
|
+
- spec/data/iso-3166-subcountry.txt
|
236
|
+
- spec/data/make-iso-db.sh
|
237
|
+
- spec/database_spec.rb
|
238
|
+
- spec/default_map_spec.rb
|
239
|
+
- spec/function_spec.rb
|
240
|
+
- spec/integeration_spec.rb
|
241
|
+
- spec/iso_3166_database.rb
|
242
|
+
- spec/json_spec.rb
|
243
|
+
- spec/libsql_spec.rb
|
244
|
+
- spec/paths_spec.rb
|
245
|
+
- spec/progress_handler_spec.rb
|
246
|
+
- spec/rtree_spec.rb
|
247
|
+
- spec/schema_spec.rb
|
248
|
+
- spec/spec_helper.rb
|
249
|
+
- spec/sqlite3/constants_spec.rb
|
250
|
+
- spec/sqlite3/database_status_spec.rb
|
251
|
+
- spec/sqlite3/libsql_version_spec.rb
|
252
|
+
- spec/sqlite3/status_spec.rb
|
253
|
+
- spec/sqlite3/version_spec.rb
|
254
|
+
- spec/sqlite3_spec.rb
|
255
|
+
- spec/statement_spec.rb
|
256
|
+
- spec/storage_map_spec.rb
|
257
|
+
- spec/tap_spec.rb
|
258
|
+
- spec/text_map_spec.rb
|
259
|
+
- spec/type_map_spec.rb
|
260
|
+
- spec/version_spec.rb
|
261
|
+
- tasks/custom.rake
|
262
|
+
- tasks/default.rake
|
263
|
+
- tasks/extension.rake
|
264
|
+
- tasks/this.rb
|
265
|
+
homepage: http://github.com/copiousfreetime/libsql-ruby
|
266
|
+
licenses:
|
267
|
+
- BSD-3-Clause
|
268
|
+
metadata: {}
|
269
|
+
post_install_message:
|
270
|
+
rdoc_options:
|
271
|
+
- "--main"
|
272
|
+
- README.md
|
273
|
+
- "--markup"
|
274
|
+
- tomdoc
|
275
|
+
require_paths:
|
276
|
+
- lib
|
277
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
278
|
+
requirements:
|
279
|
+
- - ">="
|
280
|
+
- !ruby/object:Gem::Version
|
281
|
+
version: '3.0'
|
282
|
+
- - "<"
|
283
|
+
- !ruby/object:Gem::Version
|
284
|
+
version: 3.1.dev
|
285
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
286
|
+
requirements:
|
287
|
+
- - ">="
|
288
|
+
- !ruby/object:Gem::Version
|
289
|
+
version: '0'
|
290
|
+
requirements: []
|
291
|
+
rubygems_version: 3.3.26
|
292
|
+
signing_key:
|
293
|
+
specification_version: 4
|
294
|
+
summary: libsql embeds the libsql fork of the SQLite database engine as a ruby extension.
|
295
|
+
There is no need to install libsql separately.
|
296
|
+
test_files:
|
297
|
+
- spec/aggregate_spec.rb
|
298
|
+
- spec/blob_spec.rb
|
299
|
+
- spec/boolean_spec.rb
|
300
|
+
- spec/busy_handler.rb
|
301
|
+
- spec/data/iso-3166-country.txt
|
302
|
+
- spec/data/iso-3166-schema.sql
|
303
|
+
- spec/data/iso-3166-subcountry.txt
|
304
|
+
- spec/data/make-iso-db.sh
|
305
|
+
- spec/database_spec.rb
|
306
|
+
- spec/default_map_spec.rb
|
307
|
+
- spec/function_spec.rb
|
308
|
+
- spec/integeration_spec.rb
|
309
|
+
- spec/iso_3166_database.rb
|
310
|
+
- spec/json_spec.rb
|
311
|
+
- spec/libsql_spec.rb
|
312
|
+
- spec/paths_spec.rb
|
313
|
+
- spec/progress_handler_spec.rb
|
314
|
+
- spec/rtree_spec.rb
|
315
|
+
- spec/schema_spec.rb
|
316
|
+
- spec/spec_helper.rb
|
317
|
+
- spec/sqlite3/constants_spec.rb
|
318
|
+
- spec/sqlite3/database_status_spec.rb
|
319
|
+
- spec/sqlite3/libsql_version_spec.rb
|
320
|
+
- spec/sqlite3/status_spec.rb
|
321
|
+
- spec/sqlite3/version_spec.rb
|
322
|
+
- spec/sqlite3_spec.rb
|
323
|
+
- spec/statement_spec.rb
|
324
|
+
- spec/storage_map_spec.rb
|
325
|
+
- spec/tap_spec.rb
|
326
|
+
- spec/text_map_spec.rb
|
327
|
+
- spec/type_map_spec.rb
|
328
|
+
- spec/version_spec.rb
|