Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.41.1 to 1.42.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rubocop/rubocop/releases">rubocop's releases</a>.</em></p> <blockquote> <h2>RuboCop 1.42</h2> <h3>New features</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11339">#11339</a>: Add new <code>Style/MapToSet</code> cop. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11341">#11341</a>: Add new <code>Style/MinMaxComparison</code> cop. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9222">#9222</a>: Add new <code>Style/YodaExpression</code> cop. (<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11261">#11261</a>: Allow inherit_from to accept a glob. (<a href="https://github.com/alexevanczuk"><code>@alexevanczuk</code></a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11204">#11204</a>: Fix a false negative for <code>Lint/RedundantCopDisableDirective</code> when using <code>--except</code> command line option. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11369">#11369</a>: Fix an error for <code>Lint/UselessRuby2Keywords</code> when using <code>Proc#ruby2_keywords</code>. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11351">#11351</a>: Fix an incorrect autocorrect for <code>Lint/RegexpAsCondition</code> when using regexp literal with bang. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11329">#11329</a>: Accept simple freezed constants in <code>Layout/ClassStructure</code> and correctly handle class methods. (<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11344">#11344</a>: Fix an error for <code>Style/GuardClause</code> when using heredoc as an argument of raise in <code>then</code> branch and it does not have <code>else</code> branch. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11335">#11335</a>: Fix an error for <code>Style/RequireOrder</code> when only one <code>reuqire</code>. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11348">#11348</a>: Fix an error for <code>Style/SelectByRegexp</code> when block body is empty. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11320">#11320</a>: Fix a false positive for <code>Lint/RequireParentheses</code> when assigning ternary operator. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11361">#11361</a>: Make <code>Style/MethodDefParentheses</code> aware of Ruby 3.2's anonymous rest and keyword rest arguments. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11346">#11346</a>: Fix a false positive for <code>Style/RedundantStringEscape</code> when using escaped space in heredoc. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10858">#10858</a>: Fix <code>Style/IdenticalConditionalBranches</code> to ignore identical leading lines when branch has single child and is used in return context. (<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11237">#11237</a>: Fix <code>Layout/CommentIndentation</code> comment aligned with access modifier indentation when EnforcedStyle is outdent. (<a href="https://github.com/soroktree"><code>@soroktree</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11330">#11330</a>: Fix an error for <code>Style/RequireOrder</code> when using <code>require</code> inside <code>rescue</code> body. (<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/8751">#8751</a>: Accept <code>super</code> within ranges for <code>Layout/SpaceAroundKeyword</code> cop. (<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10194">#10194</a>: Accept bracketed arrays within 2d arrays containing subarrays with complex content for <code>Style/WordArray</code> cop. (<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>)</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/8366">#8366</a>: Ignore private constants in <code>Layout/ClassStructure</code> cop. (<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11325">#11325</a>: Support autocorrection for percent literals in <code>Style/ConcatArrayLiterals</code>. (<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11327">#11327</a>: Make <code>Style/ZeroLengthPredicate</code> aware of <code>array.length.zero?</code>. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10976">#10976</a>: Support pattern matching for <code>Lint/OutOfRangeRegexpRef</code> cop. (<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md">rubocop's changelog</a>.</em></p> <blockquote> <h2>1.42.0 (2023-01-01)</h2> <h3>New features</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11339">#11339</a>: Add new <code>Style/MapToSet</code> cop. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11341">#11341</a>: Add new <code>Style/MinMaxComparison</code> cop. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9222">#9222</a>: Add new <code>Style/YodaExpression</code> cop. ([<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11261">#11261</a>: Allow inherit_from to accept a glob. ([<a href="https://github.com/alexevanczuk"><code>@alexevanczuk</code></a>][])</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11204">#11204</a>: Fix a false negative for <code>Lint/RedundantCopDisableDirective</code> when using <code>--except</code> command line option. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11369">#11369</a>: Fix an error for <code>Lint/UselessRuby2Keywords</code> when using <code>Proc#ruby2_keywords</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11351">#11351</a>: Fix an incorrect autocorrect for <code>Lint/RegexpAsCondition</code> when using regexp literal with bang. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11329">#11329</a>: Accept simple freezed constants in <code>Layout/ClassStructure</code> and correctly handle class methods. ([<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11344">#11344</a>: Fix an error for <code>Style/GuardClause</code> when using heredoc as an argument of raise in <code>then</code> branch and it does not have <code>else</code> branch. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11335">#11335</a>: Fix an error for <code>Style/RequireOrder</code> when only one <code>reuqire</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11348">#11348</a>: Fix an error for <code>Style/SelectByRegexp</code> when block body is empty. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11320">#11320</a>: Fix a false positive for <code>Lint/RequireParentheses</code> when assigning ternary operator. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11361">#11361</a>: Make <code>Style/MethodDefParentheses</code> aware of Ruby 3.2's anonymous rest and keyword rest arguments. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11346">#11346</a>: Fix a false positive for <code>Style/RedundantStringEscape</code> when using escaped space in heredoc. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10858">#10858</a>: Fix <code>Style/IdenticalConditionalBranches</code> to ignore identical leading lines when branch has single child and is used in return context. ([<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11237">#11237</a>: Fix <code>Layout/CommentIndentation</code> comment aligned with access modifier indentation when EnforcedStyle is outdent. ([<a href="https://github.com/soroktree"><code>@soroktree</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11330">#11330</a>: Fix an error for <code>Style/RequireOrder</code> when using <code>require</code> inside <code>rescue</code> body. ([<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/8751">#8751</a>: Accept <code>super</code> within ranges for <code>Layout/SpaceAroundKeyword</code> cop. ([<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10194">#10194</a>: Accept bracketed arrays within 2d arrays containing subarrays with complex content for <code>Style/WordArray</code> cop. ([<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>][])</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/8366">#8366</a>: Ignore private constants in <code>Layout/ClassStructure</code> cop. ([<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11325">#11325</a>: Support autocorrection for percent literals in <code>Style/ConcatArrayLiterals</code>. ([<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11327">#11327</a>: Make <code>Style/ZeroLengthPredicate</code> aware of <code>array.length.zero?</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10976">#10976</a>: Support pattern matching for <code>Lint/OutOfRangeRegexpRef</code> cop. ([<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>][])</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="0f7416a0b3"><code>0f7416a</code></a> Cut 1.42</li> <li><a href="b58c2cd6de"><code>b58c2cd</code></a> Update Changelog</li> <li><a href="d8e5332b7c"><code>d8e5332</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11372">#11372</a> from koic/ci_against_ruby_3_2_on_windows</li> <li><a href="ac9e723659"><code>ac9e723</code></a> CI against Ruby 3.2 on Windows</li> <li><a href="33bf9a0252"><code>33bf9a0</code></a> Fix an error for <code>Lint/UselessRuby2Keywords</code></li> <li><a href="3cce8c8443"><code>3cce8c8</code></a> Fix <code>Style/WordArray</code> for subarrays</li> <li><a href="d5c303a85c"><code>d5c303a</code></a> Bump license years to 2023</li> <li><a href="32e13c5812"><code>32e13c5</code></a> Improve offense message for <code>Style/YodaExpression</code> cop</li> <li><a href="d4aeaf1fe5"><code>d4aeaf1</code></a> [Doc] Update the doc for <code>Style/MinMaxComparison</code></li> <li><a href="7b4adef766"><code>7b4adef</code></a> Add examples for 2d arrays to <code>Style/WordArray</code> cop</li> <li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.41.1...v1.42.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Firezone is a self-hosted VPN server and Linux firewall
- Manage remote access through an intuitive web interface and CLI utility.
- Deploy on your own infrastructure to keep control of your network traffic.
- Built on WireGuard® to be stable, performant, and lightweight.
Get Started
Follow our deploy guide to install your self-hosted instance of Firezone.
Or, if you're on a supported platform, try our auto-install script.
Using Firezone in production at your organization? Take a look at our Enterprise Plan.
Features
- Fast: Uses WireGuard® to be 3-4 times faster than OpenVPN.
- SSO Integration: Authenticate using any identity provider with an OpenID Connect (OIDC) connector.
- Containerized: All dependencies are bundled via Docker.
- Simple: Takes minutes to set up. Manage via a simple CLI.
- Secure: Runs unprivileged. HTTPS enforced. Encrypted cookies.
- Firewall included: Uses Linux nftables to block unwanted egress traffic.
Anti-features
Firezone is not:
- An inbound firewall
- A tool for creating mesh networks
- A full-featured router
- An IPSec or OpenVPN server
Documentation
Additional documentation on general usage, troubleshooting, and configuration can be found at https://docs.firezone.dev.
Get Help
If you're looking for help installing, configuring, or using Firezone, check our community support options:
- Discussion Forums: Ask questions, report bugs, and suggest features.
- Public Slack Group: Join live discussions, meet other users, and get to know the contributors.
- Open a PR: Contribute a bugfix or make a contribution to Firezone.
If you need help deploying or maintaining Firezone for your business, consider contacting us about our paid support plan.
Star History
Package Repository
Package repository hosting is graciously provided by Cloudsmith. Cloudsmith is the only fully hosted, cloud-native, universal package management solution, that enables your organization to create, store and share packages in any format, to any place, with total confidence.
Developing and Contributing
See CONTRIBUTING.md.
Security
See SECURITY.md.
License
See LICENSE.
WireGuard® is a registered trademark of Jason A. Donenfeld.


