Sha256: e5eee785ead1d7e9b11644283ba7a98265d40fef8e7919c25c2780fffb910c8f

Contents?: true

Size: 694 Bytes

Versions: 2

Compression:

Stored size: 694 Bytes

Contents

require 'cocoapods'

Pod::Installer
  .prepend(Module.new do
             def perform_post_install_actions
               super

               return unless plugins.key?('refinement')

               unless Gem::Version.create(Pod::VERSION) >= Gem::Version.create('1.6.0')
                 raise Pod::Informative, 'Refinement requires a CocoaPods version >= 1.6.0'
               end

               require 'refinement/cocoapods_post_install_writer'
               Pod::UI.message 'Writing refinement file' do
                 Refinement::CocoaPodsPostInstallWriter.new(aggregate_targets, pod_targets, config, plugins['refinement']).write!
               end
             end
           end)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
refinement-0.2.2 lib/cocoapods_plugin.rb
refinement-0.2.1 lib/cocoapods_plugin.rb