amalgalite 1.6.1-x64-mingw32 → 1.6.3-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
@@ -292,6 +292,33 @@ struct sqlite3_api_routines {
292
292
  int (*bind_pointer)(sqlite3_stmt*,int,void*,const char*,void(*)(void*));
293
293
  void (*result_pointer)(sqlite3_context*,void*,const char*,void(*)(void*));
294
294
  void *(*value_pointer)(sqlite3_value*,const char*);
295
+ int (*vtab_nochange)(sqlite3_context*);
296
+ int (*value_nochange)(sqlite3_value*);
297
+ const char *(*vtab_collation)(sqlite3_index_info*,int);
298
+ /* Version 3.24.0 and later */
299
+ int (*keyword_count)(void);
300
+ int (*keyword_name)(int,const char**,int*);
301
+ int (*keyword_check)(const char*,int);
302
+ sqlite3_str *(*str_new)(sqlite3*);
303
+ char *(*str_finish)(sqlite3_str*);
304
+ void (*str_appendf)(sqlite3_str*, const char *zFormat, ...);
305
+ void (*str_vappendf)(sqlite3_str*, const char *zFormat, va_list);
306
+ void (*str_append)(sqlite3_str*, const char *zIn, int N);
307
+ void (*str_appendall)(sqlite3_str*, const char *zIn);
308
+ void (*str_appendchar)(sqlite3_str*, int N, char C);
309
+ void (*str_reset)(sqlite3_str*);
310
+ int (*str_errcode)(sqlite3_str*);
311
+ int (*str_length)(sqlite3_str*);
312
+ char *(*str_value)(sqlite3_str*);
313
+ /* Version 3.25.0 and later */
314
+ int (*create_window_function)(sqlite3*,const char*,int,int,void*,
315
+ void (*xStep)(sqlite3_context*,int,sqlite3_value**),
316
+ void (*xFinal)(sqlite3_context*),
317
+ void (*xValue)(sqlite3_context*),
318
+ void (*xInv)(sqlite3_context*,int,sqlite3_value**),
319
+ void(*xDestroy)(void*));
320
+ /* Version 3.26.0 and later */
321
+ const char *(*normalized_sql)(sqlite3_stmt*);
295
322
  };
296
323
 
297
324
  /*
@@ -558,6 +585,29 @@ typedef int (*sqlite3_loadext_entry)(
558
585
  #define sqlite3_bind_pointer sqlite3_api->bind_pointer
559
586
  #define sqlite3_result_pointer sqlite3_api->result_pointer
560
587
  #define sqlite3_value_pointer sqlite3_api->value_pointer
588
+ /* Version 3.22.0 and later */
589
+ #define sqlite3_vtab_nochange sqlite3_api->vtab_nochange
590
+ #define sqlite3_value_nochange sqlite3_api->value_nochange
591
+ #define sqlite3_vtab_collation sqlite3_api->vtab_collation
592
+ /* Version 3.24.0 and later */
593
+ #define sqlite3_keyword_count sqlite3_api->keyword_count
594
+ #define sqlite3_keyword_name sqlite3_api->keyword_name
595
+ #define sqlite3_keyword_check sqlite3_api->keyword_check
596
+ #define sqlite3_str_new sqlite3_api->str_new
597
+ #define sqlite3_str_finish sqlite3_api->str_finish
598
+ #define sqlite3_str_appendf sqlite3_api->str_appendf
599
+ #define sqlite3_str_vappendf sqlite3_api->str_vappendf
600
+ #define sqlite3_str_append sqlite3_api->str_append
601
+ #define sqlite3_str_appendall sqlite3_api->str_appendall
602
+ #define sqlite3_str_appendchar sqlite3_api->str_appendchar
603
+ #define sqlite3_str_reset sqlite3_api->str_reset
604
+ #define sqlite3_str_errcode sqlite3_api->str_errcode
605
+ #define sqlite3_str_length sqlite3_api->str_length
606
+ #define sqlite3_str_value sqlite3_api->str_value
607
+ /* Version 3.25.0 and later */
608
+ #define sqlite3_create_window_function sqlite3_api->create_window_function
609
+ /* Version 3.26.0 and later */
610
+ #define sqlite3_normalized_sql sqlite3_api->normalized_sql
561
611
  #endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */
562
612
 
563
613
  #if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION)
@@ -4,5 +4,5 @@
4
4
  #++
5
5
 
6
6
  module Amalgalite
7
- VERSION = "1.6.1"
7
+ VERSION = "1.6.3"
8
8
  end
@@ -7,21 +7,21 @@ describe "Amalgalite::SQLite3::Version" do
7
7
  expect(Amalgalite::SQLite3::Version.to_s).to match( /\d+\.\d+\.\d+/ )
8
8
  expect(Amalgalite::SQLite3::Version.runtime_version).to match( /\d+\.\d+\.\d+/ )
9
9
 
10
- Amalgalite::SQLite3::Version.to_i.should eql(3021000)
11
- Amalgalite::SQLite3::Version.runtime_version_number.should eql(3021000)
10
+ Amalgalite::SQLite3::Version.to_i.should eql(3026000)
11
+ Amalgalite::SQLite3::Version.runtime_version_number.should eql(3026000)
12
12
 
13
13
  Amalgalite::SQLite3::Version::MAJOR.should eql(3)
14
- Amalgalite::SQLite3::Version::MINOR.should eql(21)
14
+ Amalgalite::SQLite3::Version::MINOR.should eql(26)
15
15
  Amalgalite::SQLite3::Version::RELEASE.should eql(0)
