do_sqlite3 0.10.13-java → 0.10.14-java

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: ba4474eadf677664876e9373f9f7802553ec23a3fb01f8c06ababe86e3a41552a2e03b30c065603e9920d5e9f8955a4e5967eee2a759a5f5d7ade9cb3fe567b1
4
- metadata.gz: 8444cd90e50b8dd6fa99fcec52d85ac761843bab954219afa126a0b1103c65ca4e4f50ae6cdb439f9f1bf668e6f5937eac64f90ee448e69b372d22d51ce4d334
5
- SHA1:
6
- data.tar.gz: 6ecfb4894d8f369743e357157a8dc84c36a733a8
7
- metadata.gz: 03247e22fb786ad0ea3622261a825cd30aaf1983
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c557c70b8ded0d0bd5392ddb4aad9b3afdcc8074
4
+ data.tar.gz: 3531e109c7c344a9e9e9b8b8cbd609b06856c417
5
+ SHA512:
6
+ metadata.gz: 01ad4161fdccee995b99c2c7ceaf826aefee63ae12bfbb2fb872be8a66b18418ffa1f351b69051909366b12ab546f3884e14c4288ebd9175ed9bd229c483d9cb
7
+ data.tar.gz: d361729db74ecd4dfb6f80f092afa72bb8b1f91baf12a118bde2caa5051ff17dec4c792d24d013e4adadc43354f8acfeef093b841c061ccc55826e15595bd01c
data/ChangeLog.markdown CHANGED
@@ -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
 
Binary file
@@ -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
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.13'
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,77 +1,94 @@
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: java
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
15
- version_requirements: &id001 !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "="
18
- - !ruby/object:Gem::Version
19
- version: 0.10.13
11
+ date: 2014-02-13 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
20
14
  name: data_objects
21
- requirement: *id001
22
- prerelease: false
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 0.10.14
23
20
  type: :runtime
24
- - !ruby/object:Gem::Dependency
25
- version_requirements: &id002 !ruby/object:Gem::Requirement
26
- requirements:
27
- - - ~>
28
- - !ruby/object:Gem::Version
29
- version: "2.5"
30
- name: rspec
31
- requirement: *id002
32
21
  prerelease: false
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'
33
34
  type: :development
34
- - !ruby/object:Gem::Dependency
35
- version_requirements: &id003 !ruby/object:Gem::Requirement
36
- requirements:
37
- - - ~>
38
- - !ruby/object:Gem::Version
39
- version: "0.7"
40
- name: rake-compiler
41
- requirement: *id003
42
35
  prerelease: false
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'
43
48
  type: :development
44
- - !ruby/object:Gem::Dependency
45
- version_requirements: &id004 !ruby/object:Gem::Requirement
46
- requirements:
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '0.7'
55
+ - !ruby/object:Gem::Dependency
56
+ name: jdbc-sqlite3
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
47
59
  - - ">="
48
- - !ruby/object:Gem::Version
60
+ - !ruby/object:Gem::Version
49
61
  version: 3.5.8
50
- name: jdbc-sqlite3
51
- requirement: *id004
52
- prerelease: false
53
62
  type: :runtime
54
- - !ruby/object:Gem::Dependency
55
- version_requirements: &id005 !ruby/object:Gem::Requirement
56
- requirements:
57
- - - "="
58
- - !ruby/object:Gem::Version
59
- version: 0.10.13
60
- name: do_jdbc
61
- requirement: *id005
62
63
  prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: 3.5.8
69
+ - !ruby/object:Gem::Dependency
70
+ name: do_jdbc
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '='
74
+ - !ruby/object:Gem::Version
75
+ version: 0.10.14
63
76
  type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '='
81
+ - !ruby/object:Gem::Version
82
+ version: 0.10.14
64
83
  description: Implements the DataObjects API for Sqlite3
65
84
  email: d.bussink@gmail.com
66
85
  executables: []
67
-
68
86
  extensions: []
69
-
70
- extra_rdoc_files:
87
+ extra_rdoc_files:
71
88
  - ChangeLog.markdown
72
89
  - LICENSE
73
90
  - README.markdown
74
- files:
91
+ files:
75
92
  - ChangeLog.markdown
76
93
  - LICENSE
77
94
  - README.markdown
@@ -85,6 +102,7 @@ files:
85
102
  - ext/do_sqlite3/error.h
86
103
  - ext/do_sqlite3/extconf.rb
87
104
  - lib/do_sqlite3.rb
105
+ - lib/do_sqlite3/do_sqlite3.jar
88
106
  - lib/do_sqlite3/transaction.rb
89
107
  - lib/do_sqlite3/version.rb
90
108
  - spec/command_spec.rb
@@ -112,34 +130,30 @@ files:
112
130
  - tasks/release.rake
113
131
  - tasks/retrieve.rake
114
132
  - tasks/spec.rake
115
- - lib/do_sqlite3/do_sqlite3.jar
116
133
  homepage:
117
134
  licenses: []
118
-
119
135
  metadata: {}
120
-
121
136
  post_install_message:
122
137
  rdoc_options: []
123
-
124
- require_paths:
138
+ require_paths:
125
139
  - lib
126
- required_ruby_version: !ruby/object:Gem::Requirement
127
- requirements:
128
- - &id006
129
- - ">="
130
- - !ruby/object:Gem::Version
131
- version: "0"
132
- required_rubygems_version: !ruby/object:Gem::Requirement
133
- requirements:
134
- - *id006
140
+ required_ruby_version: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
145
+ required_rubygems_version: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - ">="
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
135
150
  requirements: []
136
-
137
151
  rubyforge_project: dorb
138
- rubygems_version: 2.0.3
152
+ rubygems_version: 2.2.0.preview.1
139
153
  signing_key:
140
154
  specification_version: 3
141
155
  summary: DataObjects Sqlite3 Driver
142
- test_files:
156
+ test_files:
143
157
  - spec/command_spec.rb
144
158
  - spec/connection_spec.rb
145
159
  - spec/encoding_spec.rb