Class: Tebako::Packager::RubygemsPatch

Inherits:
Patch
  • Object
show all
Defined in:
lib/tebako/packager/rubygems_patch.rb

Overview

Shared accross Pass1Patch and RybugemsUpdatePatch

Direct Known Subclasses

Pass1Patch, RubygemsUpdatePatch

Constant Summary collapse

RUBYGEMS_OPENSSL_RB_SUBST =
<<~SUBST
  # Start of tebako patch
  require "openssl"
  # End of tebako patch
  autoload :OpenSSL, "openssl"
SUBST
RUBYGEMS_OPENSSL_RB_PATCH =
{
  'autoload :OpenSSL, "openssl"' => RUBYGEMS_OPENSSL_RB_SUBST
}.freeze

Instance Method Summary collapse

Methods inherited from Patch

#patch_map

Constructor Details

#initialize(mount_point) ⇒ RubygemsPatch

Returns a new instance of RubygemsPatch.



45
46
47
48
# File 'lib/tebako/packager/rubygems_patch.rb', line 45

def initialize(mount_point)
  super()
  @mount_point = mount_point
end