File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed
Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,6 @@ def copy_to(path)
219219 # Adds a checksum for each entry in the gem to checksums.yaml.gz.
220220
221221 def add_checksums ( tar )
222- require 'psych'
223222 Gem . load_yaml
224223
225224 checksums_by_algorithm = Hash . new { |h , algorithm | h [ algorithm ] = { } }
@@ -553,7 +552,6 @@ def open_tar_gz(io) # :nodoc:
553552 # Reads and loads checksums.yaml.gz from the tar file +gem+
554553
555554 def read_checksums ( gem )
556- require_relative 'safe_yaml'
557555 Gem . load_yaml
558556
559557 @checksums = gem . seek "checksums.yaml.gz" do |entry |
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22
3- require 'psych'
4-
53module Gem
64 ###
75 # This module is used for safely loading YAML specs from a gem. The
You can’t perform that action at this time.
0 commit comments