Sync from SUSE:SLFO:Main rubygem-connection_pool revision c8431c4658b28a3a32ddc2e9d30f7742
This commit is contained in:
commit
d05e871a68
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
connection_pool-2.4.1.gem
(Stored with Git LFS)
Normal file
BIN
connection_pool-2.4.1.gem
(Stored with Git LFS)
Normal file
Binary file not shown.
70
gem2rpm.yml
Normal file
70
gem2rpm.yml
Normal file
@ -0,0 +1,70 @@
|
||||
# ---
|
||||
# ## used by gem2rpm
|
||||
# :summary: this is a custom summary
|
||||
# ## used by gem2rpm
|
||||
# :description: |-
|
||||
# this is a custom description
|
||||
#
|
||||
# it can be multiline
|
||||
# ## used by gem2rpm
|
||||
# :license: MIT or Ruby
|
||||
# ## used by gem2rpm and gem_packages
|
||||
# :version_suffix: -x_y
|
||||
# ## used by gem2rpm and gem_packages
|
||||
# :disable_docs: true
|
||||
# ## used by gem2rpm
|
||||
# :disable_automatic_rdoc_dep: true
|
||||
# ## used by gem2rpm
|
||||
# :preamble: |-
|
||||
# BuildRequires: foobar
|
||||
# Requires: foobar
|
||||
# ## used by gem2rpm
|
||||
# :patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
# ## used by gem2rpm
|
||||
:sources:
|
||||
# - foo.desktop
|
||||
# - bar.desktop
|
||||
# :gem_install_args: '....'
|
||||
# ## used by gem2rpm
|
||||
# :pre_install: |-
|
||||
# %if 0%{?use_system_libev}
|
||||
# export USE_VENDORED_LIBEV="no"
|
||||
# %endif
|
||||
# ## used by gem2rpm
|
||||
# :post_install: |-
|
||||
# # delete custom files here or do other fancy stuff
|
||||
# install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse
|
||||
# ## used by gem2rpm
|
||||
# :testsuite_command: |-
|
||||
# (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test)
|
||||
# ## used by gem2rpm
|
||||
# :filelist: |-
|
||||
# /usr/bin/gem2rpm-opensuse
|
||||
# ## used by gem2rpm
|
||||
# :scripts:
|
||||
# :post: |-
|
||||
# /bin/echo foo
|
||||
# ## used by gem_packages
|
||||
# :main:
|
||||
# :preamble: |-
|
||||
# Requires: util-linux
|
||||
# Recommends: pwgen
|
||||
# :filelist: |-
|
||||
# /usr/bin/gem2rpm-opensuse
|
||||
# ## used by gem_packages
|
||||
# :custom:
|
||||
# apache:
|
||||
# :preamble: |-
|
||||
# Requires: .....
|
||||
# :filelist: |-
|
||||
# /etc/apache2/conf.d/passenger.conf
|
||||
# :summary: Custom summary is optional
|
||||
# :description: |-
|
||||
# Custom description is optional
|
||||
#
|
||||
# bar
|
||||
# :post: |-
|
||||
# /bin/echo foo
|
||||
#
|
143
rubygem-connection_pool.changes
Normal file
143
rubygem-connection_pool.changes
Normal file
@ -0,0 +1,143 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 2 15:42:47 UTC 2023 - Dan Čermák <dan.cermak@posteo.net>
|
||||
|
||||
- 2.4.1
|
||||
------
|
||||
|
||||
- New `auto_reload_after_fork` config option to disable auto-drop [#177, shayonj]
|
||||
|
||||
2.4.0
|
||||
------
|
||||
|
||||
- Automatically drop all connections after fork [#166]
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 10 13:01:38 UTC 2022 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
updated to version 2.3.0
|
||||
see installed Changes.md
|
||||
|
||||
2.3.0
|
||||
------
|
||||
|
||||
- Minimum Ruby version is now 2.5.0
|
||||
- Add pool size to TimeoutError message
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 24 17:12:24 UTC 2021 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
updated to version 2.2.5
|
||||
see installed Changes.md
|
||||
|
||||
2.2.5
|
||||
------
|
||||
|
||||
- Fix argument forwarding on Ruby 2.7 [#149]
|
||||
|
||||
2.2.4
|
||||
------
|
||||
|
||||
- Add `reload` to close all connections, recreating them afterwards [Andrew Marshall, #140]
|
||||
- Add `then` as a way to use a pool or a bare connection with the same code path [#138]
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 25 13:47:48 UTC 2020 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
updated to version 2.2.3
|
||||
see installed Changes.md
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 24 18:03:56 UTC 2018 - factory-auto@kulow.org
|
||||
|
||||
- updated to version 2.2.2
|
||||
see installed Changes.md
|
||||
|
||||
2.2.2
|
||||
------
|
||||
|
||||
- Add pool `size` and `available` accessors for metrics and monitoring
|
||||
purposes [#97, robholland]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 13 05:31:35 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to version 2.2.1
|
||||
see installed Changes.md
|
||||
|
||||
2.2.1
|
||||
------
|
||||
|
||||
- Allow CP::Wrapper to use an existing pool [#87, etiennebarrie]
|
||||
- Use monotonic time for more accurate timeouts [#84, jdantonio]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 11 04:29:07 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to version 2.2.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 20 05:33:27 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to version 2.1.3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 3 05:29:23 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to version 2.1.2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 7 07:21:14 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to version 2.1.1
|
||||
- Work around a subtle race condition with code which uses `Timeout.timeout` and
|
||||
checks out a connection within the timeout block. This might cause
|
||||
connections to get into a bad state and raise very odd errors. [tamird, #67]
|
||||
|
||||
2.1.0
|
||||
------
|
||||
|
||||
- Refactoring to better support connection pool subclasses [drbrain,
|
||||
#55]
|
||||
- `with` should return value of the last expression [#59]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 13 09:47:33 UTC 2014 - coolo@suse.com
|
||||
|
||||
- adapt to new rubygem packaging
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 15 18:46:01 UTC 2014 - coolo@suse.com
|
||||
|
||||
- updated to version 2.0.0
|
||||
- The connection pool is now lazy. Connections are created as needed
|
||||
and retained until the pool is shut down. [drbrain, #52]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 27 08:19:00 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to version 1.2.0
|
||||
- Add `with(options)` and `checkout(options)`. [mattcamuto]
|
||||
Allows the caller to override the pool timeout.
|
||||
```ruby
|
||||
@pool.with(:timeout => 2) do |conn|
|
||||
end
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 31 05:45:54 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to version 1.1.0
|
||||
- New `#shutdown` method (simao)
|
||||
|
||||
This method accepts a block and calls the block for each
|
||||
connection in the pool. After calling this method, trying to get a
|
||||
connection from the pool raises `PoolShuttingDownError`.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 25 17:00:44 UTC 2012 - coolo@suse.com
|
||||
|
||||
- initial package (version 1.0.0)
|
||||
|
54
rubygem-connection_pool.spec
Normal file
54
rubygem-connection_pool.spec
Normal file
@ -0,0 +1,54 @@
|
||||
#
|
||||
# spec file for package rubygem-connection_pool
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
#
|
||||
# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
|
||||
# All sections marked as MANUAL, license headers, summaries and descriptions
|
||||
# can be maintained in that file. Please consult this file before editing any
|
||||
# of those fields
|
||||
#
|
||||
|
||||
Name: rubygem-connection_pool
|
||||
Version: 2.4.1
|
||||
Release: 0
|
||||
%define mod_name connection_pool
|
||||
%define mod_full_name %{mod_name}-%{version}
|
||||
BuildRequires: ruby-macros >= 5
|
||||
BuildRequires: %{ruby >= 2.5.0}
|
||||
BuildRequires: %{rubygem gem2rpm}
|
||||
Url: https://github.com/mperham/connection_pool
|
||||
Source: https://rubygems.org/gems/%{mod_full_name}.gem
|
||||
Source1: gem2rpm.yml
|
||||
Summary: Generic connection pool for Ruby
|
||||
License: MIT
|
||||
|
||||
%description
|
||||
Generic connection pool for Ruby.
|
||||
|
||||
%prep
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
%gem_install \
|
||||
--doc-files="Changes.md LICENSE README.md" \
|
||||
-f
|
||||
|
||||
%gem_packages
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user