semian-postgres 0.1.3 → 0.1.5

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: 73cf137c03d806d9aff6b4970a36696fc4c4e5a59adef59b4dc3bf59047e7be5
4
- data.tar.gz: f894ad4f3eef28d25809fd216c7092378970553ff29d3f555603abb7113e1576
3
+ metadata.gz: 2c3e441ae0e330999515e17096bb6c9f749dd0269c4eb949632171e72a17df74
4
+ data.tar.gz: 03e29454ae5d007293be18a4f804599ad7bdb83064d24ca7225eb8b05c676cca
5
5
  SHA512:
6
- metadata.gz: 4f1e0d14332077e7da7572b26592b7d3eeb181c79c2f7f1beadb10b339190d7892d862eb736b3d1fbcc3d18e86dc8647c29d18894f91269ddf7dc2845e528da1
7
- data.tar.gz: 170989c401d813e9f084f99c4a9b89e55988b1f6dcf5ce84ec0ac6f7e95d55066c5fdefdfb7df321f428a30464eddcac7f4013df283bbb5023746cfe86fe1977
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-pg', require: %w(semian semian/pg)
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
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Semian
4
4
  module PG
5
- VERSION = '0.1.3'
5
+ VERSION = '0.1.5'
6
6
  end
7
7
  end
data/lib/semian/pg.rb CHANGED
@@ -133,7 +133,7 @@ module Semian
133
133
 
134
134
  private
135
135
 
136
- def _iopts(*args) # rubocop:disable Metrics/AbcSize
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.3
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: 2023-09-08 00:00:00.000000000 Z
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.18.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.18.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: