sqlite3 1.3.12-x86-mingw32 → 1.3.13-x86-mingw32

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: 988e8ffc46d2c517456bcf245e319e78bd0f5865
4
- data.tar.gz: cd03bf0b7959c56d32ffb304d00eec8fff2bf153
3
+ metadata.gz: 8443fb80e43d95b3f078045b6d5c7c3b7f8c3680
4
+ data.tar.gz: b02b67c42a56c2a8573206d7c2807e492e651204
5
5
  SHA512:
6
- metadata.gz: c6790f2f33bb72f826e4dd4878dd207c0637b6975642eccced21b152f401dbc57fb2457c11f5e8f5e02325828f55a09363f839a95f3160c62ddc63e46fb773d5
7
- data.tar.gz: 45644743aed7ea5e1bb7ee3914b7395066f808d7d14b1706d8d69fd921035ea998e6ed7f8ef98536913ddaf25bf403dada22c6b046e0410feb8e846050c4245f
6
+ metadata.gz: ce04b1cb6d002d5aed6be51e15ee4d7ffa3c387ab9762ca69d43ee7c9195e8892a18f620c39eb7a0f05a23d2563aaf5039c6155fb91faa293a79781f645b8075
7
+ data.tar.gz: 703acb490ed291c1853796d89f1f2c1ede3e12fe7932c72176a5b3a2a0826cfd3d269b1acc46287aaa7b61b2493ad40362349bcd84337dd01f6169b78c383154
data/CHANGELOG.rdoc CHANGED
@@ -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
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -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-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
@@ -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
Binary file
Binary file