Sha256: cc648e54228c9ade9e841b8da6acc1b8edf457e98788f3fe7bd3e28ca73cec8f

Contents?: true

Size: 993 Bytes

Versions: 10

Compression:

Stored size: 993 Bytes

Contents

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

require 'bundler/setup'
require 'bacon'
require 'pretty_bacon'
require 'mocha-on-bacon'
require 'cocoapods'

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

10 entries across 10 versions & 2 rubygems

Version Path
cocoapods-dependency-html-0.0.2 vendor/bundle/gems/cocoapods-stats-1.1.0/spec/spec_helper.rb
cocoapods-dependency-html-0.0.1 vendor/bundle/gems/cocoapods-stats-1.1.0/spec/spec_helper.rb
cocoapods-stats-1.1.0 spec/spec_helper.rb
cocoapods-stats-1.0.0 spec/spec_helper.rb
cocoapods-stats-1.0.0.rc.1 spec/spec_helper.rb
cocoapods-stats-1.0.0.beta.4 spec/spec_helper.rb
cocoapods-stats-1.0.0.beta.3 spec/spec_helper.rb
cocoapods-stats-1.0.0.beta.2 spec/spec_helper.rb
cocoapods-stats-1.0.0.beta.1 spec/spec_helper.rb
cocoapods-stats-0.6.2 spec/spec_helper.rb