oci8_simple 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/Rakefile +3 -1
- data/VERSION +1 -1
- data/lib/oci8_simple/client.rb +2 -1
- data/test/client_test.rb +12 -0
- metadata +4 -4
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
@@ -36,7 +36,9 @@ end
|
|
36
36
|
desc "Release the gem to rubygems.org"
|
37
37
|
task :release => :build do
|
38
38
|
version = File.read(File.expand_path("../VERSION", __FILE__)).strip
|
39
|
+
`git tag -a v#{version} -m "tagging #{version}"`
|
40
|
+
`git push --tags`
|
39
41
|
ourgem = "oci8_simple-#{version}.gem"
|
40
|
-
|
42
|
+
`gem push #{ourgem}`
|
41
43
|
end
|
42
44
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.2
|
data/lib/oci8_simple/client.rb
CHANGED
data/test/client_test.rb
CHANGED
@@ -31,6 +31,18 @@ class ClientTest < Test::Unit::TestCase
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
end
|
34
|
+
context "Running a procedure with nil return" do
|
35
|
+
setup do
|
36
|
+
@client = Oci8Simple::Client.new("test")
|
37
|
+
@client.conn.expects(:exec).yields(nil)
|
38
|
+
end
|
39
|
+
should "not raise an exception" do
|
40
|
+
assert_nothing_raised do
|
41
|
+
@client.run("A NOOP")
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
34
46
|
context "Given a table" do
|
35
47
|
setup do
|
36
48
|
@client = Oci8Simple::Client.new("test")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oci8_simple
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-06-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ruby-oci8
|
@@ -78,7 +78,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
78
78
|
version: '0'
|
79
79
|
segments:
|
80
80
|
- 0
|
81
|
-
hash:
|
81
|
+
hash: -4565524330145410759
|
82
82
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
87
|
version: '0'
|
88
88
|
segments:
|
89
89
|
- 0
|
90
|
-
hash:
|
90
|
+
hash: -4565524330145410759
|
91
91
|
requirements: []
|
92
92
|
rubyforge_project:
|
93
93
|
rubygems_version: 1.8.25
|