sqlite3 1.3.12-x64-mingw32 → 1.3.13-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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0020d7a3c16a860d1ee8d46f60b57076a89f9d64
4
- data.tar.gz: e3a59d944c9705ff69b94788aca5ea06ec283c95
3
+ metadata.gz: d3693bd755f39b755d559223394ddbd18d6a550a
4
+ data.tar.gz: fbb0fd04cc2c713041a6a51eb23afd6d6bd90971
5
5
  SHA512:
6
- metadata.gz: db11d89013027c35ee7cf1cd10f3931928d9125f53e064480eae3a82a239542b555c835cf271c716dbfc9efaf4f6559887219775cbdc8646b4cfd5693267a3c0
7
- data.tar.gz: 051a9936940624d90b6b8e514f67f82fbd288661fb250aa963837bef67179c9c10d84cc83455215a7ecfbd2a7e0ff51e458802aabece1141f2a6ce324b5026b7
6
+ metadata.gz: f67833c4c4097d3f492524f7fc61b983bcb3fb3c40695f118ef4ea3d565828f3ef35a26c51c2975707f4ca9c43446a66514a40d9ddc6d41ee96fc5e42b63c633
7
+ data.tar.gz: 83c68834b17e6ea57ba371bb782c1a4a18c37d3e551218d831a330ea56774e2aa0f46680e59c37b6ab324535becf93fcba8e67deea47ce953352450bdbbcded6
@@ -15,7 +15,7 @@
15
15
  === 1.3.10 / 2014-10-30
16
16
 
17
17
  * Enhancements:
18
- * Windows: build against SQLite 3.8.6. Closes #135 [Hubro]
18
+ * Windows: build against SQLite 3.8.7.1. Closes #134, #135 [Hubro]
19
19
 
20
20
  === 1.3.9 / 2014-02-25
21
21
 
@@ -46,8 +46,8 @@ static VALUE initialize(int argc, VALUE *argv, VALUE self)
46
46
  VALUE file;
47
47
  VALUE opts;
48
48
  VALUE zvfs;
49
- #ifdef HAVE_SQLITE3_OPEN_V2
50
49
  VALUE flags;
50
+ #ifdef HAVE_SQLITE3_OPEN_V2
51
51
  int mode = SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE;
52
52
  #endif
53
53
  int status;
@@ -11,10 +11,10 @@ RbConfig::MAKEFILE_CONFIG['CC'] = ENV['CC'] if ENV['CC']
11
11
  ldflags = cppflags = nil
12
12
  if RbConfig::CONFIG["host_os"] =~ /darwin/
13
13
  begin
14
- brew_info = `brew info sqlite3`
15
- ldflags = brew_info[/LDFLAGS.*$/].split(/-L/).last
16
- cppflags = brew_info[/CPPFLAGS.*$/].split(/-I/).last
17
- pkg_conf = brew_info[/PKG_CONFIG_PATH.*$/].split(": ").last
14
+ brew_prefix = `brew --prefix sqlite3`.chomp
15
+ ldflags = "#{brew_prefix}/lib"
16
+ cppflags = "#{brew_prefix}/include"
17
+ pkg_conf = "#{brew_prefix}/lib/pkgconfig"
18
18
 
19
19
  # pkg_config should be less error prone than parsing compiler
20
20
  # commandline options, but we need to set default ldflags and cpp flags
@@ -101,15 +101,6 @@ module SQLite3
101
101
  # The list of valid WAL checkpoints.
102
102
  WAL_CHECKPOINTS = [ [ 'passive' ], [ 'full' ], [ 'restart' ], [ 'truncate' ] ]
103
103
 
104
- # Does an integrity check on the database. If the check fails, a
105
- # SQLite3::Exception will be raised. Otherwise it
106
- # returns silently.
107
- def integrity_check
108
- execute( "PRAGMA integrity_check" ) do |row|
109
- raise Exception, row[0] if row[0] != "ok"
110
- end
111
- end
112
-
113
104
  def application_id
114
105
  get_int_pragma "application_id"
115
106
  end
@@ -1,12 +1,12 @@
1
1
  module SQLite3
2
2
 
3
- VERSION = '1.3.12'
3
+ VERSION = '1.3.13'
4
4
 
5
5
  module VersionProxy
6
6
 
7
7
  MAJOR = 1
8
8
  MINOR = 3
9
- TINY = 12
9
+ TINY = 13
10
10
  BUILD = nil
11
11
 
12
12
  STRING = [ MAJOR, MINOR, TINY, BUILD ].compact.join( "." )
@@ -1,5 +1,6 @@
1
1
  require 'helper'
2
2
  require 'tempfile'
3
+ require 'pathname'
3
4
 
4
5
  module SQLite3
5
6
  class TestDatabase < SQLite3::TestCase
@@ -19,7 +20,7 @@ module SQLite3
19
20
  assert_equal '', @db.filename('main')
20
21
  tf = Tempfile.new 'thing'
21
22
  @db = SQLite3::Database.new tf.path
22
- assert_equal tf.path, @db.filename('main')
23
+ assert_equal File.expand_path(tf.path), File.expand_path(@db.filename('main'))
23
24
  ensure
24
25
  tf.unlink if tf
25
26
  end
@@ -29,7 +30,7 @@ module SQLite3
29
30
  assert_equal '', @db.filename
30
31
  tf = Tempfile.new 'thing'
31
32
  @db = SQLite3::Database.new tf.path
32
- assert_equal tf.path, @db.filename
33
+ assert_equal File.expand_path(tf.path), File.expand_path(@db.filename)
33
34
  ensure
34
35
  tf.unlink if tf
35
36
  end
@@ -39,7 +40,7 @@ module SQLite3
39
40
  assert_equal '', @db.filename
40
41
  tf = Tempfile.new 'thing'
41
42
  @db.execute "ATTACH DATABASE '#{tf.path}' AS 'testing'"
42
- assert_equal tf.path, @db.filename('testing')
43
+ assert_equal File.expand_path(tf.path), File.expand_path(@db.filename('testing'))
43
44
  ensure
44
45
  tf.unlink if tf
45
46
  end
@@ -34,7 +34,7 @@ module SQLite3
34
34
  # UNIQUE constraint failed: *table_name*.*column_name*
35
35
  # Older versions of SQLite return:
36
36
  # column *column_name* is not unique
37
- assert_match /(column(s)? .* (is|are) not unique|UNIQUE constraint failed: .*)/, exception.message
37
+ assert_match(/(column(s)? .* (is|are) not unique|UNIQUE constraint failed: .*)/, exception.message)
38
38
  end
39
39
 
40
40
  ###
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sqlite3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.12
4
+ version: 1.3.13
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - Jamis Buck
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-10-09 00:00:00.000000000 Z
13
+ date: 2017-01-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: minitest
@@ -159,6 +159,7 @@ files:
159
159
  - lib/sqlite3/2.1/sqlite3_native.so
160
160
  - lib/sqlite3/2.2/sqlite3_native.so
161
161
  - lib/sqlite3/2.3/sqlite3_native.so
162
+ - lib/sqlite3/2.4/sqlite3_native.so
162
163
  - lib/sqlite3/constants.rb
163
164
  - lib/sqlite3/database.rb
164
165
  - lib/sqlite3/errors.rb
@@ -211,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
212
  version: 1.3.5
212
213
  requirements: []
213
214
  rubyforge_project:
214
- rubygems_version: 2.5.1
215
+ rubygems_version: 2.6.8
215
216
  signing_key:
216
217
  specification_version: 4
217
218
  summary: This module allows Ruby programs to interface with the SQLite3 database engine