jdbc-helper 0.7.7 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
data/test/test_sql.rb CHANGED
@@ -2,6 +2,7 @@ require 'helper'
2
2
  SQL = JDBCHelper::SQL
3
3
  SQLPrepared = JDBCHelper::SQLPrepared
4
4
 
5
+ # @deprecated Use of JDBCHelper::SQL and JDBCHelper::SQLPrepared is deprecated
5
6
  # WARNING: tests assumes ordered hash
6
7
  class TestSQL < Test::Unit::TestCase
7
8
  def setup
@@ -11,16 +12,16 @@ class TestSQL < Test::Unit::TestCase
11
12
  end
12
13
 
13
14
  def test_value
14
- assert_equal 1, SQL.value(1)
15
- assert_equal 1.2, SQL.value(1.2)
16
- assert_equal 9999999999999999999, SQL.value(9999999999999999999)
17
- assert_equal "0.00000000000000000000009999999999999999999",
15
+ assert_equal '1', SQL.value(1)
16
+ assert_equal '1.2', SQL.value(1.2)
17
+ assert_equal '9999999999999999999', SQL.value(9999999999999999999)
18
+ assert_equal "0.00000000000000000000009999999999999999999",
18
19
  SQL.value(BigDecimal.new("0.00000000000000000000009999999999999999999"))
19
20
  assert_equal "'sysdate'", SQL.value('sysdate')
20
21
  assert_equal "'A''s'", SQL.value("A's")
21
22
  assert_equal "sysdate", SQL.value(SQL.expr('sysdate'))
22
23
 
23
- assert_raise(NotImplementedError) { SQL.value(Time.now) }
24
+ # assert_raise(NotImplementedError) { SQL.value(Time.now) }
24
25
  end
25
26
 
26
27
  def test_order
@@ -33,12 +34,12 @@ class TestSQL < Test::Unit::TestCase
33
34
  assert_equal "order by a asc", SQL.order('a asc')
34
35
  assert_equal "order by a, b asc, c desc", SQL.order(:a, 'b asc', 'c desc')
35
36
 
36
- assert_raise(ArgumentError) { SQL.order(" -- ") }
37
- assert_raise(ArgumentError) { SQL.order(:a, :b, "c 'd") }
37
+ assert_raise(SyntaxError) { SQL.order(" -- ") }
38
+ assert_raise(SyntaxError) { SQL.order(:a, :b, "c 'd") }
38
39
  end
39
40
 
40
41
  def test_complex_table_wrapper_query
41
- assert_equal "select a + b sum from test where a = 'hello' and b >= 1 and b <= 10 and c >= 1 and c < 10 and d in ('a', 'b', 'c') and e = sysdate and f is not null and g > 100 and h < 100 and i like 'ABC%' and j not like 'ABC%' and k <= sysdate order by a + b desc",
42
+ assert_equal "select a + b sum from test where a = 'hello' and b between 1 and 10 and c >= 1 and c < 10 and (d = 'a' or d = 'b' or d = 'c') and e = sysdate and f is not null and g > 100 and h < 100 and i like 'ABC%' and not (j like 'ABC%') and k <= sysdate order by a + b desc",
42
43
  JDBCHelper::TableWrapper.new(nil, :test).where(
43
44
  :a => 'hello',
44
45
  :b => (1..10),
@@ -51,20 +52,16 @@ class TestSQL < Test::Unit::TestCase
51
52
  :i => SQL.like('ABC%'),
52
53
  :j => SQL.not_like('ABC%'),
53
54
  :k => SQL.le( SQL.expr('sysdate') )
54
- ).select(
55
- SQL.expr('a + b sum')
56
- ).order(
57
- SQL.expr('a + b desc')
58
- ).sql
55
+ ).select('a + b sum').order('a + b desc').sql
59
56
  end
60
57
 
61
58
  def test_where
62
59
  assert_equal "where a = 1", SQL.where(:a => 1)
63
- assert_equal "where a = 12345678901234567890.1234567890123456789",
60
+ assert_equal "where a = 12345678901234567890.1234567890123456789",
64
61
  SQL.where(:a => BigDecimal.new("12345678901234567890.1234567890123456789"))
65
62
  assert_equal "where a = 1.2", SQL.where(:a => 1.2)
66
63
  assert_equal "where a = 9999999999999999999", SQL.where(:a => 9999999999999999999)
