Class: CocoaPodsAmicable::PodfileChecksumFixer

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods_amicable.rb

Instance Method Summary collapse

Constructor Details

#initialize(post_install_context) ⇒ PodfileChecksumFixer

Returns a new instance of PodfileChecksumFixer.



5
6
7
# File 'lib/cocoapods_amicable.rb', line 5

def initialize(post_install_context)
  @post_install_context = post_install_context
end

Instance Method Details

#fix!Object



9
10
11
12
13
14
15
# File 'lib/cocoapods_amicable.rb', line 9

def fix!
  Pod::UI.titled_section 'Moving the Podfile checksum from the lockfile' do
    @checksum = remove_checksum_from_lockfiles
    write_sha1_file
    update_check_manifest_script_phases
  end
end