16
16
  expect(Amalgalite::SQLite3::Version.to_a.size).to eql(3)
17
17
 
18
- Amalgalite::SQLite3::Version.compiled_version.should be == "3.21.0"
19
- Amalgalite::SQLite3::Version.compiled_version_number.should be == 3021000
18
+ Amalgalite::SQLite3::Version.compiled_version.should be == "3.26.0"
19
+ Amalgalite::SQLite3::Version.compiled_version_number.should be == 3026000
20
20
  Amalgalite::SQLite3::Version.compiled_matches_runtime?.should be == true
21
21
  end
22
22
 
23
23
  it "should have the sqlite3 source id" do
24
- source_id = "2017-10-24 18:55:49 1a584e499906b5c87ec7d43d4abce641fdf017c42125b083109bc77c4de48827"
24
+ source_id = "2018-12-01 12:34:55 bf8c1b2b7a5960c282e543b9c293686dccff272512d08865f4600fb58238b4f9"
25
25
  Amalgalite::SQLite3::Version.compiled_source_id.should be == source_id
26
26
  Amalgalite::SQLite3::Version.runtime_source_id.should be == source_id
27
27
  end
@@ -25,10 +25,10 @@ class ThisProject
25
25
  #
26
26
  # Yields self
27
27
  def initialize(&block)
28
- @exclude_from_manifest = Regexp.union(/\.(git|DS_Store)/,
29
- /^(doc|coverage|pkg|tmp|Gemfile(\.lock)?)/,
28
+ @exclude_from_manifest = Regexp.union(/\.(git|DS_Store|ruby-version)/,
29
+ /^(doc|coverage|pkg|tmp|.semaphore|Gemfile(\.lock)?)/,
30
30
  /^[^\/]+\.gemspec/,
31
- /\.(swp|jar|bundle|so|rvmrc|travis.yml)$/,
31
+ /\.(swp|jar|bundle|so|rvmrc|travis.yml|byebug_history)$/,
32
32
  /~$/)
33
33
  @gemspecs = Hash.new
34
34
  yield self if block_given?
@@ -146,7 +146,7 @@ class ThisProject
146
146
  spec.rdoc_options = [ "--main" , 'README.md',
147
147
  "--markup", "tomdoc" ]
148
148
 
149
- spec.required_ruby_version = '>= 1.9.3'
149
+ spec.required_ruby_version = '>= 2.2.2'
150
150
  end
151
151
  end
152
152
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amalgalite
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.3
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - Jeremy Hinegardner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-03 00:00:00.000000000 Z
11
+ date: 2019-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: arrayfields
@@ -122,12 +122,16 @@ dependencies:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
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
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
127
  * general usage * blob io * schema information * custom functions * custom aggregates
128
128
  * requiring ruby code from a database * full text search Also Scroll through Amalgalite::Database
129
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)'
130
+ additional non-default SQLite extensions: * (http://sqlite.org/rtree.html) * (http://sqlite.org/fts5.html)
131
+ - both fts3 and fts5 * (https://www.sqlite.org/geopoly.html) * (https://www.sqlite.org/json1.html)
132
+ Other extensions are add that might not be usable/visible by users of the gem. The
133
+ full list of extensions added is in (ext/amalgalite/c/extconf.rb). And those may
134
+ be cross referenced against the (https://www.sqlite.org/compile.html)'
131
135
  email: jeremy@copiousfreetime.org
132
136
  executables:
133
137
  - amalgalite-pack
@@ -175,11 +179,11 @@ files:
175
179
  - ext/amalgalite/c/sqlite3_options.h
176
180
  - ext/amalgalite/c/sqlite3ext.h
177
181
  - lib/amalgalite.rb
178
- - lib/amalgalite/2.0/amalgalite.so
179
- - lib/amalgalite/2.1/amalgalite.so
180
182
  - lib/amalgalite/2.2/amalgalite.so
181
183
  - lib/amalgalite/2.3/amalgalite.so
182
184
  - lib/amalgalite/2.4/amalgalite.so
185
+ - lib/amalgalite/2.5/amalgalite.so
186
+ - lib/amalgalite/2.6/amalgalite.so
183
187
  - lib/amalgalite/aggregate.rb
184
188
  - lib/amalgalite/blob.rb
185
189
  - lib/amalgalite/boolean.rb
@@ -268,10 +272,10 @@ required_ruby_version: !ruby/object:Gem::Requirement
268
272
  requirements:
269
273
  - - ">="
270
274
  - !ruby/object:Gem::Version
271
- version: '2.0'
275
+ version: '2.2'
272
276
  - - "<"
273
277
  - !ruby/object:Gem::Version
274
- version: '2.5'
278
+ version: 2.7.dev
275
279
  required_rubygems_version: !ruby/object:Gem::Requirement
276
280
  requirements:
277
281
  - - ">="
@@ -279,11 +283,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
279
283
  version: '0'
280
284
  requirements: []
281
285
  rubyforge_project:
282
- rubygems_version: 2.6.12
286
+ rubygems_version: 2.7.8
283
287
  signing_key:
284
288
  specification_version: 4
285
- summary: Amalgalite embeds the SQLite database engine in a ruby extension. There
286
- is no need to install SQLite separately.
289
+ summary: Amalgalite embeds the SQLite database engine in a ruby extension. There is
290
+ no need to install SQLite separately.
287
291
  test_files:
288
292
  - spec/aggregate_spec.rb
289
293
  - spec/amalgalite_spec.rb