67
- assert_equal "where a >= 1 and a <= 2", SQL.where(:a => 1..2)
64
+ assert_equal "where a between 1 and 2", SQL.where(:a => 1..2)
68
65
  assert_equal "where a >= 1 and a < 2", SQL.where(:a => 1...2)
69
66
  assert_equal "where a = 'A''s'", SQL.where(:a => "A's")
70
67
  assert_equal "where a is null", SQL.where(:a => nil)
@@ -72,12 +69,11 @@ class TestSQL < Test::Unit::TestCase
72
69
  assert_equal "where a is not null", SQL.where(:a => SQL.not_null)
73
70
  assert_equal "where a = sysdate", SQL.where(:a => SQL.expr('sysdate'))
74
71
  assert_equal "where a = sysdate", SQL.where(:a => SQL.expr('sysdate'))
75
- assert_equal "where sysdate = sysdate", SQL.where(SQL.expr('sysdate') => SQL.expr('sysdate'))
76
- assert_equal "where a in ('aa', 'bb', 'cc')", SQL.where(:a => %w[aa bb cc])
77
- assert_equal "where a in ('aa', 'bb', 'cc', 4)", SQL.where(:a => %w[aa bb cc] + [4])
72
+ assert_equal "where sysdate = sysdate", SQL.where('sysdate' => SQL.expr('sysdate'))
73
+ assert_equal "where (a = 'aa' or a = 'bb' or a = 'cc')", SQL.where(:a => %w[aa bb cc])
74
+ assert_equal "where (a = 'aa' or a = 'bb' or a = 'cc' or a = 4)", SQL.where(:a => %w[aa bb cc] + [4])
78
75
  assert_equal "where a = 1 and b = 'A''s'", SQL.where(:a => 1, :b => "A's")
79
76
  assert_equal "where (a = 1 or b = 1)", SQL.where("a = 1 or b = 1")
80
- assert_equal "where (a = 1 or b = 1)", SQL.where(SQL.expr("a = 1 or b = 1"))
81
77
  assert_equal "where (a = 1 or b = 1) and c = 2", SQL.where("a = 1 or b = 1", :c => 2)
82
78
  assert_equal "where c = 2 and (a = 1 or b = 1)", SQL.where({:c => 2}, "a = 1 or b = 1")
83
79
  assert_equal "where c = 2 and (a = 1 or b = 1) and (e = 2) and f = 3 and (abc not like % || 'abc???' || % or def != 100 and ghi = '??') and (1 = 1)",
@@ -103,7 +99,7 @@ class TestSQL < Test::Unit::TestCase
103
99
  assert_raise(ArgumentError) { SQL.like(123) }
104
100
  assert_raise(ArgumentError) { SQL.not_like(BigDecimal.new('1.23')) }
105
101
  assert_equal "where a like 'abc'", SQL.where(:a => SQL.like('abc'))
106
- assert_equal "where a not like 'abc'", SQL.where(:a => SQL.not_like('abc'))
102
+ assert_equal "where not (a like 'abc')", SQL.where(:a => SQL.not_like('abc'))
107
103
 
108
104
  # 0.7.0: with where
109
105
  assert_equal "where a > 1", SQL.where(:a => SQL.gt(1))
@@ -112,31 +108,32 @@ class TestSQL < Test::Unit::TestCase
112
108
  assert_equal "where a <= sysdate", SQL.where(:a => SQL.le(SQL.expr 'sysdate'))
113
109
  assert_equal "where a <> 'z'", SQL.where(:a => SQL.ne(:z))
114
110
  assert_equal "where a like 'hello''%'", SQL.where(:a => SQL.like("hello'%"))
115
- assert_equal "where a not like 'hello''%'", SQL.where(:a => SQL.not_like("hello'%"))
111
+ assert_equal "where not (a like 'hello''%')", SQL.where(:a => SQL.not_like("hello'%"))
116
112
 
117
113
  # Non-primitive datatypes not implemented (TODO?)
118
- assert_raise(NotImplementedError) { SQL.where(:a => Time.now) }
119
- assert_raise(NotImplementedError) { SQL.where(5) }
120
- assert_raise(NotImplementedError) { SQL.where(Time.now) }
114
+ # assert_raise(ArgumentError) { SQL.where(:a => Time.now) }
115
+ assert_raise(ArgumentError) { SQL.where(5) }
116
+ assert_raise(ArgumentError) { SQL.where(Time.now) }
121
117
 
