amalgalite 1.1.2-x86-mingw32 → 1.4.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. data/CONTRIBUTING.md +49 -0
  2. data/{HISTORY.rdoc → HISTORY.md} +102 -73
  3. data/LICENSE +2 -2
  4. data/Manifest.txt +104 -0
  5. data/README.md +73 -0
  6. data/Rakefile +25 -0
  7. data/TODO.md +49 -0
  8. data/ext/amalgalite/{amalgalite3.c → c/amalgalite.c} +12 -12
  9. data/ext/amalgalite/{amalgalite3.h → c/amalgalite.h} +5 -5
  10. data/ext/amalgalite/{amalgalite3_blob.c → c/amalgalite_blob.c} +2 -2
  11. data/ext/amalgalite/{amalgalite3_constants.c → c/amalgalite_constants.c} +2 -2
  12. data/ext/amalgalite/{amalgalite3_database.c → c/amalgalite_database.c} +49 -21
  13. data/ext/amalgalite/{amalgalite3_requires_bootstrap.c → c/amalgalite_requires_bootstrap.c} +131 -58
  14. data/ext/amalgalite/{amalgalite3_statement.c → c/amalgalite_statement.c} +2 -2
  15. data/ext/amalgalite/{extconf.rb → c/extconf.rb} +6 -5
  16. data/ext/amalgalite/{gen_constants.rb → c/gen_constants.rb} +3 -3
  17. data/ext/amalgalite/c/notes.txt +134 -0
  18. data/ext/amalgalite/{sqlite3.c → c/sqlite3.c} +111793 -83396
  19. data/ext/amalgalite/{sqlite3.h → c/sqlite3.h} +1597 -383
  20. data/ext/amalgalite/{sqlite3_options.h → c/sqlite3_options.h} +0 -0
  21. data/ext/amalgalite/{sqlite3ext.h → c/sqlite3ext.h} +114 -17
  22. data/lib/amalgalite.rb +13 -6
  23. data/lib/amalgalite/1.9/amalgalite.so +0 -0
  24. data/lib/amalgalite/2.0/amalgalite.so +0 -0
  25. data/lib/amalgalite/2.1/amalgalite.so +0 -0
  26. data/lib/amalgalite/column.rb +7 -5
  27. data/lib/amalgalite/database.rb +18 -10
  28. data/lib/amalgalite/packer.rb +5 -2
  29. data/lib/amalgalite/requires.rb +47 -16
  30. data/lib/amalgalite/schema.rb +63 -36
  31. data/lib/amalgalite/sqlite3/version.rb +0 -1
  32. data/lib/amalgalite/statement.rb +7 -5
  33. data/lib/amalgalite/table.rb +9 -8
  34. data/lib/amalgalite/type_maps/default_map.rb +0 -1
  35. data/lib/amalgalite/type_maps/storage_map.rb +0 -2
  36. data/lib/amalgalite/type_maps/text_map.rb +0 -1
  37. data/lib/amalgalite/version.rb +3 -32
  38. data/spec/aggregate_spec.rb +1 -1
  39. data/spec/amalgalite_spec.rb +1 -1
  40. data/spec/blob_spec.rb +1 -1
  41. data/spec/boolean_spec.rb +2 -1
  42. data/spec/busy_handler.rb +1 -1
  43. data/spec/database_spec.rb +18 -13
  44. data/spec/default_map_spec.rb +1 -1
  45. data/spec/function_spec.rb +1 -1
  46. data/spec/integeration_spec.rb +2 -1
  47. data/spec/packer_spec.rb +4 -4
  48. data/spec/paths_spec.rb +1 -1
  49. data/spec/progress_handler_spec.rb +4 -5
  50. data/spec/requires_spec.rb +36 -2
  51. data/spec/rtree_spec.rb +6 -5
  52. data/spec/schema_spec.rb +28 -20
  53. data/spec/spec_helper.rb +7 -7
  54. data/spec/sqlite3/constants_spec.rb +1 -1
  55. data/spec/sqlite3/database_status_spec.rb +4 -4
  56. data/spec/sqlite3/status_spec.rb +5 -5
  57. data/spec/sqlite3/version_spec.rb +12 -12
  58. data/spec/sqlite3_spec.rb +3 -3
  59. data/spec/statement_spec.rb +3 -4
  60. data/spec/storage_map_spec.rb +1 -1
  61. data/spec/tap_spec.rb +4 -4
  62. data/spec/text_map_spec.rb +1 -1
  63. data/spec/type_map_spec.rb +1 -1
  64. data/spec/version_spec.rb +3 -10
  65. data/tasks/custom.rake +102 -0
  66. data/tasks/default.rake +247 -0
  67. data/tasks/extension.rake +28 -202
  68. data/tasks/this.rb +206 -0
  69. metadata +194 -236
  70. data/README.rdoc +0 -54
  71. data/gemspec.rb +0 -63
  72. data/lib/amalgalite/1.8/amalgalite3.so +0 -0
  73. data/lib/amalgalite/1.9/amalgalite3.so +0 -0
  74. data/tasks/announce.rake +0 -44
  75. data/tasks/config.rb +0 -107
  76. data/tasks/distribution.rake +0 -77
  77. data/tasks/documentation.rake +0 -36
  78. data/tasks/rspec.rake +0 -30
  79. data/tasks/utils.rb +0 -80
