db_meta 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/db_meta/oracle/types/queue.rb +9 -2
- data/lib/db_meta/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8af8c9828d78095e769498eb0389f09e36d0796c
|
4
|
+
data.tar.gz: db7a466e96a26ebe18d7219b4715775054d8e769
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 328758701fc3d2b6668a900bb143dbbe7487bd002c12b3918591ff583146d4179704223ed2cef58fb7e543936611b558c23c5f91f2e3ec906fb4e4e134dac556
|
7
|
+
data.tar.gz: 92faa339f92c15bf9fe7a909865d93e721905c326db70d2be1b52fbba87d4993fc93e8467c3d567ca0b6add1063a8a02174d2045a17300177d2a1072b71de7d7
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -34,8 +34,8 @@ module DbMeta
|
|
34
34
|
buffer << 'begin'
|
35
35
|
buffer << ' dbms_aqadm.create_queue_table('
|
36
36
|
buffer << " queue_table => '#{@queue_table}',"
|
37
|
-
buffer << " queue_payload_type => '#{@payload_type}'"
|
38
|
-
buffer << " sort_list => '#{
|
37
|
+
buffer << " queue_payload_type => '#{@payload_type}',"
|
38
|
+
buffer << " sort_list => '#{sort_order_translated}',"
|
39
39
|
buffer << " compatible => '#{@compatible}'"
|
40
40
|
buffer << ' );'
|
41
41
|
buffer << 'end;'
|
@@ -69,6 +69,13 @@ module DbMeta
|
|
69
69
|
buffer.join("\n")
|
70
70
|
end
|
71
71
|
|
72
|
+
private
|
73
|
+
|
74
|
+
def sort_order_translated
|
75
|
+
# ENQUEUE_TIME => ENQ_TIME, seems to be inconsistent from Oracle
|
76
|
+
@sort_order.gsub('ENQUEUE_TIME','ENQ_TIME')
|
77
|
+
end
|
78
|
+
|
72
79
|
end
|
73
80
|
end
|
74
81
|
end
|
data/lib/db_meta/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: db_meta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|