122
118
  # Invalid SQL detection
123
- assert_raise(ArgumentError) { SQL.where(" 'a--b' -- cde") }
124
- assert_raise(ArgumentError) { SQL.where(" 'a--b' ;") }
125
- assert_raise(ArgumentError) { SQL.where(" 'a--b' -- cde", :a => 1) }
126
- assert_raise(ArgumentError) { SQL.where(" 'a--b' -- cde", :a => 1) }
127
- assert_raise(ArgumentError) { SQL.where({:a => 1}, "/* a") }
128
- assert_raise(ArgumentError) { SQL.where(:a => SQL.expr(" 'a--b' -- cde")) }
129
- assert_raise(ArgumentError) { SQL.where(:a => SQL.expr(" 'aabbb''dd")) }
130
- assert_raise(ArgumentError) { SQL.where(:a => SQL.expr(" 'aabbb''dd' /* aaa */")) }
131
- assert_raise(ArgumentError) { SQL.where(:a => SQL.expr(' aabbb""" ')) }
132
- assert_raise(ArgumentError) { SQL.where(:a => SQL.expr(' aab`bb`` ')) }
119
+ assert_raise(SyntaxError) { SQL.where(" 'a--b' -- cde") }
120
+ assert_raise(SyntaxError) { SQL.where(" 'a--b' ;") }
121
+ assert_raise(SyntaxError) { SQL.where(" 'a--b' -- cde", :a => 1) }
122
+ assert_raise(SyntaxError) { SQL.where(" 'a--b' -- cde", :a => 1) }
123
+ assert_raise(SyntaxError) { SQL.where({:a => 1}, "/* a") }
124
+ assert_raise(SyntaxError) { SQL.where(:a => SQL.expr(" 'a--b' -- cde")) }
125
+ assert_raise(SyntaxError) { SQL.where(:a => SQL.expr(" 'aabbb''dd")) }
126
+ assert_raise(SyntaxError) { SQL.where(:a => SQL.expr(" 'aabbb''dd' /* aaa ")) }
127
+ assert_raise(SyntaxError) { SQL.where(:a => SQL.expr(" 'aabbb''dd' aaa */")) }
128
+ assert_raise(SyntaxError) { SQL.where(:a => SQL.expr(' aabbb""" ')) }
129
+ assert_raise(SyntaxError) { SQL.where(:a => SQL.expr(' aab`bb`` ')) }
133
130
  end
134
131
 
135
132
  def test_where_prepared
136
133
  assert_equal ["where a = ?", [1]], SQLPrepared.where(:a => 1)
137
134
  assert_equal ["where a = ?", [1.2]], SQLPrepared.where(:a => 1.2)
138
135
  assert_equal ["where a = ?", [9999999999999999999]], SQLPrepared.where(:a => 9999999999999999999)
139
- assert_equal ["where a >= ? and a <= ?", [1,2]], SQLPrepared.where(:a => 1..2)
136
+ assert_equal ["where a between ? and ?", [1,2]], SQLPrepared.where(:a => 1..2)
140
137
  assert_equal ["where a >= ? and a < ?", [1,2]], SQLPrepared.where(:a => 1...2)
141
138
  assert_equal ["where a = ?", ["A's"]], SQLPrepared.where(:a => "A's")
142
139
  assert_equal ["where a is null", []], SQLPrepared.where(:a => nil)
@@ -144,9 +141,9 @@ class TestSQL < Test::Unit::TestCase
144
141
  assert_equal ["where a is not null", []], SQLPrepared.where(:a => SQL.not_null)
145
142
  assert_equal ["where a = sysdate", []], SQLPrepared.where(:a => SQL.expr('sysdate'))
146
143
  assert_equal ["where a = sysdate", []], SQLPrepared.where(:a => SQL.expr('sysdate'))
