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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7322f22d506002df497fd3b838613aa495513579e945f40dc6e35bafa625c38b
4
- data.tar.gz: 7652cfab5c24f0fe257f23d7e9904f5d1355b199f8fcea050ca3cc034b22f2b3
3
+ metadata.gz: 9783bc0c3d779e2a2b262d2d9f28d78445e47f926766a83c8a6956c74fe2002a
4
+ data.tar.gz: 568336bc9f418ab16023c636cc1bee2660a9a74b65659f801f97915d9da215dc
5
5
  SHA512:
6
- metadata.gz: 6934004d7995a3f15fe80a8d92d832ffb390080432b001c92624a57df5b284fdd813ef05f5a3556e52fbcb22692bd395770491113aa54bc75bac1b8d51d98c62
7
- data.tar.gz: 9091196907bf11af9aa257c5c7721c526c8059b0b90f2487c29e1d9687a016c578556c20e54963c876796ca499c46ab92b59657da87a5bb959ef2c750b71e4b5
6
+ metadata.gz: 515131344ad73fb9a0281534b78a5ed18388de64ec15162ac740b1d966f143530456e9058593339af46ee071413fe4b4d73e4bf22125099356d17b36bc402196
7
+ data.tar.gz: ed62da64c5ae51ad2d58dd973a24e50bd6f54e4ebe89cea40858de6ac8338070734009ec9bad413e89abc4a0d493f3fded22759f04182f802730a2eda7c2921d
@@ -3,7 +3,7 @@
3
3
  require 'mkmf'
4
4
  require 'open-uri'
5
5
 
6
- LIB_PG_QUERY_TAG = '10-1.0.1'.freeze
6
+ LIB_PG_QUERY_TAG = '10-1.0.3'.freeze
7
7
 
8
8
  workdir = Dir.pwd
9
9
  libdir = File.join(workdir, 'libpg_query-' + LIB_PG_QUERY_TAG)
@@ -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.2'
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-10-30 00:00:00.000000000 Z
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.9
130
+ rubygems_version: 2.7.6
131
131
  signing_key:
132
132
  specification_version: 4
133
133
  summary: PostgreSQL query parsing and normalization library