8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
RESTRICT_ON_SEND
Bundler/GemVersion
1 parent adb7cee commit 60432f5Copy full SHA for 60432f5
lib/rubocop/cop/bundler/gem_version.rb
@@ -56,6 +56,7 @@ class GemVersion < Base
56
57
REQUIRED_MSG = 'Gem version specification is required.'
58
FORBIDDEN_MSG = 'Gem version specification is forbidden.'
59
+ RESTRICT_ON_SEND = %i[gem].freeze
60
VERSION_SPECIFICATION_REGEX = /^\s*[~<>=]*\s*[0-9.]+/.freeze
61
62
# @!method includes_version_specification?(node)
0 commit comments