147
- assert_equal ["where sysdate = sysdate", []], SQLPrepared.where(SQL.expr('sysdate') => SQL.expr('sysdate'))
148
- assert_equal ["where a in ('aa', 'bb', 'cc')", []], SQLPrepared.where(:a => %w[aa bb cc])
149
- assert_equal ["where a in ('aa', 'bb', 'cc', 4)", []], SQLPrepared.where(:a => %w[aa bb cc] + [4])
144
+ assert_equal ["where sysdate = sysdate", []], SQLPrepared.where('sysdate' => SQL.expr('sysdate'))
145
+ assert_equal ["where (a = ? or a = ? or a = ?)", ["aa", "bb", "cc"]], SQLPrepared.where(:a => %w[aa bb cc])
146
+ assert_equal ["where (a = ? or a = ? or a = ? or a = ?)", ["aa", "bb", "cc", 4]], SQLPrepared.where(:a => %w[aa bb cc] + [4])
150
147
  assert_equal ["where a = ? and b = ?", [1, "A's"]], SQLPrepared.where(:a => 1, :b => "A's")
151
148
  assert_equal ["where (a = 1 or b = 1)", []], SQLPrepared.where("a = 1 or b = 1")
152
149
  assert_equal ["where (a = 1 or b = 1) and c = ?", [2]], SQLPrepared.where("a = 1 or b = 1", :c => 2)
@@ -156,25 +153,25 @@ class TestSQL < Test::Unit::TestCase
156
153
  assert_equal ["where c = ? and (a = 1 or b = 1) and (e = 2) and f = ? and (abc not like % || ? || % or def != ?) and (1 = 1)", [2, 3, 'abc', 100]],
157
154
  SQLPrepared.where({:c => 2}, "a = 1 or b = 1", nil, "", "e = 2", nil, {:f => 3}, {},
158
155
  ["abc not like % || ? || % or def != ?", 'abc', 100], [], ['1 = 1'])
159
- assert_equal [nil, []], SQLPrepared.where(nil)
160
- assert_equal [nil, []], SQLPrepared.where(" ")
156
+ assert_equal ['', []], SQLPrepared.where(nil)
157
+ assert_equal ['', []], SQLPrepared.where(" ")
161
158
 
162
159
  # 0.7.0: with where
163
- assert_equal ["where a > ?", [1]], SQLPrepared.where(:a => SQL.gt(1))
164
- assert_equal ["where a < ?", ['z']], SQLPrepared.where(:a => SQL.lt('z'))
165
- assert_equal ["where a >= sysdate", []], SQLPrepared.where(:a => SQL.ge(SQL.expr 'sysdate'))
166
- assert_equal ["where a <= sysdate", []], SQLPrepared.where(:a => SQL.le(SQL.expr 'sysdate'))
167
- assert_equal ["where a like ?", ["hello'%"]], SQLPrepared.where(:a => SQL.like("hello'%"))
168
- assert_equal ["where a not like ?", ["hello'%"]], SQLPrepared.where(:a => SQL.not_like("hello'%"))
160
+ assert_equal ["where a > ?", [1]], SQLPrepared.where(:a => SQL.gt(1))
161
+ assert_equal ["where a < ?", ['z']], SQLPrepared.where(:a => SQL.lt('z'))
162
+ assert_equal ["where a >= sysdate", []], SQLPrepared.where(:a => SQL.ge(SQL.expr 'sysdate'))
163
+ assert_equal ["where a <= sysdate", []], SQLPrepared.where(:a => SQL.le(SQL.expr 'sysdate'))
164
+ assert_equal ["where a like ?", ["hello'%"]], SQLPrepared.where(:a => SQL.like("hello'%"))
165
+ assert_equal ["where not (a like ?)", ["hello'%"]], SQLPrepared.where(:a => SQL.not_like("hello'%"))
169
166
  end
170
167
 
171
168
  def test_select
172
169
  assert_equal "select * from a.b", SQL.select('a.b')
173
170
  assert_equal "select aa, bb from a.b where a is not null",
174
171
  SQL.select('a.b', :select => %w[aa bb], :where => {:a => SQL.not_nil})
175
- assert_equal "select aa, bb from a.b where a is not null and b >= 1 and b <= 10 order by cc, dd",
172
+ assert_equal "select aa, bb from a.b where a is not null and b between 1 and 10 order by cc, dd",
176
173
  SQL.select('a.b',
177
- :select => %w[aa bb],
174
+ :select => %w[aa bb],
178
175
  :where => {:a => SQL.not_null, :b => (1..10)},
179
176
  :order => %w[cc dd]
180
177
  )
@@ -197,10 +194,10 @@ class TestSQL < Test::Unit::TestCase
197
194
  end
198
195
 
199
196
  def test_update
