do_sqlite3 0.10.13 → 0.10.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -7
- data/ChangeLog.markdown +5 -0
- data/Rakefile +1 -1
- data/ext/do_sqlite3/do_common.c +1 -1
- data/lib/do_sqlite3/version.rb +1 -1
- data/spec/typecast/time_spec.rb +1 -0
- data/tasks/compile.rake +3 -1
- data/tasks/retrieve.rake +2 -2
- metadata +58 -51
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
---
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e2eb9d42a084bc69f5b0039ea17fb10529721e94
|
4
|
+
data.tar.gz: a10e8128091504b583419387cb5ddc8b76b89cfe
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8829449b559d6a09381e10e333a5350fca415dde4b38e3369fe7906aaec3d4b2a068e6cf4a53123b157666177382a8b0c1b8ff493df2c7a55cb113cee5987366
|
7
|
+
data.tar.gz: cd41546cf87dbb7ed1452b876903b22419fb6f0a4b2d801973e583d02c35b7b3656d5243fac6cde874c84865b6583ff1e0f2e14ce8f2667fbd2877054dfb0a6d
|
data/ChangeLog.markdown
CHANGED
data/Rakefile
CHANGED
@@ -15,7 +15,7 @@ JRUBY = RUBY_PLATFORM =~ /java/
|
|
15
15
|
IRONRUBY = defined?(RUBY_ENGINE) && RUBY_ENGINE == 'ironruby'
|
16
16
|
WINDOWS = Gem.win_platform? || (JRUBY && ENV_JAVA['os.name'] =~ /windows/i)
|
17
17
|
SUDO = WINDOWS ? '' : ('sudo' unless ENV['SUDOLESS'])
|
18
|
-
BINARY_VERSION = '
|
18
|
+
BINARY_VERSION = '3071700'
|
19
19
|
|
20
20
|
CLEAN.include(%w[ {tmp,pkg}/ **/*.{o,so,bundle,jar,log,a,gem,dSYM,obj,pdb,exp,DS_Store,rbc,db} ext/do_sqlite3/Makefile ext-java/target ])
|
21
21
|
|
data/ext/do_sqlite3/do_common.c
CHANGED
@@ -193,7 +193,7 @@ VALUE data_objects_parse_date(const char *date) {
|
|
193
193
|
}
|
194
194
|
|
195
195
|
VALUE data_objects_parse_time(const char *date) {
|
196
|
-
static char const* const _fmt_datetime = "%4d-%2d-%2d
|
196
|
+
static char const* const _fmt_datetime = "%4d-%2d-%2d%*c%2d:%2d:%2d%7lf";
|
197
197
|
int year = 0, month = 0, day = 0, hour = 0, min = 0, sec = 0, usec = 0;
|
198
198
|
double subsec = 0;
|
199
199
|
|
data/lib/do_sqlite3/version.rb
CHANGED
data/spec/typecast/time_spec.rb
CHANGED
data/tasks/compile.rake
CHANGED
@@ -17,6 +17,8 @@ begin
|
|
17
17
|
ext.cross_compile = true
|
18
18
|
ext.cross_platform = ['x86-mingw32', 'x86-mswin32-60']
|
19
19
|
ext.cross_config_options << "--with-sqlite3-dir=#{sqlite3_lib}"
|
20
|
+
ext.cross_config_options << "--with-sqlite3-include=#{sqlite3_lib}/include"
|
21
|
+
ext.cross_config_options << "--with-sqlite3-lib=#{sqlite3_lib}/lib"
|
20
22
|
|
21
23
|
ext.cross_compiling do |gemspec|
|
22
24
|
gemspec.post_install_message = <<-POST_INSTALL_MESSAGE
|
@@ -55,7 +57,7 @@ begin
|
|
55
57
|
ext.classpath = '../do_jdbc/lib/do_jdbc_internal.jar'
|
56
58
|
ext.java_compiling do |gem|
|
57
59
|
gem.add_dependency 'jdbc-sqlite3', '>=3.5.8'
|
58
|
-
gem.add_dependency 'do_jdbc', '0.10.
|
60
|
+
gem.add_dependency 'do_jdbc', '0.10.14'
|
59
61
|
end
|
60
62
|
end
|
61
63
|
rescue LoadError
|
data/tasks/retrieve.rake
CHANGED
@@ -33,7 +33,7 @@ begin
|
|
33
33
|
|
34
34
|
# download amalgamation BINARY_VERSION (for include files)
|
35
35
|
file "vendor/sqlite-amalgamation-#{BINARY_VERSION}.zip" => ['vendor'] do |t|
|
36
|
-
url = "http://www.sqlite.org/#{File.basename(t.name)}"
|
36
|
+
url = "http://www.sqlite.org/#{Date.today.year}/#{File.basename(t.name)}"
|
37
37
|
when_writing "downloading #{t.name}" do
|
38
38
|
cd File.dirname(t.name) do
|
39
39
|
system "wget -c #{url} || curl -L -C - -O #{url}"
|
@@ -43,7 +43,7 @@ begin
|
|
43
43
|
|
44
44
|
# download dll binaries
|
45
45
|
file "vendor/sqlite-dll-win32-x86-#{BINARY_VERSION}.zip" => ['vendor'] do |t|
|
46
|
-
url = "http://www.sqlite.org/#{File.basename(t.name)}"
|
46
|
+
url = "http://www.sqlite.org/#{Date.today.year}/#{File.basename(t.name)}"
|
47
47
|
when_writing "downloading #{t.name}" do
|
48
48
|
cd File.dirname(t.name) do
|
49
49
|
system "wget -c #{url} || curl -L -C - -O #{url}"
|
metadata
CHANGED
@@ -1,57 +1,67 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: do_sqlite3
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.10.14
|
5
5
|
platform: ruby
|
6
|
-
authors:
|
6
|
+
authors:
|
7
7
|
- Dirkjan Bussink
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2014-02-13 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
15
14
|
name: data_objects
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
version: 0.10.13
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.10.14
|
22
20
|
type: :runtime
|
23
|
-
version_requirements: *id001
|
24
|
-
- !ruby/object:Gem::Dependency
|
25
|
-
name: rspec
|
26
21
|
prerelease: false
|
27
|
-
|
28
|
-
requirements:
|
29
|
-
- -
|
30
|
-
- !ruby/object:Gem::Version
|
31
|
-
version:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.10.14
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.5'
|
32
34
|
type: :development
|
33
|
-
version_requirements: *id002
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: rake-compiler
|
36
35
|
prerelease: false
|
37
|
-
|
38
|
-
requirements:
|
39
|
-
- - ~>
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.5'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake-compiler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.7'
|
42
48
|
type: :development
|
43
|
-
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.7'
|
44
55
|
description: Implements the DataObjects API for Sqlite3
|
45
56
|
email: d.bussink@gmail.com
|
46
57
|
executables: []
|
47
|
-
|
48
|
-
extensions:
|
58
|
+
extensions:
|
49
59
|
- ext/do_sqlite3/extconf.rb
|
50
|
-
extra_rdoc_files:
|
60
|
+
extra_rdoc_files:
|
51
61
|
- ChangeLog.markdown
|
52
62
|
- LICENSE
|
53
63
|
- README.markdown
|
54
|
-
files:
|
64
|
+
files:
|
55
65
|
- ChangeLog.markdown
|
56
66
|
- LICENSE
|
57
67
|
- README.markdown
|
@@ -94,31 +104,28 @@ files:
|
|
94
104
|
- tasks/spec.rake
|
95
105
|
homepage:
|
96
106
|
licenses: []
|
97
|
-
|
98
107
|
metadata: {}
|
99
|
-
|
100
108
|
post_install_message:
|
101
109
|
rdoc_options: []
|
102
|
-
|
103
|
-
require_paths:
|
110
|
+
require_paths:
|
104
111
|
- lib
|
105
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
-
|
108
|
-
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
112
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0'
|
117
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
118
|
+
requirements:
|
119
|
+
- - ">="
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '0'
|
114
122
|
requirements: []
|
115
|
-
|
116
123
|
rubyforge_project: dorb
|
117
|
-
rubygems_version: 2.0.
|
124
|
+
rubygems_version: 2.2.0.preview.1
|
118
125
|
signing_key:
|
119
126
|
specification_version: 3
|
120
127
|
summary: DataObjects Sqlite3 Driver
|
121
|
-
test_files:
|
128
|
+
test_files:
|
122
129
|
- spec/command_spec.rb
|
123
130
|
- spec/connection_spec.rb
|
124
131
|
- spec/encoding_spec.rb
|