diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-04 12:21:01 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-04 19:25:30 +0100 |
commit | a4c2a86fd9450e6824ed79a852ab1ab7ee45320e (patch) | |
tree | 13bd1f8d10820bda3f5c2d9cb54219d8505a2be5 /lib/bundler/lockfile_parser.rb | |
parent | d88d2b4e1a46706a14c8eb821c76aab2775209ff (diff) | |
download | bundler-a4c2a86fd9450e6824ed79a852ab1ab7ee45320e.tar.gz |
Auto-correct `Style/MutableConstant` rubocop offenses
Diffstat (limited to 'lib/bundler/lockfile_parser.rb')
-rw-r--r-- | lib/bundler/lockfile_parser.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/lockfile_parser.rb b/lib/bundler/lockfile_parser.rb index cd42919da2..19084f12b9 100644 --- a/lib/bundler/lockfile_parser.rb +++ b/lib/bundler/lockfile_parser.rb @@ -23,7 +23,7 @@ module Bundler PATH = "PATH".freeze PLUGIN = "PLUGIN SOURCE".freeze SPECS = " specs:".freeze - OPTIONS = /^ ([a-z]+): (.*)$/i + OPTIONS = /^ ([a-z]+): (.*)$/i.freeze SOURCE = [GIT, GEM, PATH, PLUGIN].freeze SECTIONS_BY_VERSION_INTRODUCED = { @@ -183,7 +183,7 @@ module Bundler (?:-(.*))?\))? # Optional platform (!)? # Optional pinned marker $ # Line end - /xo + /xo.freeze def parse_dependency(line) return unless line =~ NAME_VERSION |