Sha256: 11baaa0cd888cc718b355005c305ea92c70a93bd23689bc6937b49efacc8ae33

Contents?: true

Size: 1.07 KB

Versions: 39

Compression:

Stored size: 1.07 KB

Contents

require 'pathname'
ROOT = Pathname.new(File.expand_path('../../', __FILE__))
$:.unshift((ROOT + 'lib').to_s)
$:.unshift((ROOT + 'spec').to_s)

require 'bundler/setup'
require 'bacon'
require 'mocha-on-bacon'
require 'pretty_bacon'
require 'pathname'
require 'cocoapods'
require 'cocoapods-bb-xcframework'

Mocha::Configuration.prevent(:stubbing_non_existent_method)

require 'cocoapods_plugin'

#-----------------------------------------------------------------------------#

module Pod

  # Disable the wrapping so the output is deterministic in the tests.
  #
  UI.disable_wrap = true

  # Redirects the messages to an internal store.
  #
  module UI
    @output = ''
    @warnings = ''

    class << self
      attr_accessor :output
      attr_accessor :warnings

      def puts(message = '')
        @output << "#{message}\n"
      end

      def warn(message = '', actions = [])
        @warnings << "#{message}\n"
      end

      def print(message)
        @output << message
      end
    end
  end
end

#-----------------------------------------------------------------------------#

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
cocoapods-bb-bin-0.2.9.0 spec/spec_helper.rb
cocoapods-bb-bin-0.2.8.1 spec/spec_helper.rb
cocoapods-bb-bin-0.2.8 spec/spec_helper.rb
cocoapods-bb-bin-0.2.7.13 spec/spec_helper.rb
cocoapods-bb-bin-0.2.7.12 spec/spec_helper.rb
cocoapods-bb-bin-0.2.7.11 spec/spec_helper.rb
cocoapods-bb-bin-0.2.7.10 spec/spec_helper.rb
cocoapods-bb-bin-0.2.7.9 spec/spec_helper.rb
cocoapods-bb-bin-0.2.7.8 spec/spec_helper.rb
cocoapods-bb-bin-0.2.7.7 spec/spec_helper.rb
cocoapods-bb-bin-0.2.7.6 spec/spec_helper.rb
cocoapods-bb-bin-0.2.7.5 spec/spec_helper.rb
cocoapods-bb-bin-0.2.7.4 spec/spec_helper.rb
cocoapods-bb-bin-0.2.7.3 spec/spec_helper.rb
cocoapods-bb-bin-0.2.7.2 spec/spec_helper.rb
cocoapods-bb-bin-0.2.7.1 spec/spec_helper.rb
cocoapods-bb-bin-0.2.7 spec/spec_helper.rb
cocoapods-bb-bin-0.2.6.1 spec/spec_helper.rb
cocoapods-bb-bin-0.2.6 spec/spec_helper.rb
cocoapods-bb-bin-0.2.4 spec/spec_helper.rb