Sha256: 89f70cd03c4d1ae1bd6f7d664910dfe1d8e8464b7c02db5ad495fed4cb109f84

Contents?: true

Size: 689 Bytes

Versions: 7

Compression:

Stored size: 689 Bytes

Contents

# frozen_string_literal: true

require 'cocoapods'

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

               return unless plugins.key?('refinement')

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

               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

7 entries across 7 versions & 1 rubygems

Version Path
refinement-0.6.1 lib/cocoapods_plugin.rb
refinement-0.6.0 lib/cocoapods_plugin.rb
refinement-0.5.0 lib/cocoapods_plugin.rb
refinement-0.4.1 lib/cocoapods_plugin.rb
refinement-0.4.0 lib/cocoapods_plugin.rb
refinement-0.3.1 lib/cocoapods_plugin.rb
refinement-0.3.0 lib/cocoapods_plugin.rb