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 CHANGED
@@ -1,7 +1,7 @@
1
- ---
2
- SHA512:
3
- data.tar.gz: 32d0ea98ce116920dd9aa2c452ef5a8fa7563947d96259b79c6dc6ac333e0c393cc5677dbd680c778b2893469d4bfcf4795f4ed6ef4117b71a3aebbdea6cdb11
4
- metadata.gz: cccb12a3d83b5f25dd3451b4401a714281a574b86c0fb2e84edd9dd3cfd7c50f44e4b8db22899cdf7325b54f72b128d623633d3a6b3d6d52a50a7a88e1526e2e
5
- SHA1:
6
- data.tar.gz: 37b3149b204526cfd1e1be3825bf830300490888
7
- metadata.gz: 81cc681179133c6893575c11fe0586ec7753c2d2
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e2eb9d42a084bc69f5b0039ea17fb10529721e94
4
+ data.tar.gz: a10e8128091504b583419387cb5ddc8b76b89cfe
5
+ SHA512:
6
+ metadata.gz: 8829449b559d6a09381e10e333a5350fca415dde4b38e3369fe7906aaec3d4b2a068e6cf4a53123b157666177382a8b0c1b8ff493df2c7a55cb113cee5987366
7
+ data.tar.gz: cd41546cf87dbb7ed1452b876903b22419fb6f0a4b2d801973e583d02c35b7b3656d5243fac6cde874c84865b6583ff1e0f2e14ce8f2667fbd2877054dfb0a6d
@@ -1,3 +1,8 @@
1
+ ## 0.10.14 2014-02-13
2
+
3
+ * Don't do DNS lookup in transaction loading
4
+ * Allow for subsecond timestamp parsing
5
+
1
6
  ## 0.10.13 2013-05-27
2
7
 
3
8
  * Windows binary for Ruby 2.0
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 = '3071300'
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
 
@@ -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 %2d:%2d:%2d%7lf";
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
 
@@ -1,5 +1,5 @@
1
1
  module DataObjects
2
2
  module Sqlite3
3
- VERSION = '0.10.13'
3
+ VERSION = '0.10.14'
4
4
  end
5
5
  end
@@ -5,4 +5,5 @@ require 'data_objects/spec/shared/typecast/time_spec'
5
5
 
6
6
  describe 'DataObjects::Sqlite3 with Time' do
7
7
  it_should_behave_like 'supporting Time'
8
+ it_should_behave_like 'supporting sub second Time'
8
9
  end
@@ -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.13'
60
+ gem.add_dependency 'do_jdbc', '0.10.14'
59
61
  end
60
62
  end
61
63
  rescue LoadError
@@ -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.13
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
- date: 2013-05-27 00:00:00 Z
13
- dependencies:
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
- prerelease: false
17
- requirement: &id001 !ruby/object:Gem::Requirement
18
- requirements:
19
- - - "="
20
- - !ruby/object:Gem::Version
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
- requirement: &id002 !ruby/object:Gem::Requirement
28
- requirements:
29
- - - ~>
30
- - !ruby/object:Gem::Version
31
- version: "2.5"
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
- requirement: &id003 !ruby/object:Gem::Requirement
38
- requirements:
39
- - - ~>
40
- - !ruby/object:Gem::Version
41
- version: "0.7"
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
- version_requirements: *id003
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
- - &id004
108
- - ">="
109
- - !ruby/object:Gem::Version
110
- version: "0"
111
- required_rubygems_version: !ruby/object:Gem::Requirement
112
- requirements:
113
- - *id004
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.3
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