sqlite3 1.3.10-x86-mingw32 → 1.3.11-x86-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,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ZDYxODE5ZDhlM2I2M2ZmM2VjM2Q1NTlhMWEzMThjY2M3YzBjYWQxNg==
5
- data.tar.gz: !binary |-
6
- MDhlNzA3OGM2MDkyMDdiMzg4YzZkOWFjZWE4YzhjMDIxZTUyZTNiMw==
2
+ SHA1:
3
+ metadata.gz: 465cd524e5030bdd85a93e44b1c3c49cd7b03338
4
+ data.tar.gz: 4723b4929a2d1ab1a68046e2c16e7c0a2f86a4b7
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MjQyZDM3OTliYmYyMGQxNDc5NjQzYzNjYjM4ODhjMzI0MWNhNWM3NGVjZmM2
10
- NGZkYTgyYTVlYmRlOTRiMzQ4OWU0ZmRiNTQyYjE3NTA3MWVmM2Y3ZTdjMDcx
11
- MjM4ZjA5ZGJlMzUyNGE0YjU0ODkwYzY2ODIwY2UwMjNhMmIyMzg=
12
- data.tar.gz: !binary |-
13
- ZTBkNGM4NzdkYzBhNGIzNmI2NTY4ZWRlMmRkYTM5ZWIyZTAwZjc0YjIwZDk2
14
- MmU1OWY5MmZiZTM3YjRlNDFlODA0NmQ3OGY1YjYwNmRkNTg2MmQwNmUzZjY4
15
- ZjJhMzZhOTc3ODA4MzNlN2Q3MGE2Y2Y5M2Q2NmJhYjM4NDc0YTE=
6
+ metadata.gz: fd72868761e1f31169eecd5dc9351189d8055beda4c0488a4f66d6d6026545020a9cfe791be0e826f6b6d361e59a7902bf85233487a3870ca1ca1d5864ed3157
7
+ data.tar.gz: dcc49bd59e0234e0830b8569e6037e9ccc81cc8884f17fb4eb3ba5ca8947b57d6e925adc3bbf614940f6ed35cb95188a3b168c0fa0114f76f1bca87f9143fab8
@@ -1,7 +1,16 @@
1
+ === 1.3.11 / 2015-10-10
2
+
3
+ * Enhancements:
4
+ * Windows: build against SQLite 3.8.11.1
5
+
6
+ * Internal:
7
+ * Use rake-compiler-dock to build Windows binaries. Pull #159 [larskanis]
8
+ * Expand Ruby versions being tested for Travis and AppVeyor
9
+
1
10
  === 1.3.10 / 2014-10-30
2
11
 
3
12
  * Enhancements:
4
- * Windows: build against SQLite 3.8.7.1. Closes #134, #135 [Hubro]
13
+ * Windows: build against SQLite 3.8.6. Closes #135 [Hubro]
5
14
 
6
15
  === 1.3.9 / 2014-02-25
7
16
 
data/Gemfile CHANGED
@@ -5,11 +5,12 @@
5
5
  source "https://rubygems.org/"
6
6
 
7
7
 
8
- gem "mini_portile", "~>0.6.1", :group => [:development, :test]
9
- gem "minitest", "~>5.4", :group => [:development, :test]
10
- gem "hoe-bundler", "~>1.0", :group => [:development, :test]
11
- gem "rake-compiler", "~>0.9.3", :group => [:development, :test]
8
+ gem "minitest", "~>5.8", :group => [:development, :test]
12
9
  gem "rdoc", "~>4.0", :group => [:development, :test]
13
- gem "hoe", "~>3.12", :group => [:development, :test]
10
+ gem "rake-compiler", "~>0.9.3", :group => [:development, :test]
11
+ gem "rake-compiler-dock", "~>0.4.3", :group => [:development, :test]
12
+ gem "mini_portile", "~>0.6.2", :group => [:development, :test]
13
+ gem "hoe-bundler", "~>1.0", :group => [:development, :test]
14
+ gem "hoe", "~>3.14", :group => [:development, :test]
14
15
 
15
16
  # vim: syntax=ruby
@@ -2,6 +2,8 @@
2
2
 
3
3
  * https://github.com/sparklemotion/sqlite3-ruby
4
4
  * http://groups.google.com/group/sqlite3-ruby
