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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 37ac1f01fa733dc13d3fad94e9a4d4d980dd7dc9
4
- data.tar.gz: a3db2e598447e2527129d62eefccff737ec0c509
3
+ metadata.gz: 8af8c9828d78095e769498eb0389f09e36d0796c
4
+ data.tar.gz: db7a466e96a26ebe18d7219b4715775054d8e769
5
5
  SHA512:
6
- metadata.gz: 109f3778ae2a9568144569eca4a2409c8675a72a9ed2477be2250761b37be6fd045ccc7d62bd9011cc9627a4cd6e3ba9b73d9318da3835810920c4d74681b7cb
7
- data.tar.gz: 9f6cc8f853a9f1ba6a4b54650934a0c2b313b5633787e3572a7a0f29d798f3872915ff414c95025ee3e19db7de231c2e01e49812ce186077eba5595b199ae14d
6
+ metadata.gz: 328758701fc3d2b6668a900bb143dbbe7487bd002c12b3918591ff583146d4179704223ed2cef58fb7e543936611b558c23c5f91f2e3ec906fb4e4e134dac556
7
+ data.tar.gz: 92faa339f92c15bf9fe7a909865d93e721905c326db70d2be1b52fbba87d4993fc93e8467c3d567ca0b6add1063a8a02174d2045a17300177d2a1072b71de7d7
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.2.4 / 2017-11-24
2
+
3
+ * Edit: sort order: ENQUEUE_TIME => ENQ_TIME
4
+
1
5
  ## 0.2.2 / 2017-11-15
2
6
 
3
7
  * Edit: create or replace for functions and procedures
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- db_meta (0.2.3)
4
+ db_meta (0.2.4)
5
5
  ruby-oci8 (~> 2.2)
6
6
 
7
7
  GEM
@@ -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 => '#{@sort_order}',"
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
@@ -1,3 +1,3 @@
1
1
  module DbMeta
2
- VERSION = '0.2.3'
2
+ VERSION = '0.2.4'
3
3
  end
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.3
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-21 00:00:00.000000000 Z
11
+ date: 2017-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler