ruby-plsql 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ == 0.1.5 2008-06-13
2
+
3
+ * Bug fixes
4
+ * Fixed bug when ruby-plsql was not finding packages on Oracle 10.2 Enterprise Edition where all_procedures view
5
+ behaves differently than on Oracle XE and other previous versions
6
+
1
7
  == 0.1.4 2008-04-18
2
8
 
3
9
  * Bug fixes
@@ -3,10 +3,10 @@ module PLSQL
3
3
  module ProcedureClassMethods
4
4
  def find(schema, procedure, package = nil)
5
5
  if package.nil? && schema.select_first("
6
- SELECT object_name FROM all_procedures
6
+ SELECT object_name FROM all_objects
7
7
  WHERE owner = :owner
8
8
  AND object_name = :object_name
9
- AND procedure_name IS NULL
9
+ AND object_type IN ('PROCEDURE','FUNCTION')
10
10
  ", schema.schema_name, procedure.to_s.upcase)
11
11
  new(schema, procedure)
12
12
  elsif package && schema.select_first("
@@ -2,7 +2,7 @@ module RubyPlsql #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 4
5
+ TINY = 5
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/website/index.html CHANGED
@@ -33,7 +33,7 @@
33
33
  <h1>Ruby API for PL/SQL</h1>
34
34
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/ruby-plsql"; return false'>
35
35
  <p>Get Version</p>
36
- <a href="http://rubyforge.org/projects/ruby-plsql" class="numbers">0.1.4</a>
36
+ <a href="http://rubyforge.org/projects/ruby-plsql" class="numbers">0.1.5</a>
37
37
  </div>
38
38
  <h1>&#x2192; &#8216;ruby-plsql&#8217;</h1>
39
39
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-plsql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Raimonds Simanovskis
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-04-18 00:00:00 +03:00
12
+ date: 2008-06-15 00:00:00 +03:00
13
13
  default_executable:
14
14
  dependencies: []
15
15