5
+ * http://rubygems.org/gems/sqlite3
6
+ * http://www.rubydoc.info/gems/sqlite3/frames
5
7
 
6
8
  == DESCRIPTION
7
9
 
@@ -240,7 +240,7 @@ static VALUE bind_param(VALUE self, VALUE key, VALUE value)
240
240
 
241
241
 
242
242
  #ifdef HAVE_RUBY_ENCODING_H
243
- if (UTF16_LE_P(value)) {
243
+ if (UTF16_LE_P(value) || UTF16_BE_P(value)) {
244
244
  status = sqlite3_bind_text16(
245
245
  ctx->st,
246
246
  index,
@@ -5,7 +5,7 @@ module SQLite3
5
5
 
6
6
  # The ResultSet object encapsulates the enumerability of a query's output.
7
7
  # It is a simple cursor over the data that the query returns. It will
8
- # very rarely (if ever) be instantiated directly. Instead, client's should
8
+ # very rarely (if ever) be instantiated directly. Instead, clients should
9
9
  # obtain a ResultSet instance via Statement#execute.
10
10
  class ResultSet
11
11
  include Enumerable
@@ -1,12 +1,12 @@
1
1
  module SQLite3
2
2
 
3
- VERSION = '1.3.10'
3
+ VERSION = '1.3.11'
4
4
 
5
5
  module VersionProxy
6
6
 
7
7
  MAJOR = 1
8
8
  MINOR = 3
9
- TINY = 10
9
+ TINY = 11
10
10
  BUILD = nil
11
11
 
12
12
  STRING = [ MAJOR, MINOR, TINY, BUILD ].compact.join( "." )
@@ -25,7 +25,8 @@ HOE = Hoe.spec 'sqlite3' do
25
25
  spec_extras[:extensions] = ["ext/sqlite3/extconf.rb"]
26
26
 
27
27
  extra_dev_deps << ['rake-compiler', "~> 0.9.3"]
28
- extra_dev_deps << ["mini_portile", "~> 0.6.1"]
28
+ extra_dev_deps << ['rake-compiler-dock', "~> 0.4.3"]
29
+ extra_dev_deps << ["mini_portile", "~> 0.6.2"]
29
30
  extra_dev_deps << ["minitest", "~> 5.0"]
30
31
  extra_dev_deps << ["hoe-bundler", "~> 1.0"]
31
32
 
@@ -5,9 +5,9 @@ require 'rake/extensioncompiler'
5
5
  # NOTE: version used by cross compilation of Windows native extension
6
6
  # It do not affect compilation under other operating systems
7
7
  # The version indicated is the minimum DLL suggested for correct functionality
8
- BINARY_VERSION = "3.8.7.1"
9
- URL_VERSION = "3080701"
10
- URL_PATH = "/2014"
8
+ BINARY_VERSION = "3.8.11.1"
9
+ URL_VERSION = "3081101"
10
+ URL_PATH = "/2015"
11
11
 
12
12
  task :devkit do
13
13
  begin
@@ -89,3 +89,9 @@ task :cross do
89
89
  ENV.delete(var)
90
90
  end
91
91
  end
92
+
93
+ desc "Build windows binary gems per rake-compiler-dock."
94
+ task "gem:windows" do
95
+ require "rake_compiler_dock"
96
+ RakeCompilerDock.sh "bundle && rake cross native gem MAKE='nice make -j`nproc`'"
97
+ end
@@ -13,12 +13,13 @@ module SQLite3
13
13
 
14
14
  def test_select_encoding_on_utf_16
15
15
  str = "foo"
16
- db = SQLite3::Database.new(':memory:'.encode('UTF-16LE'))
16
+ utf16 = ([1].pack("I") == [1].pack("N")) ? "UTF-16BE" : "UTF-16LE"
17
+ db = SQLite3::Database.new(':memory:'.encode(utf16))
17
18
  db.execute @create
18
19
  db.execute "insert into ex (id, data) values (1, \"#{str}\")"
19
20
 
20
21
  stmt = db.prepare 'select * from ex where data = ?'
21
- ['US-ASCII', 'UTF-16LE', 'EUC-JP', 'UTF-8'].each do |enc|
22
+ ['US-ASCII', utf16, 'EUC-JP', 'UTF-8'].each do |enc|
22
23
  stmt.bind_param 1, str.encode(enc)
23
24
  assert_equal 1, stmt.to_a.length
24
25
  stmt.reset!
@@ -27,11 +28,12 @@ module SQLite3
27
28
 
28
29
  def test_insert_encoding
29
30
  str = "foo"
30
- db = SQLite3::Database.new(':memory:'.encode('UTF-16LE'))
31
+ utf16 = ([1].pack("I") == [1].pack("N")) ? "UTF-16BE" : "UTF-16LE"
32
+ db = SQLite3::Database.new(':memory:'.encode(utf16))
31
33
  db.execute @create
32
34
  stmt = db.prepare @insert
33
35
 
34
- ['US-ASCII', 'UTF-16LE', 'UTF-16BE', 'EUC-JP', 'UTF-8'].each_with_index do |enc,i|
36
+ ['US-ASCII', utf16, 'EUC-JP', 'UTF-8'].each_with_index do |enc,i|
35
37
  stmt.bind_param 1, i
36
38
  stmt.bind_param 2, str.encode(enc)
37
39
  stmt.to_a
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.10
4
+ version: 1.3.11
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Jamis Buck
@@ -10,110 +10,112 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-10-31 00:00:00.000000000 Z
13
+ date: 2015-10-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: minitest
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - ~>
19
+ - - "~>"
20
20
  - !ruby/object:Gem::Version
21
- version: !binary |-
22
- NS40
21
+ version: '5.8'
23
22
  type: :development
24
23
  prerelease: false
25
24
  version_requirements: !ruby/object:Gem::Requirement
26
25
  requirements:
27
- - - ~>
26
+ - - "~>"
28
27
  - !ruby/object:Gem::Version
29
- version: !binary |-
30
- NS40
28
+ version: '5.8'
31
29
  - !ruby/object:Gem::Dependency
32
30
  name: rdoc
33
31
  requirement: !ruby/object:Gem::Requirement
34
32
  requirements:
35
- - - ~>
33
+ - - "~>"
36
34
  - !ruby/object:Gem::Version
37
- version: !binary |-
38
- NC4w
35
+ version: '4.0'
39
36
  type: :development
40
37
  prerelease: false
41
38
  version_requirements: !ruby/object:Gem::Requirement
42
39
  requirements:
43
- - - ~>
40
+ - - "~>"
44
41
  - !ruby/object:Gem::Version
45
- version: !binary |-
46
- NC4w
42
+ version: '4.0'
47
43
  - !ruby/object:Gem::Dependency
48
44
  name: rake-compiler
49
45
  requirement: !ruby/object:Gem::Requirement
50
46
  requirements:
51
- - - ~>
47
+ - - "~>"
52
48
  - !ruby/object:Gem::Version
53
- version: !binary |-
54
- MC45LjM=
49
+ version: 0.9.3
55
50
  type: :development
56
51
  prerelease: false
57
52
  version_requirements: !ruby/object:Gem::Requirement
58
53
  requirements:
59
- - - ~>
54
+ - - "~>"
60
55
  - !ruby/object:Gem::Version
61
- version: !binary |-
62
- MC45LjM=
56
+ version: 0.9.3
57
+ - !ruby/object:Gem::Dependency
58
+ name: rake-compiler-dock
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - "~>"
62
+ - !ruby/object:Gem::Version
63
+ version: 0.4.3
64
+ type: :development
65
+ prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - "~>"
69
+ - !ruby/object:Gem::Version
70
+ version: 0.4.3
63
71
  - !ruby/object:Gem::Dependency
64
72
  name: mini_portile
65
73
  requirement: !ruby/object:Gem::Requirement
66
74
  requirements:
67
- - - ~>
75
+ - - "~>"
68
76
  - !ruby/object:Gem::Version
69
- version: !binary |-
70
- MC42LjE=
77
+ version: 0.6.2
71
78
  type: :development
72
79
  prerelease: false
73
80
  version_requirements: !ruby/object:Gem::Requirement
74
81
  requirements:
75
- - - ~>
82
+ - - "~>"
76
83
  - !ruby/object:Gem::Version
77
- version: !binary |-
78
- MC42LjE=
84
+ version: 0.6.2
79
85
  - !ruby/object:Gem::Dependency
80
86
  name: hoe-bundler
81
87
  requirement: !ruby/object:Gem::Requirement
82
88
  requirements:
83
- - - ~>
89
+ - - "~>"
84
90
  - !ruby/object:Gem::Version
85
- version: !binary |-
86
- MS4w
91
+ version: '1.0'
87
92
  type: :development
88
93
  prerelease: false
89
94
  version_requirements: !ruby/object:Gem::Requirement
90
95
  requirements:
91
- - - ~>
96
+ - - "~>"
92
97
  - !ruby/object:Gem::Version
93
- version: !binary |-
94
- MS4w
98
+ version: '1.0'
95
99
  - !ruby/object:Gem::Dependency
96
100
  name: hoe
97
101
  requirement: !ruby/object:Gem::Requirement
98
102
  requirements:
99
- - - ~>
103
+ - - "~>"
100
104
  - !ruby/object:Gem::Version
101
- version: '3.13'
105
+ version: '3.14'
102
106
  type: :development
103
107
  prerelease: false
104
108
  version_requirements: !ruby/object:Gem::Requirement
105
109
  requirements:
106
- - - ~>
110
+ - - "~>"
107
111
  - !ruby/object:Gem::Version
108
- version: '3.13'
109
- description: ! 'This module allows Ruby programs to interface with the SQLite3
110
-
112
+ version: '3.14'
113
+ description: |-
114
+ This module allows Ruby programs to interface with the SQLite3
111
115
  database engine (http://www.sqlite.org). You must have the
112
-
113
116
  SQLite engine installed in order to build this module.
114
117
 
115
-
116
- Note that this module is only compatible with SQLite 3.6.16 or newer.'
118
+ Note that this module is only compatible with SQLite 3.6.16 or newer.
117
119
  email:
118
120
  - jamis@37signals.com
119
121
  - luislavena@gmail.com
@@ -131,7 +133,6 @@ extra_rdoc_files:
131
133
  - ext/sqlite3/sqlite3.c
132
134
  - ext/sqlite3/statement.c
133
135
  files:
134
- - .gemtest
135
136
  - API_CHANGES.rdoc
136
137
  - CHANGELOG.rdoc
137
138
  - ChangeLog.cvs
@@ -158,6 +159,7 @@ files:
158
159
  - lib/sqlite3/1.9/sqlite3_native.so
159
160
  - lib/sqlite3/2.0/sqlite3_native.so
160
161
  - lib/sqlite3/2.1/sqlite3_native.so
162
+ - lib/sqlite3/2.2/sqlite3_native.so
161
163
  - lib/sqlite3/constants.rb
162
164
  - lib/sqlite3/database.rb
163
165
  - lib/sqlite3/errors.rb
@@ -194,40 +196,25 @@ licenses:
194
196
  metadata: {}
195
197
  post_install_message:
196
198
  rdoc_options:
197
- - --main
199
+ - "--main"
198
200
  - README.rdoc
199
201
  require_paths:
200
202
  - lib
201
203
  required_ruby_version: !ruby/object:Gem::Requirement
202
204
  requirements:
203
- - - ! '>='
205
+ - - ">="
204
206
  - !ruby/object:Gem::Version
205
207
  version: 1.8.7
206
208
  required_rubygems_version: !ruby/object:Gem::Requirement
207
209
  requirements:
208
- - - ! '>='
210
+ - - ">="
209
211
  - !ruby/object:Gem::Version
210
212
  version: 1.3.5
211
213
  requirements: []
212
214
  rubyforge_project:
213
- rubygems_version: 2.4.2
215
+ rubygems_version: 2.4.8
214
216
  signing_key:
215
217
  specification_version: 4
216
218
  summary: This module allows Ruby programs to interface with the SQLite3 database engine
217
219
  (http://www.sqlite.org)
218
- test_files:
219
- - test/test_backup.rb
220
- - test/test_collation.rb
221
- - test/test_database.rb
222
- - test/test_database_readonly.rb
223
- - test/test_deprecated.rb
224
- - test/test_encoding.rb
225
- - test/test_integration.rb
226
- - test/test_integration_open_close.rb
227
- - test/test_integration_pending.rb
228
- - test/test_integration_resultset.rb
229
- - test/test_integration_statement.rb
230
- - test/test_result_set.rb
231
- - test/test_sqlite3.rb
232
- - test/test_statement.rb
233
- - test/test_statement_execute.rb
220
+ test_files: []
data/.gemtest DELETED
File without changes