Skip to content

Commit 5b54787

Browse files
authored
Merge branch 'main' into automated/standardfiles
2 parents a29e95e + 7520cb2 commit 5b54787

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ This file is used to list changes made in the last 3 major versions of the postg
66

77
Standardise files with files in sous-chefs/repo-management
88

9-
Standardise files with files in sous-chefs/repo-management
9+
## 12.0.1 - *2024-11-10*
1010

11-
Standardise files with files in sous-chefs/repo-management
11+
- resolved cookstyle error: `libraries/sql/_connection.rb:77:11` refactor: `Chef/Style/UnnecessaryPlatformCaseStatement`
1212

1313
## 12.0.0 - *2024-11-05*
1414

libraries/sql/_connection.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ def install_pg_gem
7474
'libpq5'
7575
end
7676

77-
case node['platform_family']
78-
when 'rhel'
77+
if platform_family?('rhel')
7978
case node['platform_version'].to_i
8079
when 7
8180
declare_resource(:package, 'epel-release') { compile_time(true) }

metadata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
maintainer_email '[email protected]'
44
license 'Apache-2.0'
55
description 'Installs and configures postgresql for clients or servers'
6-
version '12.0.0'
6+
version '12.0.1'
77
source_url 'https://github.com/sous-chefs/postgresql'
88
issues_url 'https://github.com/sous-chefs/postgresql/issues'
99
chef_version '>= 16.0'

0 commit comments

Comments
 (0)