Skip to content

Conversation

@damacus
Copy link
Member

@damacus damacus commented Oct 9, 2025

Cookstyle Automated Changes

This pull request applies automatic Cookstyle fixes to ensure code quality and consistency.

Changes Made

  • libraries/access.rb: Naming/BinaryOperatorParameterName
  • libraries/helpers.rb: Style/RedundantParentheses
  • libraries/ident.rb: Style/RedundantFilterChain, Naming/BinaryOperatorParameterName
  • libraries/sql/role.rb: Style/RedundantInterpolation
  • resources/config.rb: Style/SymbolProc
  • resources/database.rb: Style/SymbolProc
  • resources/install.rb: Style/SymbolProc, Lint/RedundantStringCoercion
  • resources/role.rb: Style/SymbolProc
  • test/cookbooks/test/recipes/all_repos_install.rb: Layout/FirstHashElementIndentation
  • test/cookbooks/test/recipes/no_repos_install.rb: Layout/FirstHashElementIndentation
  • test/cookbooks/test/recipes/server_install.rb: Layout/FirstHashElementIndentation
  • test/cookbooks/test/recipes/server_install_os.rb: Layout/FirstHashElementIndentation
  • test/integration/initdb_locale/controls/default_spec.rb: Style/RedundantInterpolation

Summary

  • Total offenses detected: 24
  • Files with issues: 13

This issue was automatically generated by the GitHub Cookstyle Runner.

This change is automatically generated by the GitHub Cookstyle Runner.
@damacus damacus requested a review from a team as a code owner October 9, 2025 12:25
@github-actions
Copy link

github-actions bot commented Oct 9, 2025

Slowest examples

Top 10 slowest examples (0.01 seconds, 49.72% of total time)
Example Description Time in seconds
spec/libraries/helpers_spec.rb:19 PostgreSQL::Cookbook::Helpers#data_dir(version) with rhel family and Postgres 11 from repo returns the correct path 0.01369
spec/libraries/helpers_spec.rb:111 PostgreSQL::Cookbook::Helpers#default_platform_service_name(version) with debian family and Postgres 11 from repo returns the correct service name 0.00045
spec/libraries/helpers_spec.rb:35 PostgreSQL::Cookbook::Helpers#data_dir(version) with debian family and Postgres 11 from repo returns the correct path 0.00041
spec/libraries/helpers_spec.rb:35 PostgreSQL::Cookbook::Helpers#data_dir(version) with debian family and Postgres 14 from repo returns the correct path 0.0004
spec/libraries/helpers_spec.rb:119 PostgreSQL::Cookbook::Helpers#default_platform_service_name(version) with debian family and Postgres 12 from os returns the correct service name 0.0004
spec/libraries/helpers_spec.rb:27 PostgreSQL::Cookbook::Helpers#data_dir(version) with rhel family and Postgres 11 from os returns the correct path 0.0004
spec/libraries/helpers_spec.rb:35 PostgreSQL::Cookbook::Helpers#data_dir(version) with debian family and Postgres 15 from repo returns the correct path 0.00039
spec/libraries/helpers_spec.rb:35 PostgreSQL::Cookbook::Helpers#data_dir(version) with debian family and Postgres 13 from repo returns the correct path 0.00039
spec/libraries/helpers_spec.rb:65 PostgreSQL::Cookbook::Helpers#conf_dir(version) with rhel family and Postgres 11 from os returns the correct path 0.00039
spec/libraries/helpers_spec.rb:65 PostgreSQL::Cookbook::Helpers#conf_dir(version) with rhel family and Postgres 12 from os returns the correct path 0.00039

@damacus damacus closed this Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants