aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/lockfile_parser.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-05-30 20:25:29 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-05-30 21:50:07 +0900
commit4bbeed61346d6016e2d72818e8068bedcb9f006d (patch)
treeddf1b23eb0e63a47efa8cc1fc0b72652e3dac354 /lib/bundler/lockfile_parser.rb
parent30b960ba345fd462f98db204f47bba66819d9884 (diff)
downloadruby-4bbeed61346d6016e2d72818e8068bedcb9f006d.tar.gz
Merge RubyGems/Bundler master from 4076391fce5847689bf2ec402b17133fe4e32285
Diffstat (limited to 'lib/bundler/lockfile_parser.rb')
-rw-r--r--lib/bundler/lockfile_parser.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/lockfile_parser.rb b/lib/bundler/lockfile_parser.rb
index 97cbf211ba..7360a36752 100644
--- a/lib/bundler/lockfile_parser.rb
+++ b/lib/bundler/lockfile_parser.rb
@@ -26,6 +26,7 @@ module Bundler
KNOWN_SECTIONS = SECTIONS_BY_VERSION_INTRODUCED.values.flatten.freeze
ENVIRONMENT_VERSION_SECTIONS = [BUNDLED, RUBY].freeze
+ deprecate_constant(:ENVIRONMENT_VERSION_SECTIONS)
def self.sections_in_lockfile(lockfile_contents)
lockfile_contents.scan(/^\w[\w ]*$/).uniq