200
- assert_equal "update a.b set a = 1, b = 'A''s', c = now()",
197
+ assert_equal "update a.b set a = 1, b = 'A''s', c = now()",
201
198
  SQL.update('a.b', {:a => 1, :b => "A's", :c => SQL.expr('now()')}, {})
202
199
 
203
- assert_equal "update a.b set a = 1, b = 'A''s', c = now() where a is not null",
200
+ assert_equal "update a.b set a = 1, b = 'A''s', c = now() where a is not null",
204
201
  SQL.update('a.b', {:a => 1, :b => "A's", :c => SQL.expr('now()')}, { :a => SQL.not_nil })
205
202
 
206
203
  assert_equal ["update a.b set a = ?, b = ?, c = now()", [1, "A's"]],
@@ -222,12 +219,12 @@ class TestSQL < Test::Unit::TestCase
222
219
 
223
220
  def test_sql_expression_equality
224
221
  # Backward-compatibility
225
- assert_equal "a = b", JDBCHelper.SQL('a = b').to_s
222
+ # assert_equal "a = b", JDBCHelper.SQL('a = b').to_s
226
223
  assert_equal JDBCHelper.SQL('a = b'), JDBCHelper.SQL('a = b')
227
224
 
228
225
  # type conversion across ==, but not across eql (TODO TBD)
229
226
  assert JDBCHelper.SQL('a = b') == (JDBCHelper.SQL('a = b'))
230
- assert JDBCHelper.SQL('a = b') == 'a = b'
227
+ # assert JDBCHelper.SQL('a = b') == 'a = b'
231
228
  assert JDBCHelper.SQL('a = b').eql?(JDBCHelper.SQL('a = b'))
232
229
  assert_equal JDBCHelper.SQL('a = b').hash, JDBCHelper.SQL('a = b').hash
233
230
  assert_false JDBCHelper.SQL('a = b').eql?('a = b')
@@ -235,7 +232,7 @@ class TestSQL < Test::Unit::TestCase
235
232
  assert JDBCHelper.SQL('a = b') != JDBCHelper.SQL('a = c')
236
233
 
237
234
  h = {}
238
- h[SQL.expr 'a = b'] = 1
235
+ h[SQL.expr 'a = b'] = 1
239
236
  h[SQL.expr 'a = b'] = 2
240
237
  assert_equal 1, h.keys.length
241
238
  assert_equal 2, h[SQL.expr 'a = b']
metadata CHANGED
@@ -2,46 +2,60 @@
2
2
  name: jdbc-helper
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.7.7
5
+ version: 0.8.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Junegunn Choi
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-14 00:00:00.000000000 Z
12
+ date: 2013-06-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: insensitive_hash
16
16
  version_requirements: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ! '>='
18
+ - - '>='
19
19
  - !ruby/object:Gem::Version
20
20
  version: 0.2.4
21
21
  none: false
22
22
  requirement: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.2.4
27
27
  none: false
28
28
  prerelease: false
29
29
  type: :runtime
30
+ - !ruby/object:Gem::Dependency
31
+ name: sql_helper
32
+ version_requirements: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ~>
35
+ - !ruby/object:Gem::Version
36
+ version: 0.1.1
37
+ none: false
38
+ requirement: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ~>
41
+ - !ruby/object:Gem::Version
42
+ version: 0.1.1
43
+ none: false
44
+ prerelease: false
45
+ type: :runtime
30
46
  - !ruby/object:Gem::Dependency
31
47
  name: bundler
32
48
  version_requirements: !ruby/object:Gem::Requirement
33
49
  requirements:
34
- - - ! '>='
50
+ - - '>='
35
51
  - !ruby/object:Gem::Version
36
- version: !binary |-
37
- MA==
52
+ version: '0'
38
53
  none: false
39
54
  requirement: !ruby/object:Gem::Requirement
40
55
  requirements:
41
- - - ! '>='
56
+ - - '>='
42
57
  - !ruby/object:Gem::Version
43
- version: !binary |-
44
- MA==
58
+ version: '0'
45
59
  none: false
46
60
  prerelease: false
47
61
  type: :development
@@ -49,17 +63,15 @@ dependencies:
49
63
  name: simplecov
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
- - - ! '>='
66
+ - - '>='
53
67
  - !ruby/object:Gem::Version
54
- version: !binary |-
55
- MA==
68
+ version: '0'
56
69
  none: false
