Skip to content

Commit 60432f5

Browse files
committed
Apply RESTRICT_ON_SEND to Bundler/GemVersion
1 parent adb7cee commit 60432f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/rubocop/cop/bundler/gem_version.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ class GemVersion < Base
5656

5757
REQUIRED_MSG = 'Gem version specification is required.'
5858
FORBIDDEN_MSG = 'Gem version specification is forbidden.'
59+
RESTRICT_ON_SEND = %i[gem].freeze
5960
VERSION_SPECIFICATION_REGEX = /^\s*[~<>=]*\s*[0-9.]+/.freeze
6061

6162
# @!method includes_version_specification?(node)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy