amalgalite 1.6.0-x64-mingw32

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