gda 1.1.3 → 1.1.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 249c2a0b4052ce8966703bb9e64523efdcc6efb8fa811e2ec615673d95e40c28
4
- data.tar.gz: 19e8a69b6aeda5bceac5b682329ada312d25133fcb9ac42ab98396239420768c
3
+ metadata.gz: f4298536cd642a7d8032fd0e324e0c34d814ff1182175d754ca541b86bb1b640
4
+ data.tar.gz: b7eea0346144b0abebf55d42a25eb514fbbe0a9f81b37bfd821ed85d2327a448
5
5
  SHA512:
6
- metadata.gz: 42f1ec2a4b005c76434ac414cdc3845d7fa0133490fc0bd13d092f258b67c55cecf4d00279f3f16207383f1d62f4971a6f7b05fe1c59ba32b4df10ca327db548
7
- data.tar.gz: 4ea782a5e30f0996617387dc2d706cf8cb77154162055f6bad58a4bc93c2e77d0176a018c0e8155a9163e5d1caf11f975c9bfbd9d7e29192c87757657397532c
6
+ metadata.gz: a368a33d320ca6f545f9f8daab1acac1ea0eaa58a4a4e439882364880815d1ce9512c265a8da0c9bf5bdb08c7b17d6b36fd380b61503705ae2dd0475b62d4636
7
+ data.tar.gz: 1f6bddd8600d2438844da0a606e0e85accc76c0757424099b11506e1e040b715944a072560827bd577dda3a231c526315172d6bb2f9b470f55ba0ecfa844d150
data/README.md CHANGED
@@ -1,40 +1,44 @@
1
- = gda
1
+ # gda
2
2
 
3
3
  * http://github.com/tenderlove/gda
4
4
 
5
- == DESCRIPTION:
5
+ ## DESCRIPTION:
6
6
 
7
7
  An SQL parser. Wraps libgda in a loving embrace to give you a ruby level SQL
8
8
  parser.
9
9
 
10
- == SYNOPSIS:
10
+ ## SYNOPSIS:
11
11
 
12
- parser = GDA::SQL::Parser.new
12
+ ```ruby
13
+ parser = GDA::SQL::Parser.new
13
14
 
14
- stmt = parser.parse 'SELECT * FROM FOO WHERE 1 = 1 GROUP BY omg HAVING omg(id) < 2 ORDER BY foo, bar LIMIT 50 OFFSET 2'
15
+ stmt = parser.parse 'SELECT * FROM FOO WHERE 1 = 1 GROUP BY omg HAVING omg(id) < 2 ORDER BY foo, bar LIMIT 50 OFFSET 2'
15
16
 
16
- stmt.ast.each do |node|
17
- p node
18
- end
17
+ stmt.ast.each do |node|
18
+ p node
19
+ end
19
20
 
20
- puts stmt.ast.to_dot
21
+ puts stmt.ast.to_dot
22
+ ```
21
23
 
22
- == HACKING:
24
+ ## HACKING
23
25
 
24
26
  $ brew install libgda
25
27
  $ gem install hoe rake-compiler
26
28
  $ rake
27
29
 
28
- == INSTALL:
29
30
 
30
- * brew install libgda
31
- * gem install gda
31
+ ## INSTALL
32
32
 
33
- == LICENSE:
33
+
34
+ $ brew install libgda
35
+ $ gem install gda
36
+
37
+ ## LICENSE
34
38
 
35
39
  (The MIT License)
36
40
 
37
- Copyright (c) 2012-2016 Aaron Patterson
41
+ Copyright (c) 2012-2023 Aaron Patterson
38
42
 
39
43
  Permission is hereby granted, free of charge, to any person obtaining
40
44
  a copy of this software and associated documentation files (the
data/ext/gda/extconf.rb CHANGED
@@ -14,10 +14,14 @@ the dependency.
14
14
  MSG
15
15
  end
16
16
 
17
- pkg_config 'libgda-5.0'
18
- find_header('libgda/sql-parser/gda-sql-parser.h') || asplode("libgda")
17
+ available_libgda_pkg_config = nil
18
+ %w(5.0 6.0).each do |pkg_config_version|
19
+ pkg_config "libgda-#{pkg_config_version}"
20
+ available_libgda_pkg_config = find_header('libgda/sql-parser/gda-sql-parser.h')
21
+ break if available_libgda_pkg_config
22
+ end
19
23
 
24
+ asplode("libgda") unless available_libgda_pkg_config
20
25
  create_makefile 'gda'
21
26
 
22
-
23
27
  # :startdoc:
data/lib/gda/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GDA
4
- VERSION = '1.1.3'
4
+ VERSION = '1.1.4'
5
5
  end
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gda
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Patterson
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2019-03-20 00:00:00.000000000 Z
@@ -44,7 +44,7 @@ homepage: http://github.com/tenderlove/gda
44
44
  licenses:
45
45
  - MIT
46
46
  metadata: {}
47
- post_install_message:
47
+ post_install_message:
48
48
  rdoc_options:
49
49
  - "--main"
50
50
  - README.rdoc
@@ -61,8 +61,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
61
61
  - !ruby/object:Gem::Version
62
62
  version: 2.5.0
63
63
  requirements: []
64
- rubygems_version: 3.4.0.dev
65
- signing_key:
64
+ rubygems_version: 3.0.3.1
65
+ signing_key:
66
66
  specification_version: 4
67
67
  summary: An SQL parser
68
68
  test_files: []