semian-postgres 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8b3f590389eb04c069b23932de9ed4d57b7343f5f71e306746111814eb2d94dc
4
- data.tar.gz: '09016c97548d22b802c8e12061a08c48a552d69263b0ca564228adcb32aee514'
3
+ metadata.gz: 2c3e441ae0e330999515e17096bb6c9f749dd0269c4eb949632171e72a17df74
4
+ data.tar.gz: 03e29454ae5d007293be18a4f804599ad7bdb83064d24ca7225eb8b05c676cca
5
5
  SHA512:
6
- metadata.gz: 9207ee1fbe5c3083e7c102b5da1188e8205987cc158078f5f59e2d05e56ea71894ca138a933948edeaa14ce992aa6aca0d37504d1537045adbfbdeee7ca110e4
7
- data.tar.gz: 2e3997214743e12cd5aab9c0fd39a0abbd5b2def53a63a0e100354f6cb03f3abf69a380654ba06bd6bc4736b6bda662ae89139ca2d885eefd6df51815828ef0e
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.4'
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.4
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: 2024-01-24 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.20.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.20.0
46
+ version: 0.22.0
47
47
  description:
48
48
  email:
49
49
  - manuel.schonlaub@prodigygame.com