semian-postgres 0.1.3 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -2
- data/lib/semian/pg/version.rb +1 -1
- data/lib/semian/pg.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c3e441ae0e330999515e17096bb6c9f749dd0269c4eb949632171e72a17df74
|
4
|
+
data.tar.gz: 03e29454ae5d007293be18a4f804599ad7bdb83064d24ca7225eb8b05c676cca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4579afda9ecb72a8c109b6e3fac5372727d6e6ef897404c5f96ffbe83125ba8d71ad3ef992a823e1787b30e48521da4ca73f296b6806da50ac41b3b35f29fc3c
|
7
|
+
data.tar.gz: 724b8ac29f3aa28f85f2e3bf04c751d7533e47f23ecfefc311099edd5c78edcec5db9dccc5614779314c9f3de2525d12d7b9e472aca0d134b5d7c82631a535b9
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# semian-postgres
|
2
2
|
|
3
3
|
![CI Workflow](https://github.com/mschoenlaub/semian-postgres/actions/workflows/ci.yml/badge.svg)
|
4
|
-
[![Gem Version](https://badge.fury.io/rb/semian-postgres.svg)](https://badge.fury.io/rb/semian-postgres)
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/semian-postgres.svg?kill_cache=1)](https://badge.fury.io/rb/semian-postgres)
|
5
5
|
|
6
6
|
This library provides a Postgres adapter for [Semian](https://github.com/Shopify/semian) by wrapping the [pg gem](https://rubygems.org/gems/pg)
|
7
7
|
Semian is a resiliency toolkit for Ruby applications that provides a way to protect your application from external failures by limiting the number of resources that can be used at a time.
|
@@ -12,7 +12,7 @@ You can read more about Semian [here](https://github.com/Shopify/semian)).
|
|
12
12
|
Add the gem to your `Gemfile` and require it in your application.
|
13
13
|
|
14
14
|
```ruby
|
15
|
-
gem 'semian-
|
15
|
+
gem 'semian-postgres', require: %w(semian semian/pg)
|
16
16
|
```
|
17
17
|
|
18
18
|
|
@@ -69,6 +69,12 @@ docker compose exec dev rake rubocop spec
|
|
69
69
|
|
70
70
|
Bug reports and pull requests are welcome on [GitHub](https://github.com/mschoenlaub/semian-postgres).
|
71
71
|
|
72
|
+
### Thanks to everyone that has already contributed
|
73
|
+
|
74
|
+
<a href="https://github.com/mschoenlaub/semian-postgres/graphs/contributors">
|
75
|
+
<img src="https://contrib.rocks/image?repo=mschoenlaub/semian-postgres" alt="Pictures of the folks who have contributed to the project" />
|
76
|
+
</a>
|
77
|
+
|
72
78
|
|
73
79
|
## License
|
74
80
|
|
data/lib/semian/pg/version.rb
CHANGED
data/lib/semian/pg.rb
CHANGED
@@ -133,7 +133,7 @@ module Semian
|
|
133
133
|
|
134
134
|
private
|
135
135
|
|
136
|
-
def _iopts(*args)
|
136
|
+
def _iopts(*args) # rubocop:disable Metrics/AbcSize
|
137
137
|
option_string = parse_connect_args(*args)
|
138
138
|
iopts = conninfo_parse(option_string).each_with_object({}) do |h, o|
|
139
139
|
o[h[:keyword].to_sym] = h[:val] if h[:val]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: semian-postgres
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manuel Schönlaub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: 0.16.0
|
34
34
|
- - "<"
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 0.
|
36
|
+
version: 0.22.0
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: 0.16.0
|
44
44
|
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.
|
46
|
+
version: 0.22.0
|
47
47
|
description:
|
48
48
|
email:
|
49
49
|
- manuel.schonlaub@prodigygame.com
|
@@ -61,7 +61,7 @@ licenses:
|
|
61
61
|
metadata:
|
62
62
|
homepage_uri: https://github.com/mschoenlaub/semian-postgres
|
63
63
|
source_code_uri: https://github.com/mschoenlaub/semian-postgres
|
64
|
-
changelog_uri: https://github.com/mschoenlaub/semian-postgres/main/CHANGELOG.md
|
64
|
+
changelog_uri: https://github.com/mschoenlaub/semian-postgres/blob/main/CHANGELOG.md
|
65
65
|
github_repo: ssh://github.com/mschoenlaub/semian-postgres
|
66
66
|
rubygems_mfa_required: 'true'
|
67
67
|
post_install_message:
|