data/tasks/this.rb ADDED
@@ -0,0 +1,206 @@
1
+ require 'pathname'
2
+
3
+ # Public: A Class containing all the metadata and utilities needed to manage a
4
+ # ruby project.
5
+ class ThisProject
6
+ # The name of this project
7
+ attr_accessor :name
8
+
9
+ # The author's name
10
+ attr_accessor :author
11
+
12
+ # The email address of the author(s)
13
+ attr_accessor :email
14
+
15
+ # The homepage of this project
16
+ attr_accessor :homepage
17
+
18
+ # The regex of files to exclude from the manifest
19
+ attr_accessor :exclude_from_manifest
20
+
21
+ # The hash of Gem::Specifications keyed' by platform
22
+ attr_accessor :gemspecs
23
+
24
+ # Public: Initialize ThisProject
25
+ #
26
+ # Yields self
27
+ def initialize(&block)
28
+ @exclude_from_manifest = Regexp.union(/\.(git|DS_Store)/,
29
+ /^(doc|coverage|pkg|tmp|Gemfile(\.lock)?)/,
30
+ /^[^\/]+\.gemspec/,
31
+ /\.(swp|jar|bundle|so|rvmrc|travis.yml)$/,
32
+ /~$/)
33
+ @gemspecs = Hash.new
34
+ yield self if block_given?
35
+ end
36
+
37
+ # Public: return the version of ThisProject
38
+ #
39
+ # Search the ruby files in the project looking for the one that has the
40
+ # version string in it. This does not eval any code in the project, it parses
41
+ # the source code looking for the string.
42
+ #
43
+ # Returns a String version
44
+ def version
45
+ [ "lib/#{ name }.rb", "lib/#{ name }/version.rb" ].each do |v|
46
+ path = project_path( v )
47
+ line = path.read[/^\s*VERSION\s*=\s*.*/]
48
+ if line then
49
+ return line.match(/.*VERSION\s*=\s*['"](.*)['"]/)[1]
50
+ end
51
+ end
52
+ end
53
+
54
+ # Internal: Return a section of an RDoc file with the given section name
55
+ #
56
+ # path - the relative path in the project of the file to parse
57
+ # section_name - the section out of the file from which to parse data
58
+ #
59
+ # Retuns the text of the section as an array of paragrphs.
60
+ def section_of( file, section_name )
61
+ re = /^[=#]+ (.*)$/
62
+ sectional = project_path( file )
63
+ parts = sectional.read.split( re )[1..-1]
64
+ parts.map! { |p| p.strip }
65
+
66
+ sections = Hash.new
67
+ Hash[*parts].each do |k,v|
68
+ sections[k] = v.split("\n\n")
69
+ end
70
+ return sections[section_name]
71
+ end
72
+
73
+ # Internal: print out a warning about the give task
74
+ def task_warning( task )
75
+ warn "WARNING: '#{task}' tasks are not defined. Please run 'rake develop'"
76
+ end
77
+
78
+ # Internal: Return the full path to the file that is relative to the project
79
+ # root.
80
+ #
81
+ # path - the relative path of the file from the project root
82
+ #
83
+ # Returns the Pathname of the file
84
+ def project_path( *relative_path )
85
+ project_root.join( *relative_path )
86
+ end
87
+
88
+ # Internal: The absolute path of this file
89
+ #
90
+ # Returns the Pathname of this file.
91
+ def this_file_path
92
+ Pathname.new( __FILE__ ).expand_path
93
+ end
94
+
95
+ # Internal: The root directory of this project
96
+ #
97
+ # This is defined as being the directory that is in the path of this project
98
+ # that has the first Rakefile
99
+ #
100
+ # Returns the Pathname of the directory
101
+ def project_root
102
+ this_file_path.ascend do |p|
103
+ rakefile = p.join( 'Rakefile' )
104
+ return p if rakefile.exist?
105
+ end
106
+ end
107
+
108
+ # Internal: Returns the contents of the Manifest.txt file as an array
109
+ #
110
+ # Returns an Array of strings
111
+ def manifest
112
+ manifest_file = project_path( "Manifest.txt" )
113
+ abort "You need a Manifest.txt" unless manifest_file.readable?
114
+ manifest_file.readlines.map { |l| l.strip }
115
+ end
116
+
117
+ # Internal: Return the files that define the extensions
118
+ #
119
+ # Returns an Array
120
+ def extension_conf_files
121
+ manifest.grep( /extconf.rb\Z/ )
122
+ end
123
+
124
+ # Internal: Returns the gemspace associated with the current ruby platform
125
+ def platform_gemspec
126
+ gemspecs.fetch(platform) { This.ruby_gemspec }
127
+ end
128
+
129
+ def core_gemspec
130
+ Gem::Specification.new do |spec|
131
+ spec.name = name
132
+ spec.version = version
133
+ spec.author = author
134
+ spec.email = email
135
+ spec.homepage = homepage
136
+
137
+ spec.summary = summary
138
+ spec.description = description
139
+ spec.license = license
140
+
141
+ spec.files = manifest
142
+ spec.executables = spec.files.grep(/^bin/) { |f| File.basename(f) }
143
+ spec.test_files = spec.files.grep(/^spec/)
144
+
145
+ spec.extra_rdoc_files += spec.files.grep(/(txt|rdoc|md)$/)
146
+ spec.rdoc_options = [ "--main" , 'README.md',
147
+ "--markup", "tomdoc" ]
148
+
149
+ spec.required_ruby_version = '>= 1.9.3'
150
+ end
151
+ end
152
+
153
+ # Internal: Return the gemspec for the ruby platform
154
+ def ruby_gemspec( core = core_gemspec, &block )
155
+ yielding_gemspec( 'ruby', core, &block )
156
+ end
157
+
158
+ # Internal: Return the gemspec for the jruby platform
159
+ def java_gemspec( core = core_gemspec, &block )
160
+ yielding_gemspec( 'java', core, &block )
161
+ end
162
+
163
+ # Internal: give an initial spec and a key, create a new gemspec based off of
164
+ # it.
165
+ #
166
+ # This will force the new gemspecs 'platform' to be that of the key, since the
167
+ # only reason you would have multiple gemspecs at this point is to deal with
168
+ # different platforms.
169
+ def yielding_gemspec( key, core )
170
+ spec = gemspecs[key] ||= core.dup
171
+ spec.platform = key
172
+ yield spec if block_given?
173
+ return spec
174
+ end
175
+
176
+ # Internal: Return the platform of ThisProject at the current moment in time.
177
+ def platform
178
+ (RUBY_PLATFORM == "java") ? 'java' : Gem::Platform::RUBY
179
+ end
180
+
181
+ # Internal: Return the DESCRIPTION section of the README.rdoc file
182
+ def description_section
183
+ section_of( 'README.md', 'DESCRIPTION')
184
+ end
185
+
186
+ # Internal: Return the summary text from the README
187
+ def summary
188
+ description_section.first
189
+ end
190
+
191
+ # Internal: Return the full description text from the README
192
+ def description
193
+ description_section.join(" ").tr("\n", ' ').gsub(/[{}]/,'').gsub(/\[[^\]]+\]/,'') # strip rdoc
194
+ end
195
+
196
+ def license
197
+ "ISC"
198
+ end
199
+
200
+ # Internal: The path to the gemspec file
201
+ def gemspec_file
202
+ project_path( "#{ name }.gemspec" )
203
+ end
204
+ end
205
+
206
+ This = ThisProject.new
metadata CHANGED
@@ -1,232 +1,156 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: amalgalite
3
- version: !ruby/object:Gem::Version
4
- hash: 23
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.4.0
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 1
9
- - 2
10
- version: 1.1.2
11
6
  platform: x86-mingw32
12
- authors:
7
+ authors:
13
8
  - Jeremy Hinegardner
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-04-01 00:00:00 -06:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2015-01-12 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: arrayfields
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
25
17
  none: false
26
- requirements:
18
+ requirements:
27
19
  - - ~>
28
- - !ruby/object:Gem::Version
29
- hash: 43
30
- segments:
31
- - 4
32
- - 7
33
- - 4
34
- version: 4.7.4
20
+ - !ruby/object:Gem::Version
21
+ version: '4.9'
35
22
  type: :runtime
36
- version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- name: fastercsv
39
23
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
41
25
  none: false
42
- requirements:
26
+ requirements:
43
27
  - - ~>
44
- - !ruby/object:Gem::Version
45
- hash: 11
46
- segments:
47
- - 1
48
- - 5
49
- - 4
50
- version: 1.5.4
51
- type: :runtime
52
- version_requirements: *id002
53
- - !ruby/object:Gem::Dependency
54
- name: rake
55
- prerelease: false
56
- requirement: &id003 !ruby/object:Gem::Requirement
28
+ - !ruby/object:Gem::Version
29
+ version: '4.9'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rspec
32
+ requirement: !ruby/object:Gem::Requirement
57
33
  none: false
58
- requirements:
34
+ requirements:
59
35
  - - ~>
60
- - !ruby/object:Gem::Version
61
- hash: 49
62
- segments:
63
- - 0
64
- - 8
65
- - 7
66
- version: 0.8.7
36
+ - !ruby/object:Gem::Version
37
+ version: '3.0'
67
38
  type: :development
68
- version_requirements: *id003
69
- - !ruby/object:Gem::Dependency
70
- name: configuration
71
39
  prerelease: false
72
- requirement: &id004 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '3.0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: rake
48
+ requirement: !ruby/object:Gem::Requirement
73
49
  none: false
74
- requirements:
50
+ requirements:
75
51
  - - ~>
76
- - !ruby/object:Gem::Version
77
- hash: 31
78
- segments:
79
- - 1
80
- - 2
81
- - 0
82
- version: 1.2.0
52
+ - !ruby/object:Gem::Version
53
+ version: '10.0'
83
54
  type: :development
84
- version_requirements: *id004
85
- - !ruby/object:Gem::Dependency
86
- name: rspec
87
55
  prerelease: false
88
- requirement: &id005 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
89
57
  none: false
90
- requirements:
58
+ requirements:
91
59
  - - ~>
92
- - !ruby/object:Gem::Version
93
- hash: 25
94
- segments:
95
- - 2
96
- - 5
97
- - 1
98
- version: 2.5.1
99
- type: :development
100
- version_requirements: *id005
101
- - !ruby/object:Gem::Dependency
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ - !ruby/object:Gem::Dependency
102
63
  name: rake-compiler
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: '0.9'
70
+ type: :development
103
71
  prerelease: false
104
- requirement: &id006 !ruby/object:Gem::Requirement
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '0.9'
78
+ - !ruby/object:Gem::Dependency
79
+ name: rdoc
80
+ requirement: !ruby/object:Gem::Requirement
105
81
  none: false
106
- requirements:
82
+ requirements:
107
83
  - - ~>
108
- - !ruby/object:Gem::Version
109
- hash: 15
110
- segments:
111
- - 0
112
- - 7
113
- - 6
114
- version: 0.7.6
84
+ - !ruby/object:Gem::Version
85
+ version: '4.0'
115
86
  type: :development
116
- version_requirements: *id006
117
- - !ruby/object:Gem::Dependency
118
- name: zip
119
87
  prerelease: false
120
- requirement: &id007 !ruby/object:Gem::Requirement
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: '4.0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: simplecov
96
+ requirement: !ruby/object:Gem::Requirement
121
97
  none: false
122
- requirements:
98
+ requirements:
123
99
  - - ~>
124
- - !ruby/object:Gem::Version
125
- hash: 11
126
- segments:
127
- - 2
128
- - 0
129
- - 2
130
- version: 2.0.2
100
+ - !ruby/object:Gem::Version
101
+ version: '0.9'
131
102
  type: :development
132
- version_requirements: *id007
133
- - !ruby/object:Gem::Dependency
134
- name: rcov
135
103
  prerelease: false
136
- requirement: &id008 !ruby/object:Gem::Requirement
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: '0.9'
110
+ - !ruby/object:Gem::Dependency
111
+ name: zip
112
+ requirement: !ruby/object:Gem::Requirement
137
113
  none: false
138
- requirements:
114
+ requirements:
139
115
  - - ~>
140
- - !ruby/object:Gem::Version
141
- hash: 41
142
- segments:
143
- - 0
144
- - 9
145
- - 9
146
- version: 0.9.9
116
+ - !ruby/object:Gem::Version
117
+ version: '2.0'
147
118
  type: :development
148
- version_requirements: *id008
149
- description: |-
150
- Amalgalite embeds the SQLite database engine in a ruby extension. There is no
151
- need to install SQLite separately.
152
-
153
- Look in the examples/ directory to see
154
-
155
- * general usage
156
- * blob io
157
- * schema information
158
- * custom functions
159
- * custom aggregates
160
- * requiring ruby code from a database
161
- * full text search
162
-
163
- Also Scroll through Amalgalite::Database for a quick example, and a general
164
- overview of the API.
165
-
166
- Amalgalite adds in the following additional non-default SQLite extensions:
167
-
168
- * {R*Tree index extension}[http://sqlite.org/rtree.html]
169
- * {Full Text Search}[http://sqlite.org/fts3.html]
170
- email: jeremy@hinegardner.org
171
- executables:
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ~>
124
+ - !ruby/object:Gem::Version
125
+ version: '2.0'
126
+ description: ! 'Amalgalite embeds the SQLite database engine in a ruby extension. There
127
+ is no need to install SQLite separately. Look in the examples/ directory to see
128
+ * general usage * blob io * schema information * custom functions * custom aggregates
129
+ * requiring ruby code from a database * full text search Also Scroll through Amalgalite::Database
130
+ for a quick example, and a general overview of the API. Amalgalite adds in the following
131
+ additional non-default SQLite extensions: * (http://sqlite.org/rtree.html) * (http://sqlite.org/fts3.html)'
132
+ email: jeremy@copiousfreetime.org
133
+ executables:
172
134
  - amalgalite-pack
173
135
  extensions: []
174
-
175
- extra_rdoc_files:
176
- - README.rdoc
177
- - HISTORY.rdoc
136
+ extra_rdoc_files:
137
+ - CONTRIBUTING.md
138
+ - HISTORY.md
139
+ - Manifest.txt
140
+ - README.md
141
+ - TODO.md
142
+ - ext/amalgalite/c/notes.txt
143
+ - spec/data/iso-3166-country.txt
144
+ - spec/data/iso-3166-subcountry.txt
145
+ files:
146
+ - CONTRIBUTING.md
147
+ - HISTORY.md
178
148
  - LICENSE
179
- - lib/amalgalite/aggregate.rb
180
- - lib/amalgalite/blob.rb
181
- - lib/amalgalite/boolean.rb
182
- - lib/amalgalite/busy_timeout.rb
183
- - lib/amalgalite/column.rb
184
- - lib/amalgalite/core_ext/kernel/require.rb
185
- - lib/amalgalite/csv_table_importer.rb
186
- - lib/amalgalite/database.rb
187
- - lib/amalgalite/function.rb
188
- - lib/amalgalite/index.rb
189
- - lib/amalgalite/memory_database.rb
190
- - lib/amalgalite/packer.rb
191
- - lib/amalgalite/paths.rb
192
- - lib/amalgalite/profile_tap.rb
193
- - lib/amalgalite/progress_handler.rb
194
- - lib/amalgalite/requires.rb
195
- - lib/amalgalite/schema.rb
196
- - lib/amalgalite/sqlite3/constants.rb
197
- - lib/amalgalite/sqlite3/database/function.rb
198
- - lib/amalgalite/sqlite3/database/status.rb
199
- - lib/amalgalite/sqlite3/status.rb
200
- - lib/amalgalite/sqlite3/version.rb
201
- - lib/amalgalite/sqlite3.rb
202
- - lib/amalgalite/statement.rb
203
- - lib/amalgalite/table.rb
204
- - lib/amalgalite/taps/console.rb
205
- - lib/amalgalite/taps/io.rb
206
- - lib/amalgalite/taps.rb
207
- - lib/amalgalite/trace_tap.rb
208
- - lib/amalgalite/type_map.rb
209
- - lib/amalgalite/type_maps/default_map.rb
210
- - lib/amalgalite/type_maps/storage_map.rb
211
- - lib/amalgalite/type_maps/text_map.rb
212
- - lib/amalgalite/version.rb
213
- - lib/amalgalite/view.rb
214
- - lib/amalgalite.rb
215
- files:
149
+ - Manifest.txt
150
+ - README.md
151
+ - Rakefile
152
+ - TODO.md
216
153
  - bin/amalgalite-pack
217
- - ext/amalgalite/amalgalite3.c
218
- - ext/amalgalite/amalgalite3_blob.c
219
- - ext/amalgalite/amalgalite3_constants.c
220
- - ext/amalgalite/amalgalite3_database.c
221
- - ext/amalgalite/amalgalite3_requires_bootstrap.c
222
- - ext/amalgalite/amalgalite3_statement.c
223
- - ext/amalgalite/sqlite3.c
224
- - ext/amalgalite/amalgalite3.h
225
- - ext/amalgalite/sqlite3.h
226
- - ext/amalgalite/sqlite3_options.h
227
- - ext/amalgalite/sqlite3ext.h
228
- - ext/amalgalite/extconf.rb
229
- - ext/amalgalite/gen_constants.rb
230
154
  - examples/a.rb
231
155
  - examples/blob.rb
232
156
  - examples/bootstrap.rb
@@ -237,6 +161,21 @@ files:
237
161
  - examples/require_me.rb
238
162
  - examples/requires.rb
239
163
  - examples/schema-info.rb
164
+ - ext/amalgalite/c/amalgalite.c
165
+ - ext/amalgalite/c/amalgalite.h
166
+ - ext/amalgalite/c/amalgalite_blob.c
167
+ - ext/amalgalite/c/amalgalite_constants.c
168
+ - ext/amalgalite/c/amalgalite_database.c
169
+ - ext/amalgalite/c/amalgalite_requires_bootstrap.c
170
+ - ext/amalgalite/c/amalgalite_statement.c
171
+ - ext/amalgalite/c/extconf.rb
172
+ - ext/amalgalite/c/gen_constants.rb
173
+ - ext/amalgalite/c/notes.txt
174
+ - ext/amalgalite/c/sqlite3.c
175
+ - ext/amalgalite/c/sqlite3.h
176
+ - ext/amalgalite/c/sqlite3_options.h
177
+ - ext/amalgalite/c/sqlite3ext.h
178
+ - lib/amalgalite.rb
240
179
  - lib/amalgalite/aggregate.rb
241
180
  - lib/amalgalite/blob.rb
242
181
  - lib/amalgalite/boolean.rb
@@ -254,17 +193,17 @@ files:
254
193
  - lib/amalgalite/progress_handler.rb
255
194
  - lib/amalgalite/requires.rb
256
195
  - lib/amalgalite/schema.rb
196
+ - lib/amalgalite/sqlite3.rb
257
197
  - lib/amalgalite/sqlite3/constants.rb
258
198
  - lib/amalgalite/sqlite3/database/function.rb
259
199
  - lib/amalgalite/sqlite3/database/status.rb
260
200
  - lib/amalgalite/sqlite3/status.rb
261
201
  - lib/amalgalite/sqlite3/version.rb
262
- - lib/amalgalite/sqlite3.rb
263
202
  - lib/amalgalite/statement.rb
264
203
  - lib/amalgalite/table.rb
204
+ - lib/amalgalite/taps.rb
265
205
  - lib/amalgalite/taps/console.rb
266
206
  - lib/amalgalite/taps/io.rb
267
- - lib/amalgalite/taps.rb
268
207
  - lib/amalgalite/trace_tap.rb
269
208
  - lib/amalgalite/type_map.rb
270
209
  - lib/amalgalite/type_maps/default_map.rb
@@ -272,12 +211,15 @@ files:
272
211
  - lib/amalgalite/type_maps/text_map.rb
273
212
  - lib/amalgalite/version.rb
274
213
  - lib/amalgalite/view.rb
275
- - lib/amalgalite.rb
276
214
  - spec/aggregate_spec.rb
277
215
  - spec/amalgalite_spec.rb
278
216
  - spec/blob_spec.rb
279
217
  - spec/boolean_spec.rb
280
218
  - spec/busy_handler.rb
219
+ - spec/data/iso-3166-country.txt
220
+ - spec/data/iso-3166-schema.sql
221
+ - spec/data/iso-3166-subcountry.txt
222
+ - spec/data/make-iso-db.sh
281
223
  - spec/database_spec.rb
282
224
  - spec/default_map_spec.rb
283
225
  - spec/function_spec.rb
@@ -301,57 +243,73 @@ files:
301
243
  - spec/text_map_spec.rb
302
244
  - spec/type_map_spec.rb
303
245
  - spec/version_spec.rb
304
- - spec/data/iso-3166-schema.sql
305
- - spec/data/iso-3166-country.txt
306
- - spec/data/iso-3166-subcountry.txt
307
- - spec/data/make-iso-db.sh
308
- - README.rdoc
309
- - HISTORY.rdoc
310
- - LICENSE
311
- - tasks/announce.rake
312
- - tasks/distribution.rake
313
- - tasks/documentation.rake
246
+ - tasks/custom.rake
247
+ - tasks/default.rake
314
248
  - tasks/extension.rake
315
- - tasks/rspec.rake
316
- - tasks/config.rb
317
- - tasks/utils.rb
318
- - gemspec.rb
319
- - lib/amalgalite/1.8/amalgalite3.so
320
- - lib/amalgalite/1.9/amalgalite3.so
321
- has_rdoc: true
322
- homepage: http://copiousfreetime.rubyforge.org/amalgalite/
323
- licenses: []
324
-
249
+ - tasks/this.rb
250
+ - lib/amalgalite/1.9/amalgalite.so
251
+ - lib/amalgalite/2.0/amalgalite.so
252
+ - lib/amalgalite/2.1/amalgalite.so
253
+ homepage: http://github.com/copiousfreetime/amalgalite
254
+ licenses:
255
+ - BSD
325
256
  post_install_message:
326
- rdoc_options:
257
+ rdoc_options:
327
258
  - --main
328
- - README.rdoc
329
- require_paths:
259
+ - README.md
260
+ - --markup
261
+ - tomdoc
262
+ require_paths:
330
263
  - lib
331
- required_ruby_version: !ruby/object:Gem::Requirement
264
+ required_ruby_version: !ruby/object:Gem::Requirement
332
265
  none: false
333
- requirements:
334
- - - ">="
335
- - !ruby/object:Gem::Version
336
- hash: 3
337
- segments:
338
- - 0
339
- version: "0"
340
- required_rubygems_version: !ruby/object:Gem::Requirement
266
+ requirements:
267
+ - - ! '>='
268
+ - !ruby/object:Gem::Version
269
+ version: 1.9.3
270
+ required_rubygems_version: !ruby/object:Gem::Requirement
341
271
  none: false
342
- requirements:
343
- - - ">="
344
- - !ruby/object:Gem::Version
345
- hash: 3
346
- segments:
347
- - 0
348
- version: "0"
272
+ requirements:
273
+ - - ! '>='
274
+ - !ruby/object:Gem::Version
275
+ version: '0'
349
276
  requirements: []
350
-
351
- rubyforge_project: copiousfreetime
352
- rubygems_version: 1.5.2
277
+ rubyforge_project:
278
+ rubygems_version: 1.8.23.2
353
279
  signing_key:
354
280
  specification_version: 3
355
- summary: Amalgalite embeds the SQLite database engine in a ruby extension
356
- test_files: []
357
-
281
+ summary: Amalgalite embeds the SQLite database engine in a ruby extension. There
282
+ is no need to install SQLite separately.
283
+ test_files:
284
+ - spec/aggregate_spec.rb
285
+ - spec/amalgalite_spec.rb
286
+ - spec/blob_spec.rb
287
+ - spec/boolean_spec.rb
288
+ - spec/busy_handler.rb
289
+ - spec/data/iso-3166-country.txt
290
+ - spec/data/iso-3166-schema.sql
291
+ - spec/data/iso-3166-subcountry.txt
292
+ - spec/data/make-iso-db.sh
293
+ - spec/database_spec.rb
294
+ - spec/default_map_spec.rb
295
+ - spec/function_spec.rb
296
+ - spec/integeration_spec.rb
297
+ - spec/iso_3166_database.rb
298
+ - spec/packer_spec.rb
299
+ - spec/paths_spec.rb
300
+ - spec/progress_handler_spec.rb
301
+ - spec/requires_spec.rb
302
+ - spec/rtree_spec.rb
303
+ - spec/schema_spec.rb
304
+ - spec/spec_helper.rb
305
+ - spec/sqlite3/constants_spec.rb
306
+ - spec/sqlite3/database_status_spec.rb
307
+ - spec/sqlite3/status_spec.rb
308
+ - spec/sqlite3/version_spec.rb
309
+ - spec/sqlite3_spec.rb
310
+ - spec/statement_spec.rb
311
+ - spec/storage_map_spec.rb
312
+ - spec/tap_spec.rb
313
+ - spec/text_map_spec.rb
314
+ - spec/type_map_spec.rb
315
+ - spec/version_spec.rb