sequel_oracle_extensions 0.6.1 → 0.6.2
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/VERSION +1 -1
- data/lib/sequel/oracle_extensions/schemata.rb +7 -4
- data/sequel_oracle_extensions.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.2
|
@@ -116,15 +116,18 @@ module Sequel
|
|
116
116
|
key = outm[row[:index_name]]
|
117
117
|
unless subhash = hash[key]
|
118
118
|
subhash = hash[key] = {
|
119
|
-
:columns=>[], :unique=>(row[:uniqueness]=='UNIQUE'),
|
120
|
-
:db_type=>row[:index_type], :
|
119
|
+
:columns=>[], :unique=>(row[:uniqueness]=='UNIQUE'),
|
120
|
+
:db_type=>row[:index_type], :logging=>(row[:logging]=='YES'),
|
121
121
|
:parallel=>(row[:degree]!='1' || row[:instances]!='1'),
|
122
122
|
:tablespace=>outm[row[:tablespace_name]], :partitioned=>(row[:partitioned]=='YES'),
|
123
123
|
:visible=>(row[:visibility]=='VISIBLE'), :compress=>(row[:compression]!='DISABLED')
|
124
124
|
}
|
125
|
-
case subhash[:db_type]
|
126
|
-
|
125
|
+
case subhash[:db_type]
|
126
|
+
when /\b(BITMAP|NORMAL|DOMAIN)$/
|
127
|
+
subhash[:type] = $1.downcase.intern
|
127
128
|
end
|
129
|
+
subhash[:function_based] = true if /^FUNCTION-BASED\b/ === subhash[:db_type]
|
130
|
+
subhash[:valid] = (row[:status]=='VALID') unless row[:status]=='N/A'
|
128
131
|
if row[:join_index]=='YES'
|
129
132
|
join_indexes << row[:index_name]
|
130
133
|
subhash[:join] = []
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sequel_oracle_extensions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 2
|
10
|
+
version: 0.6.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Joe Khoobyar
|