pg_query_pg_ddm 0.2 → 0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/pg_query/extconf.rb +1 -1
- data/lib/pg_query/deparse.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9783bc0c3d779e2a2b262d2d9f28d78445e47f926766a83c8a6956c74fe2002a
|
4
|
+
data.tar.gz: 568336bc9f418ab16023c636cc1bee2660a9a74b65659f801f97915d9da215dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 515131344ad73fb9a0281534b78a5ed18388de64ec15162ac740b1d966f143530456e9058593339af46ee071413fe4b4d73e4bf22125099356d17b36bc402196
|
7
|
+
data.tar.gz: ed62da64c5ae51ad2d58dd973a24e50bd6f54e4ebe89cea40858de6ac8338070734009ec9bad413e89abc4a0d493f3fded22759f04182f802730a2eda7c2921d
|
data/ext/pg_query/extconf.rb
CHANGED
data/lib/pg_query/deparse.rb
CHANGED
@@ -314,7 +314,7 @@ class PgQuery
|
|
314
314
|
if node['indirection']
|
315
315
|
array_indirection = node['indirection'].select { |a| a.key?(A_INDICES) }
|
316
316
|
end
|
317
|
-
output << if node['arg'].key?(FUNC_CALL) || (node['arg'].key?(SUB_LINK) && array_indirection.count.zero?)
|
317
|
+
output << if node['arg'].key?(FUNC_CALL) || node['arg'].key?(A_EXPR) || (node['arg'].key?(SUB_LINK) && array_indirection.count.zero?)
|
318
318
|
"(#{arg})."
|
319
319
|
else
|
320
320
|
arg
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg_query_pg_ddm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.3'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mehmet Emin KARAKAŞ
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-compiler
|
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
127
|
version: '0'
|
128
128
|
requirements: []
|
129
129
|
rubyforge_project:
|
130
|
-
rubygems_version: 2.7.
|
130
|
+
rubygems_version: 2.7.6
|
131
131
|
signing_key:
|
132
132
|
specification_version: 4
|
133
133
|
summary: PostgreSQL query parsing and normalization library
|