do_sqlite3 0.10.14-x86-mswin32-60 → 0.10.15-x86-mswin32-60

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: a26a1ee058d265a6c613402f7e3cbabe4c6d05e0
4
- data.tar.gz: 0ea32db935b779c78af7e26e46c953c0a81b9fc9
3
+ metadata.gz: 6de65fddd8d1bb4a8bea34dbc11d0d4305810224
4
+ data.tar.gz: e90188ce14b9d98327af76eaf30733a218c8e8de
5
5
  SHA512:
6
- metadata.gz: 985b75a2c5965bf9d4561cf6e6365579f7ccddf114b505cb24c1b989923dafafcc404c9ce28e437f659ab508d134f1d7788e25cc4db4163964424a761c86847c
7
- data.tar.gz: 8f44e0a91bca8ffbcf8d8db4b2ac0efc4b39d003a23b34480af5d3b9dc02777a0a7560d065ba82100f373870b1470a9896c1bbee2372a60c492fab4f67cfeb17
6
+ metadata.gz: c1684334202bdead9e0d14a6ce85bb0a7ffc07aa95c94b545f8b477f7bd217aabf940278a7cd7508a434ab54b8051fc5812b815078396f89592291a5311eef17
7
+ data.tar.gz: 6e36326efc05008d57efb6fdc1cf05c66c983f2e60b996aae99b16093142f563750648c2785687542f064cfe2184419e8fdc8861b4d642336b5fd8c0b09fc78e
data/ChangeLog.markdown CHANGED
@@ -1,3 +1,8 @@
1
+ ## 0.10.15 2015-02-15
2
+
3
+ * Ruby 2.2 support
4
+ * Windows support on 2.1.x and 2.2.x
5
+
1
6
  ## 0.10.14 2014-02-13
2
7
 
3
8
  * Don't do DNS lookup in transaction loading
@@ -63,7 +63,7 @@ void data_objects_debug(VALUE connection, VALUE string, struct timeval *start) {
63
63
  rb_funcall(connection, DO_ID_LOG, 1, message);
64
64
  }
65
65
 
66
- void data_objects_raise_error(VALUE self, const struct errcodes *errors, int errnum, const char *message, VALUE query, VALUE state) {
66
+ void data_objects_raise_error(VALUE self, const struct errcodes *errors, int errnum, VALUE message, VALUE query, VALUE state) {
67
67
  const char *exception_type = "SQLError";
68
68
  const struct errcodes *e;
69
69
  VALUE uri, exception;
@@ -82,7 +82,7 @@ void data_objects_raise_error(VALUE self, const struct errcodes *errors, int err
82
82
  data_objects_const_get(mDO, exception_type),
83
83
  DO_ID_NEW,
84
84
  5,
85
- rb_str_new2(message),
85
+ message,
86
86
  INT2NUM(errnum),
87
87
  state,
88
88
  query,
@@ -123,7 +123,7 @@ static inline void data_objects_define_errors(VALUE scope, const struct errcodes
123
123
  }
124
124
  }
125
125
 
126
- extern void data_objects_raise_error(VALUE self, const struct errcodes *errors, int errnum, const char *message, VALUE query, VALUE state);
126
+ extern void data_objects_raise_error(VALUE self, const struct errcodes *errors, int errnum, VALUE message, VALUE query, VALUE state);
127
127
 
128
128
  extern VALUE data_objects_typecast(const char *value, long length, const VALUE type, int encoding);
129
129
 
@@ -17,7 +17,7 @@ VALUE DO_OPEN_FLAG_FULL_MUTEX;
17
17
 
18
18
  void do_sqlite3_raise_error(VALUE self, sqlite3 *result, VALUE query) {
19
19
  int errnum = sqlite3_errcode(result);
20
- const char *message = sqlite3_errmsg(result);
20
+ VALUE message = rb_str_new2(sqlite3_errmsg(result));
21
21
  VALUE sql_state = rb_str_new2("");
22
22
 
23
23
  data_objects_raise_error(self, do_sqlite3_errors, errnum, message, query, sql_state);
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  module DataObjects
2
2
  module Sqlite3
3
- VERSION = '0.10.14'
3
+ VERSION = '0.10.15'
4
4
  end
5
5
  end
data/tasks/compile.rake CHANGED
@@ -57,7 +57,7 @@ begin
57
57
  ext.classpath = '../do_jdbc/lib/do_jdbc_internal.jar'
58
58
  ext.java_compiling do |gem|
59
59
  gem.add_dependency 'jdbc-sqlite3', '>=3.5.8'
60
- gem.add_dependency 'do_jdbc', '0.10.14'
60
+ gem.add_dependency 'do_jdbc', '0.10.15'
61
61
  end
62
62
  end
63
63
  rescue LoadError
data/tasks/release.rake CHANGED
@@ -3,7 +3,7 @@ task :build_all do
3
3
  `rake clean`
4
4
  `rake build`
5
5
  `rake java gem`
6
- `rake cross native gem RUBY_CC_VERSION=1.8.7:1.9.3:2.0.0`
6
+ `rake cross native gem RUBY_CC_VERSION=1.8.7:1.9.3:2.0.0:2.1.5:2.2.0`
7
7
  end
8
8
 
9
9
  desc 'Release all gems (native, binaries for JRuby and Windows)'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: do_sqlite3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.14
4
+ version: 0.10.15
5
5
  platform: x86-mswin32-60
6
6
  authors:
7
7
  - Dirkjan Bussink
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-13 00:00:00.000000000 Z
11
+ date: 2015-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: data_objects
@@ -16,40 +16,40 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.10.14
19
+ version: 0.10.15
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.10.14
26
+ version: 0.10.15
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '2.5'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: '2.5'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake-compiler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0.7'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0.7'
55
55
  description: Implements the DataObjects API for Sqlite3
@@ -74,9 +74,6 @@ files:
74
74
  - ext/do_sqlite3/error.h
75
75
  - ext/do_sqlite3/extconf.rb
76
76
  - lib/do_sqlite3.rb
77
- - lib/do_sqlite3/1.8/do_sqlite3.so
78
- - lib/do_sqlite3/1.9/do_sqlite3.so
79
- - lib/do_sqlite3/2.0/do_sqlite3.so
80
77
  - lib/do_sqlite3/transaction.rb
81
78
  - lib/do_sqlite3/version.rb
82
79
  - spec/command_spec.rb
@@ -104,6 +101,11 @@ files:
104
101
  - tasks/release.rake
105
102
  - tasks/retrieve.rake
106
103
  - tasks/spec.rake
104
+ - lib/do_sqlite3/1.8/do_sqlite3.so
105
+ - lib/do_sqlite3/1.9/do_sqlite3.so
106
+ - lib/do_sqlite3/2.0/do_sqlite3.so
107
+ - lib/do_sqlite3/2.1/do_sqlite3.so
108
+ - lib/do_sqlite3/2.2/do_sqlite3.so
107
109
  homepage:
108
110
  licenses: []
109
111
  metadata: {}
@@ -130,17 +132,17 @@ require_paths:
130
132
  - lib
131
133
  required_ruby_version: !ruby/object:Gem::Requirement
132
134
  requirements:
133
- - - ">="
135
+ - - '>='
134
136
  - !ruby/object:Gem::Version
135
137
  version: '0'
136
138
  required_rubygems_version: !ruby/object:Gem::Requirement
137
139
  requirements:
138
- - - ">="
140
+ - - '>='
139
141
  - !ruby/object:Gem::Version
140
142
  version: '0'
141
143
  requirements: []
142
144
  rubyforge_project: dorb
143
- rubygems_version: 2.2.0.preview.1
145
+ rubygems_version: 2.0.14
144
146
  signing_key:
145
147
  specification_version: 3
146
148
  summary: DataObjects Sqlite3 Driver