sqlite3 1.3.12-x86-mswin32-60 → 1.3.13-x86-mswin32-60

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9d2e1f64088cb2dbdc06ee854ce2bde5d50782f0
4
- data.tar.gz: 2c161ab1c1d8c11f375765ca2ee21548a9a9ca8b
3
+ metadata.gz: eb5756d567a93fcf3a010b7691bf6e0c1145a3ab
4
+ data.tar.gz: e775dedd2b54a5b68bbab0997a7f3fcc16ef0a74
5
5
  SHA512:
6
- metadata.gz: a978620f798c7d66fd9d39a288ab23543f4614b1f2deb65ffa2724de526449ee9d9e7e3f4a644054453c62eedc4516ec7ab0d202e9e581665ae644ffda444f4c
7
- data.tar.gz: 97307495ca35871d3972bd547daeb923ae6c362a84e22495742d0a2c85987715de2556a1a4bb6466db8692606bed851d01191edc7a722e9c001b3fb2380c8272
6
+ metadata.gz: bac6b264054b9a1ce03d5c9ec84cc0979f5d45c46c4b2ccb66b0557fe88249a33cbfecf296c4e71580442355dce928069046241d95455f12c5e45fc8f8ea2c48
7
+ data.tar.gz: 9c0e12228089d2d51ab20024993e973aa3e467def8f69be2311491ead2c3605804ed77148794f0d9ccbf1943b9b2ed8df791af00b90bb2184e2d9e7c7581d3ee
@@ -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: x86-mswin32-60
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
@@ -155,12 +155,11 @@ files:
155
155
  - faq/faq.rb
156
156
  - faq/faq.yml
157
157
  - lib/sqlite3.rb
158
- - lib/sqlite3/1.8/sqlite3_native.so
159
- - lib/sqlite3/1.9/sqlite3_native.so
160
158
  - lib/sqlite3/2.0/sqlite3_native.so
161
159
  - lib/sqlite3/2.1/sqlite3_native.so
162
160
  - lib/sqlite3/2.2/sqlite3_native.so
163
161
  - lib/sqlite3/2.3/sqlite3_native.so
162
+ - lib/sqlite3/2.4/sqlite3_native.so
164
163
  - lib/sqlite3/constants.rb
165
164
  - lib/sqlite3/database.rb
166
165
  - lib/sqlite3/errors.rb
@@ -213,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
213
212
  version: 1.3.5
214
213
  requirements: []
215
214
  rubyforge_project:
216
- rubygems_version: 2.5.1
215
+ rubygems_version: 2.6.8
217
216
  signing_key:
218
217
  specification_version: 4
219
218
  summary: This module allows Ruby programs to interface with the SQLite3 database engine