Update to pg 1.3.5.
The tests in spec/pg/scheduler_spec.rb are now timing independent. The nonblocking code tests now use TCPGate helper instead of just waiting for timeout. Relevant comment: https://github.com/ged/ruby-pg/issues/424#issuecomment-1027252494 Resolves: rhbz#1814862
This commit is contained in:
parent
b89198914b
commit
86855274a8
@ -1,7 +1,7 @@
|
|||||||
diff --git a/ext/extconf.rb b/ext/extconf.rb
|
diff --git a/ext/extconf.rb b/ext/extconf.rb
|
||||||
--- a/ext/extconf.rb
|
--- a/ext/extconf.rb
|
||||||
+++ b/ext/extconf.rb
|
+++ b/ext/extconf.rb
|
||||||
@@ -33,13 +33,6 @@
|
@@ -54,13 +54,6 @@
|
||||||
else
|
else
|
||||||
incdir, libdir = dir_config 'pg'
|
incdir, libdir = dir_config 'pg'
|
||||||
dlldir = libdir
|
dlldir = libdir
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
%global gem_name pg
|
%global gem_name pg
|
||||||
|
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Version: 1.3.2
|
Version: 1.3.5
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A Ruby interface to the PostgreSQL RDBMS
|
Summary: A Ruby interface to the PostgreSQL RDBMS
|
||||||
# Upstream license clarification (https://bitbucket.org/ged/ruby-pg/issue/72/)
|
# Upstream license clarification (https://bitbucket.org/ged/ruby-pg/issue/72/)
|
||||||
@ -13,8 +13,8 @@ Summary: A Ruby interface to the PostgreSQL RDBMS
|
|||||||
License: (BSD or Ruby) and PostgreSQL
|
License: (BSD or Ruby) and PostgreSQL
|
||||||
URL: https://github.com/ged/ruby-pg
|
URL: https://github.com/ged/ruby-pg
|
||||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||||
# git clone https://github.com/ged/ruby-pg.git && cd ruby-pg
|
# git clone --no-checkout https://github.com/ged/ruby-pg.git
|
||||||
# git archive -v -o pg-1.3.2-spec.tar.gz v1.3.2 spec/
|
# git -C ruby-pg archive -v -o pg-1.3.5-spec.tar.gz v1.3.5 spec/
|
||||||
Source1: %{gem_name}-%{version}-spec.tar.gz
|
Source1: %{gem_name}-%{version}-spec.tar.gz
|
||||||
# Disable RPATH.
|
# Disable RPATH.
|
||||||
# https://github.com/ged/ruby-pg/issues/183
|
# https://github.com/ged/ruby-pg/issues/183
|
||||||
@ -87,15 +87,9 @@ sed -i -r 's|\\d\+\\\.\\d\+\\\.\\d\+\\\.\\d\+|(\0)?|' spec/pg/connection_spec.rb
|
|||||||
mv spec/pg/gc_compact_spec.rb{,.disable}
|
mv spec/pg/gc_compact_spec.rb{,.disable}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch armv7hl
|
# Disable flaky test. This is problematic on most architectures.
|
||||||
# Disable flaky tests.
|
|
||||||
# https://github.com/ged/ruby-pg/issues/424
|
# https://github.com/ged/ruby-pg/issues/424
|
||||||
sed -i \
|
sed -i -e '/it "needs to flush data after send_query" do/a\ skip' spec/pg/connection_spec.rb
|
||||||
-e '/it "waits when sending query data" do/a\ skip' \
|
|
||||||
-e '/it "can send lots of data per put_copy_data" do/a\ skip' \
|
|
||||||
-e '/it "should convert strings and parameters to #prepare and #exec_prepared" do/a\ skip' \
|
|
||||||
spec/pg/scheduler_spec.rb
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# Set --verbose to show detail log by $VERBOSE.
|
# Set --verbose to show detail log by $VERBOSE.
|
||||||
# See https://github.com/ged/ruby-pg/blob/master/spec/helpers.rb $VERBOSE
|
# See https://github.com/ged/ruby-pg/blob/master/spec/helpers.rb $VERBOSE
|
||||||
@ -132,12 +126,17 @@ popd
|
|||||||
%lang(ja) %doc %{gem_instdir}/README.ja.rdoc
|
%lang(ja) %doc %{gem_instdir}/README.ja.rdoc
|
||||||
%doc %{gem_instdir}/README.rdoc
|
%doc %{gem_instdir}/README.rdoc
|
||||||
%{gem_instdir}/Rakefile*
|
%{gem_instdir}/Rakefile*
|
||||||
|
%{gem_instdir}/rakelib/*
|
||||||
%{gem_instdir}/certs
|
%{gem_instdir}/certs
|
||||||
%{gem_instdir}/misc
|
%{gem_instdir}/misc
|
||||||
%{gem_instdir}/pg.gemspec
|
%{gem_instdir}/pg.gemspec
|
||||||
%{gem_instdir}/sample
|
%{gem_instdir}/sample
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 12 2022 Jarek Prokop <jprokop@redhat.com> - 1.3.5-1
|
||||||
|
- Update to pg 1.3.5.
|
||||||
|
Resolves: rhbz#1814862
|
||||||
|
|
||||||
* Thu Feb 17 2022 Pavel Valena <pvalena@redhat.com> - 1.3.2-1
|
* Thu Feb 17 2022 Pavel Valena <pvalena@redhat.com> - 1.3.2-1
|
||||||
- Update to pg 1.3.2.
|
- Update to pg 1.3.2.
|
||||||
Resolves: rhbz#1814862
|
Resolves: rhbz#1814862
|
||||||
|
4
sources
4
sources
@ -1,2 +1,2 @@
|
|||||||
SHA512 (pg-1.3.2.gem) = bd7ffc7b5e0c652c4c7801732b8860164d6933e4c8b1deb173d4e0cbefeedb4dc6f2428ef44f96cc692f2739595eb94abbf7f5df4a35ba655830f55b6176f999
|
SHA512 (pg-1.3.5.gem) = e603e0b8dceb710d1ad01352589a7aa1af3aa002379a0fa05d6183f99572ae5e4b3be5704d7910abdd450ee225ba84e699487571499c4640afdae2d4f809631a
|
||||||
SHA512 (pg-1.3.2-spec.tar.gz) = c2b24de93fdd427b398580ce132d4fd956d4d10fb1983988feb1d36f7a90745973236c20a6265e34fee6d7f203b06289d4cfc04f0a1404b499ab3754fdc1eeb4
|
SHA512 (pg-1.3.5-spec.tar.gz) = 97f5203ff8ba5391c50913f4c08ca31b4b9571eb982d405e7e7408d512e4555c3a5a241282ea3ae26911a77bfa6c096ac7e9e7141529674225c85804c2dd7480
|
||||||
|
Loading…
Reference in New Issue
Block a user