amalgalite 1.8.0-x64-mingw-ucrt

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