simpleOracleJDBC 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/simple_oracle_jdbc/interface.rb +1 -1
- data/test/binding_test.rb +8 -0
- metadata +47 -30
data/test/binding_test.rb
CHANGED
@@ -220,5 +220,13 @@ class BindingTest < Test::Unit::TestCase
|
|
220
220
|
assert_equal(results[0][0], nil)
|
221
221
|
end
|
222
222
|
|
223
|
+
def test_unknown_data_type_from_sql_raises_exeception
|
224
|
+
sql = @interface.execute_sql("select cast('hello there' as nvarchar2(1000)) from dual")
|
225
|
+
assert_raises SimpleOracleJDBC::UnknownSQLType do
|
226
|
+
results = sql.all_array
|
227
|
+
end
|
228
|
+
end
|
229
|
+
|
230
|
+
|
223
231
|
|
224
232
|
end
|
metadata
CHANGED
@@ -1,62 +1,79 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simpleOracleJDBC
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
4
|
+
prerelease:
|
5
|
+
version: 0.1.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Stephen O'Donnell
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-04-12 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
|
-
description: A lightweight wrapper around the JDBC interface to make it easier to
|
15
|
-
make SQL and stored procedure calls.
|
14
|
+
description: A lightweight wrapper around the JDBC interface to make it easier to make SQL and stored procedure calls.
|
16
15
|
email: stephen@betteratoracle.com
|
17
16
|
executables: []
|
18
17
|
extensions: []
|
19
18
|
extra_rdoc_files:
|
20
19
|
- README.md
|
21
20
|
files:
|
22
|
-
-
|
23
|
-
|
24
|
-
-
|
25
|
-
|
26
|
-
-
|
27
|
-
|
28
|
-
-
|
29
|
-
|
30
|
-
-
|
31
|
-
|
32
|
-
-
|
33
|
-
|
34
|
-
-
|
35
|
-
|
36
|
-
-
|
37
|
-
|
21
|
+
- !binary |-
|
22
|
+
dGVzdC9iaW5kaW5nX3Rlc3QucmI=
|
23
|
+
- !binary |-
|
24
|
+
dGVzdC9kYl9jYWxsX3Rlc3QucmI=
|
25
|
+
- !binary |-
|
26
|
+
dGVzdC9oZWxwZXIucmI=
|
27
|
+
- !binary |-
|
28
|
+
dGVzdC9pbnRlcmZhY2VfdGVzdC5yYg==
|
29
|
+
- !binary |-
|
30
|
+
dGVzdC9yZXN1bHRfc2V0X3Rlc3QucmI=
|
31
|
+
- !binary |-
|
32
|
+
dGVzdC9zcWxfdGVzdC5yYg==
|
33
|
+
- !binary |-
|
34
|
+
dGVzdC90ZXN0X3J1bm5lci5yYg==
|
35
|
+
- !binary |-
|
36
|
+
bGliL3NpbXBsZV9vcmFjbGVfamRiYy5yYg==
|
37
|
+
- !binary |-
|
38
|
+
bGliL3NpbXBsZV9vcmFjbGVfamRiYy8jYmluZGluZ3MucmIj
|
39
|
+
- !binary |-
|
40
|
+
bGliL3NpbXBsZV9vcmFjbGVfamRiYy9iaW5kaW5ncy5yYg==
|
41
|
+
- !binary |-
|
42
|
+
bGliL3NpbXBsZV9vcmFjbGVfamRiYy9kYl9jYWxsLnJi
|
43
|
+
- !binary |-
|
44
|
+
bGliL3NpbXBsZV9vcmFjbGVfamRiYy9pbnRlcmZhY2UucmI=
|
45
|
+
- !binary |-
|
46
|
+
bGliL3NpbXBsZV9vcmFjbGVfamRiYy9yZXN1bHRfc2V0LnJi
|
47
|
+
- !binary |-
|
48
|
+
bGliL3NpbXBsZV9vcmFjbGVfamRiYy9zcWwucmI=
|
49
|
+
- !binary |-
|
50
|
+
UmFrZWZpbGUucmI=
|
51
|
+
- !binary |-
|
52
|
+
UkVBRE1FLm1k
|
38
53
|
homepage: http://betteratoracle.com
|
39
54
|
licenses: []
|
40
|
-
post_install_message:
|
55
|
+
post_install_message:
|
41
56
|
rdoc_options: []
|
42
57
|
require_paths:
|
43
58
|
- lib
|
44
59
|
required_ruby_version: !ruby/object:Gem::Requirement
|
45
|
-
none: false
|
46
60
|
requirements:
|
47
61
|
- - ! '>='
|
48
62
|
- !ruby/object:Gem::Version
|
49
|
-
version:
|
50
|
-
|
63
|
+
version: !binary |-
|
64
|
+
MA==
|
51
65
|
none: false
|
66
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
52
67
|
requirements:
|
53
68
|
- - ! '>='
|
54
69
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
70
|
+
version: !binary |-
|
71
|
+
MA==
|
72
|
+
none: false
|
56
73
|
requirements: []
|
57
|
-
rubyforge_project:
|
58
|
-
rubygems_version: 1.8.
|
59
|
-
signing_key:
|
74
|
+
rubyforge_project:
|
75
|
+
rubygems_version: 1.8.25
|
76
|
+
signing_key:
|
60
77
|
specification_version: 3
|
61
78
|
summary: A gem to simplify JDBC database access to Oracle when using JRuby
|
62
79
|
test_files: []
|