pg 1.5.8-x86-mingw32 → 1.5.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/History.md +11 -0
- data/Rakefile +1 -1
- data/Rakefile.cross +10 -5
- data/ext/errorcodes.def +4 -5
- data/ext/errorcodes.txt +2 -5
- data/lib/2.5/pg_ext.so +0 -0
- data/lib/2.6/pg_ext.so +0 -0
- data/lib/2.7/pg_ext.so +0 -0
- data/lib/3.0/pg_ext.so +0 -0
- data/lib/3.1/pg_ext.so +0 -0
- data/lib/3.2/pg_ext.so +0 -0
- data/lib/3.3/pg_ext.so +0 -0
- data/lib/pg/connection.rb +5 -7
- data/lib/pg/version.rb +1 -1
- data/lib/x86-mingw32/libpq.dll +0 -0
- data/pg.gemspec +3 -1
- data.tar.gz.sig +0 -0
- metadata +2 -14
- metadata.gz.sig +0 -0
- data/.appveyor.yml +0 -42
- data/.gems +0 -6
- data/.gemtest +0 -0
- data/.github/workflows/binary-gems.yml +0 -117
- data/.github/workflows/source-gem.yml +0 -152
- data/.gitignore +0 -22
- data/.hgsigs +0 -34
- data/.hgtags +0 -41
- data/.irbrc +0 -23
- data/.pryrc +0 -23
- data/.tm_properties +0 -21
- data/.travis.yml +0 -49
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a01bd1a25dde9119842ac5a7a3342ca60a35575d99bd31177d6a118b705c564c
|
4
|
+
data.tar.gz: 6600f6071d2f46340dc16a71810e74621686cae1e20d693772e5c39c8593c417
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 411a50110cc653bcba7a1dd772e173758c0a15b4020c79c3a56623868674524173a6d3a486b60b78a8b472bdd1a266db5f2f4ef2a99527ae479fefaa31f01004
|
7
|
+
data.tar.gz: f930e9c4b1088ffef794d8e408e6d96b6a5fe5c0e2352024a8d152c9d821b5dcd8a05b2b637a068adf431196d454524bd3fe697873c753b303f202ab473b1897
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/History.md
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
## v1.5.9 [2024-10-24] Lars Kanis <lars@greiz-reinsdorf.de>
|
2
|
+
|
3
|
+
- Enable thread safety in static OpenSSL build for Windows. [#595](https://github.com/ged/ruby-pg/pull/595)
|
4
|
+
- Remove raising `conect_timeout` from 1 to 2 seconds. [#590](https://github.com/ged/ruby-pg/pull/590)
|
5
|
+
- Fix binary copy_data in Ractor context. [#594](https://github.com/ged/ruby-pg/pull/594)
|
6
|
+
- Exclude CI files and hidden files from built gem. [#591](https://github.com/ged/ruby-pg/pull/591)
|
7
|
+
This is to simplify security inspection.
|
8
|
+
- Update error classes to PostgreSQL-17.
|
9
|
+
- Update Windows fat binary gem to OpenSSL-3.4.0 and PostgreSQL-17.0.
|
10
|
+
|
11
|
+
|
1
12
|
## v1.5.8 [2024-09-06] Lars Kanis <lars@greiz-reinsdorf.de>
|
2
13
|
|
3
14
|
- Fix host list duplication every time conn.reset is used. [#586](https://github.com/ged/ruby-pg/pull/586)
|
data/Rakefile
CHANGED
@@ -94,7 +94,7 @@ end
|
|
94
94
|
|
95
95
|
desc "Update list of server error codes"
|
96
96
|
task :update_error_codes do
|
97
|
-
URL_ERRORCODES_TXT = "http://git.postgresql.org/gitweb/?p=postgresql.git;a=blob_plain;f=src/backend/utils/errcodes.txt;hb=refs/tags/
|
97
|
+
URL_ERRORCODES_TXT = "http://git.postgresql.org/gitweb/?p=postgresql.git;a=blob_plain;f=src/backend/utils/errcodes.txt;hb=refs/tags/REL_17_0"
|
98
98
|
|
99
99
|
ERRORCODES_TXT = "ext/errorcodes.txt"
|
100
100
|
sh "wget #{URL_ERRORCODES_TXT.inspect} -O #{ERRORCODES_TXT.inspect} || curl #{URL_ERRORCODES_TXT.inspect} -o #{ERRORCODES_TXT.inspect}"
|
data/Rakefile.cross
CHANGED
@@ -31,8 +31,8 @@ class CrossLibrary < OpenStruct
|
|
31
31
|
self.host_platform = toolchain
|
32
32
|
|
33
33
|
# Cross-compilation constants
|
34
|
-
self.openssl_version = ENV['OPENSSL_VERSION'] || '3.
|
35
|
-
self.postgresql_version = ENV['POSTGRESQL_VERSION'] || '
|
34
|
+
self.openssl_version = ENV['OPENSSL_VERSION'] || '3.4.0'
|
35
|
+
self.postgresql_version = ENV['POSTGRESQL_VERSION'] || '17.0'
|
36
36
|
|
37
37
|
# Check if symlinks work in the current working directory.
|
38
38
|
# This fails, if rake-compiler-dock is running on a Windows box.
|
@@ -118,7 +118,7 @@ class CrossLibrary < OpenStruct
|
|
118
118
|
self.cmd_prelude = [
|
119
119
|
"env",
|
120
120
|
"CROSS_COMPILE=#{host_platform}-",
|
121
|
-
"CFLAGS=-DDSO_WIN32",
|
121
|
+
"CFLAGS=-DDSO_WIN32 -DOPENSSL_THREADS",
|
122
122
|
]
|
123
123
|
|
124
124
|
|
@@ -126,7 +126,7 @@ class CrossLibrary < OpenStruct
|
|
126
126
|
file openssl_makefile => static_openssl_builddir do |t|
|
127
127
|
chdir( static_openssl_builddir ) do
|
128
128
|
cmd = cmd_prelude.dup
|
129
|
-
cmd << "./Configure" << "-static" << openssl_config
|
129
|
+
cmd << "./Configure" << "threads" << "-static" << openssl_config
|
130
130
|
|
131
131
|
run( *cmd )
|
132
132
|
end
|
@@ -192,7 +192,7 @@ class CrossLibrary < OpenStruct
|
|
192
192
|
cmd << "CFLAGS=-L#{static_openssl_builddir}"
|
193
193
|
cmd << "LDFLAGS=-L#{static_openssl_builddir}"
|
194
194
|
cmd << "LDFLAGS_SL=-L#{static_openssl_builddir}"
|
195
|
-
cmd << "LIBS=-lwsock32 -lgdi32 -lws2_32 -lcrypt32"
|
195
|
+
cmd << "LIBS=-lssl -lwsock32 -lgdi32 -lws2_32 -lcrypt32"
|
196
196
|
cmd << "CPPFLAGS=-I#{static_openssl_builddir}/include"
|
197
197
|
|
198
198
|
run( *cmd )
|
@@ -206,6 +206,10 @@ class CrossLibrary < OpenStruct
|
|
206
206
|
chdir( static_postgresql_srcdir + "common" ) do
|
207
207
|
sh 'make', "-j#{NUM_CPUS}"
|
208
208
|
end
|
209
|
+
# Work around missing dependency to errorcodes.h in PostgreSQL-17.0
|
210
|
+
chdir( static_postgresql_srcdir + "backend" + "utils" ) do
|
211
|
+
sh 'make', "-j#{NUM_CPUS}"
|
212
|
+
end
|
209
213
|
chdir( static_postgresql_srcdir + "port" ) do
|
210
214
|
sh 'make', "-j#{NUM_CPUS}"
|
211
215
|
end
|
@@ -289,6 +293,7 @@ CrossLibraries.each do |xlib|
|
|
289
293
|
task "gem:windows:#{platform}" => ['gem:windows:prepare', xlib.openssl_tarball, xlib.postgresql_tarball] do
|
290
294
|
RakeCompilerDock.sh <<-EOT, platform: platform
|
291
295
|
(cp build/gem/gem-*.pem ~/.gem/ || true) &&
|
296
|
+
sudo apt-get update && sudo apt-get install -y bison flex &&
|
292
297
|
bundle install --local &&
|
293
298
|
rake native:#{platform} pkg/#{$gem_spec.full_name}-#{platform}.gem MAKEOPTS=-j`nproc` RUBY_CC_VERSION=3.3.0:3.2.0:3.1.0:3.0.0:2.7.0:2.6.0:2.5.0
|
294
299
|
EOT
|
data/ext/errorcodes.def
CHANGED
@@ -453,6 +453,10 @@
|
|
453
453
|
VALUE klass = define_error_class( "IdleInTransactionSessionTimeout", "25" );
|
454
454
|
register_error_class( "25P03", klass );
|
455
455
|
}
|
456
|
+
{
|
457
|
+
VALUE klass = define_error_class( "TransactionTimeout", "25" );
|
458
|
+
register_error_class( "25P04", klass );
|
459
|
+
}
|
456
460
|
{
|
457
461
|
VALUE klass = define_error_class( "InvalidSqlStatementName", NULL );
|
458
462
|
register_error_class( "26000", klass );
|
@@ -885,11 +889,6 @@
|
|
885
889
|
VALUE klass = define_error_class( "DuplicateFile", "58" );
|
886
890
|
register_error_class( "58P02", klass );
|
887
891
|
}
|
888
|
-
{
|
889
|
-
VALUE klass = define_error_class( "SnapshotTooOld", NULL );
|
890
|
-
register_error_class( "72000", klass );
|
891
|
-
register_error_class( "72", klass );
|
892
|
-
}
|
893
892
|
{
|
894
893
|
VALUE klass = define_error_class( "ConfigFileError", NULL );
|
895
894
|
register_error_class( "F0000", klass );
|
data/ext/errorcodes.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
# errcodes.txt
|
3
3
|
# PostgreSQL error codes
|
4
4
|
#
|
5
|
-
# Copyright (c) 2003-
|
5
|
+
# Copyright (c) 2003-2024, PostgreSQL Global Development Group
|
6
6
|
#
|
7
7
|
# This list serves as the basis for generating source files containing error
|
8
8
|
# codes. It is kept in a common format to make sure all these source files have
|
@@ -252,6 +252,7 @@ Section: Class 25 - Invalid Transaction State
|
|
252
252
|
25P01 E ERRCODE_NO_ACTIVE_SQL_TRANSACTION no_active_sql_transaction
|
253
253
|
25P02 E ERRCODE_IN_FAILED_SQL_TRANSACTION in_failed_sql_transaction
|
254
254
|
25P03 E ERRCODE_IDLE_IN_TRANSACTION_SESSION_TIMEOUT idle_in_transaction_session_timeout
|
255
|
+
25P04 E ERRCODE_TRANSACTION_TIMEOUT transaction_timeout
|
255
256
|
|
256
257
|
Section: Class 26 - Invalid SQL Statement Name
|
257
258
|
|
@@ -439,10 +440,6 @@ Section: Class 58 - System Error (errors external to PostgreSQL itself)
|
|
439
440
|
58P01 E ERRCODE_UNDEFINED_FILE undefined_file
|
440
441
|
58P02 E ERRCODE_DUPLICATE_FILE duplicate_file
|
441
442
|
|
442
|
-
Section: Class 72 - Snapshot Failure
|
443
|
-
# (class borrowed from Oracle)
|
444
|
-
72000 E ERRCODE_SNAPSHOT_TOO_OLD snapshot_too_old
|
445
|
-
|
446
443
|
Section: Class F0 - Configuration File Error
|
447
444
|
|
448
445
|
# (PostgreSQL-specific error class)
|
data/lib/2.5/pg_ext.so
CHANGED
Binary file
|
data/lib/2.6/pg_ext.so
CHANGED
Binary file
|
data/lib/2.7/pg_ext.so
CHANGED
Binary file
|
data/lib/3.0/pg_ext.so
CHANGED
Binary file
|
data/lib/3.1/pg_ext.so
CHANGED
Binary file
|
data/lib/3.2/pg_ext.so
CHANGED
Binary file
|
data/lib/3.3/pg_ext.so
CHANGED
Binary file
|
data/lib/pg/connection.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
require 'pg' unless defined?( PG )
|
5
|
-
require 'io/wait' unless ::IO.public_instance_methods(false).include?(:wait_readable)
|
5
|
+
require 'io/wait' unless ::IO.public_instance_methods(false).include?(:wait_readable) # for ruby < 3.0
|
6
6
|
require 'socket'
|
7
7
|
|
8
8
|
# The PostgreSQL connection class. The interface for this class is based on
|
@@ -117,7 +117,7 @@ class PG::Connection
|
|
117
117
|
return str
|
118
118
|
end
|
119
119
|
|
120
|
-
BinarySignature = "PGCOPY\n\377\r\n\0"
|
120
|
+
BinarySignature = "PGCOPY\n\377\r\n\0"
|
121
121
|
private_constant :BinarySignature
|
122
122
|
|
123
123
|
# call-seq:
|
@@ -166,9 +166,9 @@ class PG::Connection
|
|
166
166
|
# conn.put_copy_data ['more', 'data', 'to', 'copy']
|
167
167
|
# end
|
168
168
|
#
|
169
|
-
|
170
|
-
|
171
|
-
|
169
|
+
# All 4 CopyRow classes can take a type map to specify how the columns are mapped to and from the database format.
|
170
|
+
# For details see the particular CopyRow class description.
|
171
|
+
#
|
172
172
|
# PG::BinaryEncoder::CopyRow can be used to send data in binary format to the server.
|
173
173
|
# In this case copy_data generates the header and trailer data automatically:
|
174
174
|
# enco = PG::BinaryEncoder::CopyRow.new
|
@@ -653,8 +653,6 @@ class PG::Connection
|
|
653
653
|
# Track the progress of the connection, waiting for the socket to become readable/writable before polling it
|
654
654
|
|
655
655
|
if (timeo = conninfo_hash[:connect_timeout].to_i) && timeo > 0
|
656
|
-
# Lowest timeout is 2 seconds - like in libpq
|
657
|
-
timeo = [timeo, 2].max
|
658
656
|
host_count = conninfo_hash[:host].to_s.count(",") + 1
|
659
657
|
stop_time = timeo * host_count + Process.clock_gettime(Process::CLOCK_MONOTONIC)
|
660
658
|
end
|
data/lib/pg/version.rb
CHANGED
data/lib/x86-mingw32/libpq.dll
CHANGED
Binary file
|
data/pg.gemspec
CHANGED
@@ -23,7 +23,9 @@ Gem::Specification.new do |spec|
|
|
23
23
|
# Specify which files should be added to the gem when it is released.
|
24
24
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
25
25
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
26
|
-
`git ls-files -z`.split("\x0").reject
|
26
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
27
|
+
f.match(%r{\A(?:test|spec|features|translation|\.)})
|
28
|
+
end
|
27
29
|
end
|
28
30
|
spec.extensions = ["ext/extconf.rb"]
|
29
31
|
spec.require_paths = ["lib"]
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.9
|
5
5
|
platform: x86-mingw32
|
6
6
|
authors:
|
7
7
|
- Michael Granger
|
@@ -34,7 +34,7 @@ cert_chain:
|
|
34
34
|
5wFER6XhvvLDFAMh/jMg+s7Wd5SbSHgHNSUaUGVtdWkVPOer6oF0aLdZUR3CETkn
|
35
35
|
5nWXZma/BUd3YgYA/Xumc6QQqIS4p7mr
|
36
36
|
-----END CERTIFICATE-----
|
37
|
-
date: 2024-
|
37
|
+
date: 2024-10-24 00:00:00.000000000 Z
|
38
38
|
dependencies: []
|
39
39
|
description: Pg is the Ruby interface to the PostgreSQL RDBMS. It works with PostgreSQL
|
40
40
|
9.3 and later.
|
@@ -100,18 +100,6 @@ extra_rdoc_files:
|
|
100
100
|
- lib/pg/type_map_by_column.rb
|
101
101
|
- lib/pg/version.rb
|
102
102
|
files:
|
103
|
-
- ".appveyor.yml"
|
104
|
-
- ".gems"
|
105
|
-
- ".gemtest"
|
106
|
-
- ".github/workflows/binary-gems.yml"
|
107
|
-
- ".github/workflows/source-gem.yml"
|
108
|
-
- ".gitignore"
|
109
|
-
- ".hgsigs"
|
110
|
-
- ".hgtags"
|
111
|
-
- ".irbrc"
|
112
|
-
- ".pryrc"
|
113
|
-
- ".tm_properties"
|
114
|
-
- ".travis.yml"
|
115
103
|
- BSDL
|
116
104
|
- Contributors.rdoc
|
117
105
|
- Gemfile
|
metadata.gz.sig
CHANGED
Binary file
|
data/.appveyor.yml
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
image: Visual Studio 2022
|
2
|
-
|
3
|
-
init:
|
4
|
-
- set PATH=C:/Ruby%ruby_version%/bin;c:/Program Files/Git/cmd;c:/Windows/system32;C:/Windows/System32/WindowsPowerShell/v1.0;C:/Program Files/Mercurial
|
5
|
-
- set RUBYOPT=--verbose
|
6
|
-
install:
|
7
|
-
- ps: |
|
8
|
-
if ($env:RUBYDOWNLOAD -ne $null) {
|
9
|
-
$(new-object net.webclient).DownloadFile("https://github.com/oneclick/rubyinstaller2/releases/download/rubyinstaller-head/rubyinstaller-head-$env:RUBYDOWNLOAD.exe", "$pwd/ruby-setup.exe")
|
10
|
-
cmd /c ruby-setup.exe /currentuser /verysilent /dir=C:/Ruby$env:ruby_version
|
11
|
-
}
|
12
|
-
- cmd: |
|
13
|
-
ridk enable
|
14
|
-
c:/msys64/usr/bin/bash -lc "pacman -S --noconfirm --needed ${MINGW_PACKAGE_PREFIX}-pkgconf ${MINGW_PACKAGE_PREFIX}-libyaml ${MINGW_PACKAGE_PREFIX}-gcc"
|
15
|
-
- ruby --version
|
16
|
-
- gem --version
|
17
|
-
- gem install bundler --conservative
|
18
|
-
- bundle install
|
19
|
-
- ps: |
|
20
|
-
if ($env:PGVERSION -ne $null)
|
21
|
-
{
|
22
|
-
$(new-object net.webclient).DownloadFile('http://get.enterprisedb.com/postgresql/postgresql-' + $env:PGVERSION + '.exe', 'C:/postgresql-setup.exe')
|
23
|
-
cmd /c "C:/postgresql-setup.exe" --mode unattended --extract-only 1
|
24
|
-
|
25
|
-
$env:PATH = 'C:/Program Files/PostgreSQL/' + $env:PGVER + '/bin;' + $env:PATH
|
26
|
-
$env:PATH = 'C:/Program Files (x86)/PostgreSQL/' + $env:PGVER + '/bin;' + $env:PATH
|
27
|
-
} else {
|
28
|
-
c:/msys64/usr/bin/bash -lc "pacman -S --noconfirm --needed `${MINGW_PACKAGE_PREFIX}-postgresql"
|
29
|
-
}
|
30
|
-
- echo %PATH%
|
31
|
-
- pg_config
|
32
|
-
build_script:
|
33
|
-
- bundle exec rake -rdevkit compile --trace
|
34
|
-
test_script:
|
35
|
-
- bundle exec rake test PG_DEBUG=0
|
36
|
-
on_failure:
|
37
|
-
- find -name mkmf.log | xargs cat
|
38
|
-
environment:
|
39
|
-
matrix:
|
40
|
-
- ruby_version: "head"
|
41
|
-
RUBYDOWNLOAD: x64
|
42
|
-
- ruby_version: "30-x64"
|
data/.gems
DELETED
data/.gemtest
DELETED
File without changes
|
@@ -1,117 +0,0 @@
|
|
1
|
-
name: Binary gems
|
2
|
-
|
3
|
-
on:
|
4
|
-
push:
|
5
|
-
pull_request:
|
6
|
-
workflow_dispatch:
|
7
|
-
schedule:
|
8
|
-
- cron: "0 5 * * 3" # At 05:00 on Wednesday # https://crontab.guru/#0_5_*_*_3
|
9
|
-
|
10
|
-
jobs:
|
11
|
-
job_build_x64:
|
12
|
-
name: Build
|
13
|
-
runs-on: ubuntu-latest
|
14
|
-
strategy:
|
15
|
-
fail-fast: false
|
16
|
-
matrix:
|
17
|
-
include:
|
18
|
-
- platform: "x64-mingw-ucrt"
|
19
|
-
- platform: "x64-mingw32"
|
20
|
-
- platform: "x86-mingw32"
|
21
|
-
steps:
|
22
|
-
- uses: actions/checkout@v4
|
23
|
-
- name: Set up Ruby
|
24
|
-
uses: ruby/setup-ruby@v1
|
25
|
-
with:
|
26
|
-
ruby-version: "3.3"
|
27
|
-
- run: bundle install
|
28
|
-
|
29
|
-
- name: Create a dummy cert to satisfy the build
|
30
|
-
run: |
|
31
|
-
mkdir -p ~/.gem/
|
32
|
-
ruby -ropenssl -e "puts OpenSSL::PKey::RSA.new(2048).to_pem" > ~/.gem/gem-private_key.pem
|
33
|
-
gem cert --build travis-ci@dummy.org --private-key ~/.gem/gem-private_key.pem
|
34
|
-
cp gem-public_cert.pem ~/.gem/gem-public_cert.pem
|
35
|
-
|
36
|
-
- name: Build binary gem
|
37
|
-
run: bundle exec rake gem:windows:${{ matrix.platform }}
|
38
|
-
|
39
|
-
- name: Upload binary gem
|
40
|
-
uses: actions/upload-artifact@v4
|
41
|
-
with:
|
42
|
-
name: binary-gem-${{ matrix.platform }}
|
43
|
-
path: pkg/*.gem
|
44
|
-
|
45
|
-
job_test_binary:
|
46
|
-
name: Test
|
47
|
-
needs: job_build_x64
|
48
|
-
strategy:
|
49
|
-
fail-fast: false
|
50
|
-
matrix:
|
51
|
-
include:
|
52
|
-
- os: windows-latest
|
53
|
-
ruby: "3.3"
|
54
|
-
platform: "x64-mingw-ucrt"
|
55
|
-
PGVERSION: 16.0-1-windows-x64
|
56
|
-
- os: windows-latest
|
57
|
-
ruby: "3.1.4-1"
|
58
|
-
platform: "x86-mingw32"
|
59
|
-
PGVERSION: 10.20-1-windows
|
60
|
-
- os: windows-latest
|
61
|
-
ruby: "2.5"
|
62
|
-
platform: "x64-mingw32"
|
63
|
-
PGVERSION: 10.20-1-windows
|
64
|
-
|
65
|
-
runs-on: ${{ matrix.os }}
|
66
|
-
env:
|
67
|
-
PGVERSION: ${{ matrix.PGVERSION }}
|
68
|
-
steps:
|
69
|
-
- uses: actions/checkout@v4
|
70
|
-
- name: Set up Ruby
|
71
|
-
if: matrix.platform != 'x86-mingw32'
|
72
|
-
uses: ruby/setup-ruby@v1
|
73
|
-
with:
|
74
|
-
ruby-version: ${{ matrix.ruby }}
|
75
|
-
|
76
|
-
- name: Set up 32 bit x86 Ruby
|
77
|
-
if: matrix.platform == 'x86-mingw32'
|
78
|
-
run: |
|
79
|
-
$(new-object net.webclient).DownloadFile("https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-${{ matrix.ruby }}/rubyinstaller-${{ matrix.ruby }}-x86.exe", "$pwd/ruby-setup.exe")
|
80
|
-
cmd /c ruby-setup.exe /currentuser /verysilent /dir=C:/Ruby-${{ matrix.ruby }}
|
81
|
-
echo "c:/ruby-${{ matrix.ruby }}/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
82
|
-
|
83
|
-
c:/ruby-${{ matrix.ruby }}/bin/ridk enable
|
84
|
-
c:/msys64/usr/bin/bash -lc "pacman -S --noconfirm --needed make `${MINGW_PACKAGE_PREFIX}-pkgconf `${MINGW_PACKAGE_PREFIX}-libyaml `${MINGW_PACKAGE_PREFIX}-gcc `${MINGW_PACKAGE_PREFIX}-make"
|
85
|
-
echo "C:/msys64/$env:MSYSTEM_PREFIX/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
86
|
-
|
87
|
-
- name: Download gem from build job
|
88
|
-
uses: actions/download-artifact@v4
|
89
|
-
with:
|
90
|
-
name: binary-gem-${{ matrix.platform }}
|
91
|
-
|
92
|
-
- name: Download PostgreSQL
|
93
|
-
run: |
|
94
|
-
Add-Type -AssemblyName System.IO.Compression.FileSystem
|
95
|
-
function Unzip {
|
96
|
-
param([string]$zipfile, [string]$outpath)
|
97
|
-
[System.IO.Compression.ZipFile]::ExtractToDirectory($zipfile, $outpath)
|
98
|
-
}
|
99
|
-
|
100
|
-
$(new-object net.webclient).DownloadFile("http://get.enterprisedb.com/postgresql/postgresql-$env:PGVERSION-binaries.zip", "postgresql-binaries.zip")
|
101
|
-
Unzip "postgresql-binaries.zip" "."
|
102
|
-
echo "$pwd/pgsql/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
103
|
-
echo "PGUSER=$env:USERNAME" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
104
|
-
echo "PGPASSWORD=" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
105
|
-
|
106
|
-
- run: echo $env:PATH
|
107
|
-
- run: gem update --system 3.3.26
|
108
|
-
- run: bundle install
|
109
|
-
- run: gem install --local pg-*${{ matrix.platform }}.gem --verbose
|
110
|
-
- name: Run specs
|
111
|
-
run: ruby -rpg -S rspec -fd spec/**/*_spec.rb
|
112
|
-
|
113
|
-
- name: Print logs if job failed
|
114
|
-
if: ${{ failure() && matrix.os == 'windows-latest' }}
|
115
|
-
run: |
|
116
|
-
ridk enable
|
117
|
-
find "$(ruby -e"puts RbConfig::CONFIG[%q[libdir]]")" -name mkmf.log -print0 | xargs -0 cat
|
@@ -1,152 +0,0 @@
|
|
1
|
-
name: Source gem
|
2
|
-
on:
|
3
|
-
workflow_dispatch:
|
4
|
-
schedule:
|
5
|
-
- cron: "0 5 * * 3" # At 05:00 on Wednesday # https://crontab.guru/#0_5_*_*_3
|
6
|
-
push:
|
7
|
-
branches:
|
8
|
-
- master
|
9
|
-
tags:
|
10
|
-
- "*.*.*"
|
11
|
-
pull_request:
|
12
|
-
types: [opened, synchronize]
|
13
|
-
branches:
|
14
|
-
- "*"
|
15
|
-
permissions:
|
16
|
-
contents: read
|
17
|
-
|
18
|
-
jobs:
|
19
|
-
job_build_gem:
|
20
|
-
name: Build
|
21
|
-
runs-on: ubuntu-latest
|
22
|
-
steps:
|
23
|
-
- uses: actions/checkout@v4
|
24
|
-
- name: Set up Ruby
|
25
|
-
uses: ruby/setup-ruby@v1
|
26
|
-
with:
|
27
|
-
ruby-version: "3.2"
|
28
|
-
|
29
|
-
- name: Build source gem
|
30
|
-
run: gem build pg.gemspec
|
31
|
-
|
32
|
-
- name: Upload source gem
|
33
|
-
uses: actions/upload-artifact@v4
|
34
|
-
with:
|
35
|
-
name: source-gem
|
36
|
-
path: "*.gem"
|
37
|
-
|
38
|
-
job_test_gem:
|
39
|
-
name: Test
|
40
|
-
needs: job_build_gem
|
41
|
-
strategy:
|
42
|
-
fail-fast: false
|
43
|
-
matrix:
|
44
|
-
include:
|
45
|
-
- os: windows
|
46
|
-
ruby: "head"
|
47
|
-
PGVERSION: 16.0-1-windows-x64
|
48
|
-
PGVER: "16"
|
49
|
-
- os: windows
|
50
|
-
ruby: "2.5"
|
51
|
-
PGVERSION: 9.4.26-1-windows-x64
|
52
|
-
PGVER: "9.4"
|
53
|
-
- os: windows
|
54
|
-
ruby: "mswin"
|
55
|
-
PGVERSION: 16.0-1-windows-x64
|
56
|
-
PGVER: "16"
|
57
|
-
- os: ubuntu
|
58
|
-
ruby: "head"
|
59
|
-
PGVER: "16"
|
60
|
-
- os: ubuntu
|
61
|
-
ruby: "3.2"
|
62
|
-
PGVER: "12"
|
63
|
-
- os: ubuntu
|
64
|
-
os_ver: "20.04"
|
65
|
-
ruby: "2.5"
|
66
|
-
PGVER: "9.3"
|
67
|
-
- os: ubuntu
|
68
|
-
ruby: "truffleruby"
|
69
|
-
PGVER: "13"
|
70
|
-
- os: ubuntu
|
71
|
-
ruby: "truffleruby-head"
|
72
|
-
PGVER: "16"
|
73
|
-
- os: macos
|
74
|
-
ruby: "head"
|
75
|
-
PGVERSION: 16.0-1-osx
|
76
|
-
PGVER: "16"
|
77
|
-
|
78
|
-
runs-on: ${{ matrix.os }}-${{ matrix.os_ver || 'latest' }}
|
79
|
-
env:
|
80
|
-
PGVERSION: ${{ matrix.PGVERSION }}
|
81
|
-
PGVER: ${{ matrix.PGVER }}
|
82
|
-
MAKE: make -j2 V=1
|
83
|
-
|
84
|
-
steps:
|
85
|
-
- uses: actions/checkout@v4
|
86
|
-
- name: Set up Ruby
|
87
|
-
uses: ruby/setup-ruby@v1
|
88
|
-
with:
|
89
|
-
ruby-version: ${{ matrix.ruby }}
|
90
|
-
|
91
|
-
- name: Download gem from build job
|
92
|
-
uses: actions/download-artifact@v4
|
93
|
-
with:
|
94
|
-
name: source-gem
|
95
|
-
|
96
|
-
- name: Install required packages Windows
|
97
|
-
if: matrix.os == 'windows' && matrix.ruby != 'mswin'
|
98
|
-
shell: cmd
|
99
|
-
run: ridk exec sh -c "pacman --sync --needed --noconfirm ${MINGW_PACKAGE_PREFIX}-gcc"
|
100
|
-
|
101
|
-
- name: Download PostgreSQL Windows
|
102
|
-
if: matrix.os == 'windows'
|
103
|
-
run: |
|
104
|
-
Add-Type -AssemblyName System.IO.Compression.FileSystem
|
105
|
-
function Unzip {
|
106
|
-
param([string]$zipfile, [string]$outpath)
|
107
|
-
[System.IO.Compression.ZipFile]::ExtractToDirectory($zipfile, $outpath)
|
108
|
-
}
|
109
|
-
|
110
|
-
$(new-object net.webclient).DownloadFile("http://get.enterprisedb.com/postgresql/postgresql-$env:PGVERSION-binaries.zip", "postgresql-binaries.zip")
|
111
|
-
Unzip "postgresql-binaries.zip" "."
|
112
|
-
echo "$pwd/pgsql/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
113
|
-
echo "PGUSER=$env:USERNAME" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
114
|
-
echo "PGPASSWORD=" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
115
|
-
|
116
|
-
- name: Download PostgreSQL Ubuntu
|
117
|
-
if: matrix.os == 'ubuntu'
|
118
|
-
run: |
|
119
|
-
echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main $PGVER" | sudo tee -a /etc/apt/sources.list.d/pgdg.list
|
120
|
-
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
|
121
|
-
sudo apt-get -y update
|
122
|
-
sudo apt-get -y --allow-downgrades install postgresql-$PGVER libpq5=$PGVER* libpq-dev=$PGVER*
|
123
|
-
echo /usr/lib/postgresql/$PGVER/bin >> $GITHUB_PATH
|
124
|
-
|
125
|
-
- name: Download PostgreSQL Macos
|
126
|
-
if: matrix.os == 'macos'
|
127
|
-
run: |
|
128
|
-
wget https://get.enterprisedb.com/postgresql/postgresql-$PGVERSION-binaries.zip && \
|
129
|
-
sudo mkdir -p /Library/PostgreSQL && \
|
130
|
-
sudo unzip postgresql-$PGVERSION-binaries.zip -d /Library/PostgreSQL/$PGVER && \
|
131
|
-
sudo mv /Library/PostgreSQL/$PGVER/pgsql/* /Library/PostgreSQL/$PGVER/ && \
|
132
|
-
echo /Library/PostgreSQL/$PGVER/bin >> $GITHUB_PATH
|
133
|
-
|
134
|
-
- run: gem update --system 3.3.26
|
135
|
-
- run: bundle install
|
136
|
-
|
137
|
-
- run: gem install --local *.gem --verbose
|
138
|
-
|
139
|
-
- name: Run specs
|
140
|
-
env:
|
141
|
-
PG_DEBUG: 0
|
142
|
-
# Temprary fix only for Truffleruby-24.0.0:
|
143
|
-
TRUFFLERUBYOPT: --experimental-options --keep-handles-alive
|
144
|
-
run: ruby -rpg -S rspec spec/**/*_spec.rb -cfdoc
|
145
|
-
|
146
|
-
- name: Print logs if job failed
|
147
|
-
if: ${{ failure() && matrix.os == 'windows' }}
|
148
|
-
run: ridk exec cat tmp_test_specs/*.log
|
149
|
-
|
150
|
-
- name: Print logs if job failed
|
151
|
-
if: ${{ failure() && matrix.os != 'windows' }}
|
152
|
-
run: cat tmp_test_specs/*.log
|
data/.gitignore
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
*.lock
|
2
|
-
*.orig
|
3
|
-
*_BACKUP_*
|
4
|
-
*_BASE_*
|
5
|
-
*_LOCAL_*
|
6
|
-
*_REMOTE_*
|
7
|
-
/.test_symlink
|
8
|
-
/build/
|
9
|
-
/ext/Makefile
|
10
|
-
/ext/mkmf.log
|
11
|
-
/ext/postgresql_lib_path.rb
|
12
|
-
/doc/
|
13
|
-
/lib/*.bundle
|
14
|
-
/lib/*.so
|
15
|
-
/lib/2.?/
|
16
|
-
/lib/3.?/
|
17
|
-
/pkg/
|
18
|
-
/tmp/
|
19
|
-
/tmp_test_*/
|
20
|
-
/vendor/
|
21
|
-
/lib/libpq.dll
|
22
|
-
/lib/pg/postgresql_lib_path.rb
|
data/.hgsigs
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
872063e42b129af10539f73b3c083ad8a031f961 0 iEYEABECAAYFAkuKoCoACgkQ+zlz4UKpE6QzewCgrFcSsAwju/KpZ8myuWexlcSbe04AmwWCbf4HM95tDXdFvsvzeegPg8AS
|
2
|
-
3993015a841e43c9cd9d1321819cbf5e74264f1d 0 iEYEABECAAYFAkz2ycMACgkQ+zlz4UKpE6SYjQCgi/1Ik2rntK2dU93Hb91wYh0Yv4sAoKxEXVuXaEIAiwB4vSQ/7JQGIBzM
|
3
|
-
230ea3e68db2360548097542c4856dec4c3cd97a 0 iEYEABECAAYFAk03CpAACgkQ+zlz4UKpE6SPAgCfbRwKmAgHTmrudSoC09c37Tuyff0AnRHrSaqKhiCO7KlX5UJq6x0ttoKH
|
4
|
-
24aa7899c6966ce349c8e4f2a87b17c3e943ff56 0 iEYEABECAAYFAk2s1wQACgkQ+zlz4UKpE6SkLQCdHOS5yxoUFguEo885HkDyOZg4Y7wAoMVofhwOUHVQ6djXr0hgAmahI1lW
|
5
|
-
19b551f972e27dcfa281b92914e2a98661243206 0 iEYEABECAAYFAk7f51sACgkQ+zlz4UKpE6RkYACg0WZjt1crbi72DQYs3kYKSYRflNYAnA80+VVwmMUQiWuFuQ+7gbiUPCyY
|
6
|
-
f72b14d349bf385c769aacfddbea7a0e60ff5e9e 0 iEYEABECAAYFAk8CFCIACgkQ+zlz4UKpE6QbYACgyLQwHPQH50sGVgzTD3y13XKwi38AoIrF5zSOiMXAeL+sk++iwDYV4ddW
|
7
|
-
f3dfdb6929b70ddd3bb952757bdfb199e6916245 0 iEYEABECAAYFAk8Di+MACgkQ+zlz4UKpE6TVvwCg+ibuW22lRdnOIrRF2V4am7b4YxYAn0bDEnP93JX6qKAaU8kcoCrTKDXp
|
8
|
-
b67309d3ccf2f9de56535e01f58c7af994426827 0 iEYEABECAAYFAk8iJKkACgkQ+zlz4UKpE6SjUQCgpItY5hW5NyVkfL5+nkRhJqaetQMAoJQQkNPL2jQLgJREfj3PtMBbn2VG
|
9
|
-
0e7f0c2451e55855b4a90efce8db0cafbf04b26f 0 iEYEABECAAYFAk8kb0cACgkQ+zlz4UKpE6RpxgCfQDV3zq2N+zle1XLKoXGMr7EK19IAnR3llz7WPf2j9lqXdZjw4xtl0XBk
|
10
|
-
9c262b875047f9acfedb63396a262ab5a5b101ca 0 iEYEABECAAYFAk80EvkACgkQ+zlz4UKpE6SUHQCeJuJMb8+k8ynIDPSmcKHL/a5gD6AAoPXMns9HF2c3XwtS1CMRf6rcZp3e
|
11
|
-
1ba641824000abbf1b22000772815c24e9b5f6d9 0 iEYEABECAAYFAk84LSUACgkQ+zlz4UKpE6RlPQCgiGZbYJFbeWEAdehVUrIZdU7sRe4AoOgESbvEWynP4X0OKbvdC9rLchYl
|
12
|
-
41e071bdd6ed970887d4ed4da59fdfa62003c39e 0 iEYEABECAAYFAk9FXikACgkQ+zlz4UKpE6TB8ACgt/VSo/kJMg9UVLKd5UUPBPjbgOIAn0DJuOla9GF85mW74sEkCOqE6Ada
|
13
|
-
a45710f8db303c400200017242589562936fcf1b 0 iEYEABECAAYFAk/l/kgACgkQ+zlz4UKpE6QCkwCg049BpW4kSvaKuICyvKokeoXbNiAAoPWAaiDuK6xjZhqGSuuGVWMmCRwk
|
14
|
-
52d22b060501ab90a89b3a758aca8ce70ad05231 0 iEYEABECAAYFAlBDfn8ACgkQ+zlz4UKpE6R3GACgzLiZ+fyM4Hx8/Qp9fyWF+mHk4FQAn3P3Y06AHadVvKwyksrAgKk/33LV
|
15
|
-
384fcbc92366ca0108b6c0984d861ffef2d38570 0 iEYEABECAAYFAlFRsM4ACgkQ+zlz4UKpE6TYXgCgksacYvWJ5dhx9oYFRR+oSH6wPgwAoJ3QO01zfiDbBz6Z9Mxy7tNi3jx6
|
16
|
-
0bfb6ff650be2d003af3d0fc6c75be16369605e1 0 iEYEABECAAYFAlFjCYkACgkQ+zlz4UKpE6RldACg77Rp2I4vYUXpFakUrYq6uSfPLLQAn266JL6CiQG44cSroW+Mgz4CZgJn
|
17
|
-
4e0606f5f5aab87855860a3eeaf4c9eaaea77f09 0 iEYEABECAAYFAlHuizwACgkQ+zlz4UKpE6QphACg4FNFwvVju9wk6PC6vwkY8cZRtvkAn1nDR0pbto9xMdMUqhJxOc5Dqisr
|
18
|
-
eed93df350a6cc657d5151bd3aa29ab427fba7cc 0 iEYEABECAAYFAlI3Sy4ACgkQ+zlz4UKpE6ShLQCffDunkSEo5TCnzCx8PjVF9jetDxYAn02ZCfDJ2UPgojF+gjhHCGk9haFq
|
19
|
-
22d57e3a2b378a34675982a77e6daa643f38fa6e 0 iEYEABECAAYFAlKyO9QACgkQ+zlz4UKpE6QO/wCfWabZRMDkk/vNME1LK1cHCp4oOtMAoORYSAU8OTOxjhPW3IGDMFShHKHv
|
20
|
-
c519766e3ec9a60b1960dcb008f01434f98a17b2 0 iEYEABECAAYFAlSoTtUACgkQ+zlz4UKpE6TIoQCg2nBKrFlaMtD1P4H1KuDxQJBsDkQAniIdmVBVhWvBU+pUfMHhPRBY+puR
|
21
|
-
ba5aff64b5cbe818ddabaac924d0bee6ab27f1b0 0 iEYEABECAAYFAlSq+v4ACgkQ+zlz4UKpE6SfvwCg8cL68fxxt7k/yzTV7hLNyOovci0AnAoPXmKEYaoyWehwMUpxOitaVRwf
|
22
|
-
7d31b04e79134d276c1e8a3a64ee35b7002da1ef 0 iQIcBAABAgAGBQJVVO4yAAoJEGE7GvLhImG9r6cP/jMU8jKHKbFiyRLCz/IXw72bnORdGiOwZzIjFyRSpXnrZ9dkIF8Hjllv27XW2jiQ2eg+N+MQmchO3VAqNEgad782535p01LY2hmP8s6LAKM7GFCTi6yCVcavcGUS8GDwK1df1nLK0Sfi3TrRsaduhizd0BI0MPuVt2qjDE+8AA0/6DkIkPsohUbvpJXMMl8BiuZBM3IViHYn4janRdeUdSvv9hDo3gYqMH9OsihhacOV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XpVKlvxczwil+lqPYBT2rxc3+9JtW77bG7tQOllKjnfAiQ0BK1fMBZRVDzN4QU8jifyDwUQvjB4tZMvGzXWxRW3TmTKOdqp+s6hJnBma9lAwUerGa5wtk1xZhO1udJYsk7PMt590bxgUl+1PjKJ6AG1Sj5MhgMct9euex4=
|
data/.hgtags
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
7fbe4187e9e53e58baf6cd7c1c21e3a3c5b920e5 0.8.0
|
2
|
-
da726282493c57b4ef8e5be1a21e98cc028fda4c 0.9.0
|
3
|
-
1822a169c4fecac402335a64a484b5dc053994a3 0.10.0
|
4
|
-
1822a169c4fecac402335a64a484b5dc053994a3 v0.10.0
|
5
|
-
1822a169c4fecac402335a64a484b5dc053994a3 0.10.0
|
6
|
-
0000000000000000000000000000000000000000 0.10.0
|
7
|
-
de10b5d8e4429d22790976ec4de89f209e882906 v0.10.1
|
8
|
-
3cb8e57c6c80737c714dd7607a144ef12074c4fe v0.11.0
|
9
|
-
da726282493c57b4ef8e5be1a21e98cc028fda4c v0.9.0
|
10
|
-
7fbe4187e9e53e58baf6cd7c1c21e3a3c5b920e5 v0.8.0
|
11
|
-
b767401684d8a4051230874b0686a54537b10e2f v0.12.0
|
12
|
-
21f84883e5c206a3f2890905af68e08a0046ba1c v0.12.1
|
13
|
-
88bd78632f86f696dd3fa8904c1d3180216378cc v0.12.2
|
14
|
-
7b2da7e0815cce834cd60f9747209923952876ec v0.13.0
|
15
|
-
9e60b2c477cde450a088161ca8f3d72b52531aaf v0.13.1
|
16
|
-
c79cd308363d614f7ba32fd86294c9aa3117c361 v0.13.2
|
17
|
-
634e0a42a1010fc1dcd279fb28506873a47090c1 v0.14.0
|
18
|
-
2d83ce956f971c3aeb145c9ad68f426e78b852dd v0.14.1
|
19
|
-
065fd1f0e9dda58557de0efb2deb138e93ba7632 v0.15.0
|
20
|
-
4692c20bcbdeadd8a31283e234464c6e1c43765d v0.15.1
|
21
|
-
def8f41a76726cf7239ff6dbaa2828a881f93451 v0.16.0
|
22
|
-
30da9c169efc3985ad0464936483c229faba0e33 v0.17.0
|
23
|
-
78846e47d87b7ed5bb7397116070692b1cfa87d7 v0.17.1
|
24
|
-
cfb2bfc0f66181e67768c4313bcce473292a0825 v0.18.0
|
25
|
-
f97dd6cb4f34da6a62c4339887249115c7c25b9c v0.18.1
|
26
|
-
22a361201fd1d387d59a066b179124694a446f38 v0.18.2
|
27
|
-
01c42c68797e724507b76056b98981cb30748a36 v0.18.3
|
28
|
-
94ef4830540d8fa74b8912118fb8065f4a6a3563 v0.18.4
|
29
|
-
94ef4830540d8fa74b8912118fb8065f4a6a3563 v0.18.4
|
30
|
-
0000000000000000000000000000000000000000 v0.18.4
|
31
|
-
0000000000000000000000000000000000000000 v0.18.4
|
32
|
-
f61127650cd00a1154c591dcde85ebac01f2be9f v0.18.4
|
33
|
-
bd2aaa2c5797de78435977a1c60e450d6f22811b v0.19.0
|
34
|
-
e5eb92cca97abc0c6fc168acfad993c2ad314589 v0.20.0
|
35
|
-
deae742eacfa985bd20f47a12a8fee6ce2e0447c v0.21.0
|
36
|
-
9a388d1023ec145cb00e6e16f3a8cabd3cc81d16 v1.0.0
|
37
|
-
319c00d9d59e24ce06493715cff2701e3a2a8990 v1.1.0
|
38
|
-
c80083c5e395451d612d43323c40317eb63bcb54 v1.1.1
|
39
|
-
f54d10c5d98fd06d6fc70896107319901ae374ae v1.1.2
|
40
|
-
c7035371f972982c1716daf61861b9dde15de03e v1.1.3
|
41
|
-
11d3487e303cf0fc6af48086f3e9c0b1c8283039 v1.1.4
|
data/.irbrc
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
#!/usr/bin/ruby -*- ruby -*-
|
2
|
-
|
3
|
-
BEGIN {
|
4
|
-
require 'pathname'
|
5
|
-
require 'rbconfig'
|
6
|
-
|
7
|
-
basedir = Pathname.new( __FILE__ ).dirname.expand_path
|
8
|
-
libdir = basedir + "lib"
|
9
|
-
|
10
|
-
puts ">>> Adding #{libdir} to load path..."
|
11
|
-
$LOAD_PATH.unshift( libdir.to_s )
|
12
|
-
}
|
13
|
-
|
14
|
-
|
15
|
-
# Try to require the 'pg' library
|
16
|
-
begin
|
17
|
-
$stderr.puts "Loading pg..."
|
18
|
-
require 'pg'
|
19
|
-
rescue => e
|
20
|
-
$stderr.puts "Ack! pg library failed to load: #{e.message}\n\t" +
|
21
|
-
e.backtrace.join( "\n\t" )
|
22
|
-
end
|
23
|
-
|
data/.pryrc
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
#!/usr/bin/ruby -*- ruby -*-
|
2
|
-
|
3
|
-
BEGIN {
|
4
|
-
require 'pathname'
|
5
|
-
require 'rbconfig'
|
6
|
-
|
7
|
-
basedir = Pathname.new( __FILE__ ).dirname.expand_path
|
8
|
-
libdir = basedir + "lib"
|
9
|
-
|
10
|
-
puts ">>> Adding #{libdir} to load path..."
|
11
|
-
$LOAD_PATH.unshift( libdir.to_s )
|
12
|
-
}
|
13
|
-
|
14
|
-
|
15
|
-
# Try to require the 'pg' library
|
16
|
-
begin
|
17
|
-
$stderr.puts "Loading pg..."
|
18
|
-
require 'pg'
|
19
|
-
rescue => e
|
20
|
-
$stderr.puts "Ack! pg library failed to load: #{e.message}\n\t" +
|
21
|
-
e.backtrace.join( "\n\t" )
|
22
|
-
end
|
23
|
-
|
data/.tm_properties
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
# Settings
|
2
|
-
projectDirectory = "$CWD"
|
3
|
-
windowTitle = "${CWD/^.*\///} «$TM_DISPLAYNAME»"
|
4
|
-
excludeInFileChooser = {$exclude,.hg}
|
5
|
-
exclude = {$exclude,tmp,tmp_test_specs}
|
6
|
-
|
7
|
-
TM_MAKE = 'rake'
|
8
|
-
TM_MAKE_FILE = '${projectDirectory}/Rakefile'
|
9
|
-
|
10
|
-
[ source ]
|
11
|
-
softTabs = false
|
12
|
-
tabSize = 4
|
13
|
-
|
14
|
-
[ source.ruby ]
|
15
|
-
softTabs = false
|
16
|
-
tabSize = 4
|
17
|
-
|
18
|
-
[ source.ruby.rspec ]
|
19
|
-
softTabs = false
|
20
|
-
tabSize = 4
|
21
|
-
|
data/.travis.yml
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
sudo: required
|
2
|
-
dist: focal
|
3
|
-
services:
|
4
|
-
- docker
|
5
|
-
language: ruby
|
6
|
-
matrix:
|
7
|
-
include:
|
8
|
-
# i386: Intel 32-bit
|
9
|
-
- name: i386
|
10
|
-
|
11
|
-
language: generic
|
12
|
-
env:
|
13
|
-
- PGPATH="/usr/lib/postgresql/10/bin"
|
14
|
-
before_install: |
|
15
|
-
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes &&
|
16
|
-
docker build --rm --build-arg PGPATH="${PGPATH}" -t ruby-pg -f spec/env/Dockerfile.i386 .
|
17
|
-
script: |
|
18
|
-
docker run --rm -t --network=host ruby-pg
|
19
|
-
|
20
|
-
- rvm: "2.5"
|
21
|
-
env:
|
22
|
-
- "PGVERSION=9.3"
|
23
|
-
# Use Ubuntu-16.04 since postgresql-9.3 depends on openssl-1.0.0, which isn't available in 20.04
|
24
|
-
dist: xenial
|
25
|
-
- rvm: ruby-head
|
26
|
-
env:
|
27
|
-
- "PGVERSION=14"
|
28
|
-
- rvm: truffleruby
|
29
|
-
env:
|
30
|
-
- "PGVERSION=14"
|
31
|
-
|
32
|
-
allow_failures:
|
33
|
-
- rvm: ruby-head
|
34
|
-
fast_finish: true
|
35
|
-
|
36
|
-
before_install:
|
37
|
-
- bundle install
|
38
|
-
# Download and install postgresql version to test against in /opt (for non-cross compile only)
|
39
|
-
- echo "deb http://apt.postgresql.org/pub/repos/apt/ ${TRAVIS_DIST}-pgdg main $PGVERSION" | sudo tee -a /etc/apt/sources.list.d/pgdg.list
|
40
|
-
- wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
|
41
|
-
- sudo apt-get -y update
|
42
|
-
- sudo apt-get -y --allow-downgrades install postgresql-$PGVERSION libpq5=$PGVERSION* libpq-dev=$PGVERSION*
|
43
|
-
- export PATH=/usr/lib/postgresql/$PGVERSION/bin:$PATH
|
44
|
-
|
45
|
-
script:
|
46
|
-
- bundle exec rake compile test PG_DEBUG=0
|
47
|
-
|
48
|
-
after_failure:
|
49
|
-
- "find tmp -name mkmf.log | xargs cat"
|