semian-postgres 0.1.4 → 0.1.6

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: 83e7aef5dcc1473a2fd0a32ea0778a6eb9d34a9edf78d351f9d40768b3b6cf6c
4
+ data.tar.gz: 6cf758ca5b9d505a5e511ec7c0a62f4fe78e5c137de83f8c0b6e4b293e2028cb
5
5
  SHA512:
6
- metadata.gz: 9207ee1fbe5c3083e7c102b5da1188e8205987cc158078f5f59e2d05e56ea71894ca138a933948edeaa14ce992aa6aca0d37504d1537045adbfbdeee7ca110e4
7
- data.tar.gz: 2e3997214743e12cd5aab9c0fd39a0abbd5b2def53a63a0e100354f6cb03f3abf69a380654ba06bd6bc4736b6bda662ae89139ca2d885eefd6df51815828ef0e
6
+ metadata.gz: 2c75640cc11204511cf81e02e4a8f9e87806adcdd0de7dab4e8b93032b6058d9438a6143cf44a6be5b34c8d664de36c6e95f3fa31757fafd8c0d7c5295fc0af4
7
+ data.tar.gz: 839c8da5cb35af4161957b902d8488cf85e4ec0d7021942264d55a02a675b01eb6d4719a19c94a5adc373605af1e789436991f0813226ff8a5d5bae0571e9145
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
 
@@ -30,7 +30,7 @@ Bulkheading is disabled, because this is not supported with servers that have a
30
30
 
31
31
  ```ruby
32
32
  require "semian"
33
- require "semian/postgres"
33
+ require "semian/pg"
34
34
 
35
35
  SEMIAN_PARAMETERS = {
36
36
  circuit_breaker: true,
@@ -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.6'
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,29 +1,35 @@
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.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel Schönlaub
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-24 00:00:00.000000000 Z
11
+ date: 2024-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.5.0
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 1.5.9
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: 1.5.0
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: 1.5.9
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: semian
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -33,7 +39,7 @@ dependencies:
33
39
  version: 0.16.0
34
40
  - - "<"
35
41
  - !ruby/object:Gem::Version
36
- version: 0.20.0
42
+ version: 0.22.0
37
43
  type: :runtime
38
44
  prerelease: false
39
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -43,8 +49,8 @@ dependencies:
43
49
  version: 0.16.0
44
50
  - - "<"
45
51
  - !ruby/object:Gem::Version
46
- version: 0.20.0
47
- description:
52
+ version: 0.22.0
53
+ description:
48
54
  email:
49
55
  - manuel.schonlaub@prodigygame.com
50
56
  executables: []
@@ -64,7 +70,7 @@ metadata:
64
70
  changelog_uri: https://github.com/mschoenlaub/semian-postgres/blob/main/CHANGELOG.md
65
71
  github_repo: ssh://github.com/mschoenlaub/semian-postgres
66
72
  rubygems_mfa_required: 'true'
67
- post_install_message:
73
+ post_install_message:
68
74
  rdoc_options: []
69
75
  require_paths:
70
76
  - lib
@@ -79,8 +85,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
85
  - !ruby/object:Gem::Version
80
86
  version: '0'
81
87
  requirements: []
82
- rubygems_version: 3.3.26
83
- signing_key:
88
+ rubygems_version: 3.0.3.1
89
+ signing_key:
84
90
  specification_version: 4
85
91
  summary: Semian adapter for Postgres
86
92
  test_files: []