57
70
  requirement: !ruby/object:Gem::Requirement
58
71
  requirements:
59
- - - ! '>='
72
+ - - '>='
60
73
  - !ruby/object:Gem::Version
61
- version: !binary |-
62
- MA==
74
+ version: '0'
63
75
  none: false
64
76
  prerelease: false
65
77
  type: :development
@@ -67,17 +79,15 @@ dependencies:
67
79
  name: test-unit
68
80
  version_requirements: !ruby/object:Gem::Requirement
69
81
  requirements:
70
- - - ! '>='
82
+ - - '>='
71
83
  - !ruby/object:Gem::Version
72
- version: !binary |-
73
- MA==
84
+ version: '0'
74
85
  none: false
75
86
  requirement: !ruby/object:Gem::Requirement
76
87
  requirements:
77
- - - ! '>='
88
+ - - '>='
78
89
  - !ruby/object:Gem::Version
79
- version: !binary |-
80
- MA==
90
+ version: '0'
81
91
  none: false
82
92
  prerelease: false
83
93
  type: :development
@@ -89,10 +99,10 @@ extensions: []
89
99
  extra_rdoc_files: []
90
100
  files:
91
101
  - .gitignore
92
- - CHANGELOG.markdown
102
+ - CHANGELOG.md
93
103
  - Gemfile
94
104
  - LICENSE.txt
95
- - README.markdown
105
+ - README.md
96
106
  - Rakefile
97
107
  - VERSION
98
108
  - jdbc-helper.gemspec
@@ -101,17 +111,19 @@ files:
101
111
  - lib/jdbc-helper/connection/callable_statement.rb
102
112
  - lib/jdbc-helper/connection/parameterized_statement.rb
103
113
  - lib/jdbc-helper/connection/prepared_statement.rb
104
- - lib/jdbc-helper/connection/result_set_enumerator.rb
114
+ - lib/jdbc-helper/connection/result_set.rb
105
115
  - lib/jdbc-helper/connection/row.rb
106
116
  - lib/jdbc-helper/connection/statement_pool.rb
107
117
  - lib/jdbc-helper/connection/type_map.rb
108
118
  - lib/jdbc-helper/connector.rb
109
119
  - lib/jdbc-helper/connector/cassandra.rb
110
120
  - lib/jdbc-helper/connector/filemaker.rb
121
+ - lib/jdbc-helper/connector/mariadb.rb
111
122
  - lib/jdbc-helper/connector/mssql.rb
112
123
  - lib/jdbc-helper/connector/mysql.rb
113
124
  - lib/jdbc-helper/connector/oracle.rb
114
125
  - lib/jdbc-helper/connector/postgresql.rb
126
+ - lib/jdbc-helper/connector/sqlite.rb
115
127
  - lib/jdbc-helper/constants.rb
116
128
  - lib/jdbc-helper/sql.rb
117
129
  - lib/jdbc-helper/sql/expression.rb
@@ -129,6 +141,7 @@ files:
129
141
  - test/test_connection.rb
130
142
  - test/test_connectors.rb
131
143
  - test/test_object_wrapper.rb
144
+ - test/test_object_wrapper_0.7.rb
132
145
  - test/test_sql.rb
133
146
  - test/testrb
134
147
  homepage: https://github.com/junegunn/jdbc-helper
@@ -139,17 +152,15 @@ require_paths:
139
152
  - lib
140
153
  required_ruby_version: !ruby/object:Gem::Requirement
141
154
  requirements:
142
- - - ! '>='
155
+ - - '>='
143
156
  - !ruby/object:Gem::Version
144
- version: !binary |-
145
- MA==
157
+ version: '0'
146
158
  none: false
147
159
  required_rubygems_version: !ruby/object:Gem::Requirement
148
160
  requirements:
149
- - - ! '>='
161
+ - - '>='
150
162
  - !ruby/object:Gem::Version
151
- version: !binary |-
152
- MA==
163
+ version: '0'
153
164
  none: false
154
165
  requirements: []
155
166
  rubyforge_project:
@@ -164,5 +175,6 @@ test_files:
164
175
  - test/test_connection.rb
165
176
  - test/test_connectors.rb
166
177
  - test/test_object_wrapper.rb
178
+ - test/test_object_wrapper_0.7.rb
167
179
  - test/test_sql.rb
168
180
  - test/testrb