diff options
author | Eric Mueller <[email protected]> | 2023-11-19 08:06:40 -0500 |
---|---|---|
committer | git <[email protected]> | 2023-11-23 18:03:17 +0000 |
commit | 055a4f09ca8ef6852280d66997b974171a7c2863 () | |
tree | 40afa6f9e85a99e39739435e2c60d13dadb553ba /lib/bundler/cli/outdated.rb | |
parent | c424d15cb95f0f5a0db711974f7c76928c9633b1 (diff) |
[rubygems/rubygems] Don't require 'json' unless it's actually needed
https://.com/rubygems/rubygems/commit/97ee203fd5
-rw-r--r-- | lib/bundler/cli/outdated.rb | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,7 +1,5 @@ # frozen_string_literal: true -require "json" - module Bundler class CLI::Outdated attr_reader :options, :gems, :options_include_groups, :filter_options_, :sources, :strict @@ -180,6 +178,7 @@ module Bundler end def print_gems_json(gems_list) data = gems_list.map do |gem| gem_data_for( gem[:current_spec], |