Sha256: 4806b3febbf1104061e9065828770839ac8b39fc5ec1284862b945ea0933b655

Contents?: true

Size: 1014 Bytes

Versions: 57

Compression:

Stored size: 1014 Bytes

Contents

require 'coveralls'
Coveralls.wear!

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 '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

57 entries across 57 versions & 12 rubygems

Version Path
cocoapods-packager-pro-1.5.3 spec/spec_helper.rb
cocoapods-packager-pro-1.5.2 spec/spec_helper.rb
cocoapods-packager-pro-1.5.1 spec/spec_helper.rb
cocoapods-packager-boco-1.5.3 spec/spec_helper.rb
cocoapods-packager-boco-1.5.2 spec/spec_helper.rb
ty-cocoapods-packager-1.5.2 spec/spec_helper.rb
ty-cocoapods-packager-1.5.1 spec/spec_helper.rb
ty-cocoapods-packager-1.5.0 spec/spec_helper.rb
cocoapods-packager-qcloud-1.5.18 spec/spec_helper.rb
cocoapods-packager-qcloud-1.5.17 spec/spec_helper.rb
cocoapods-packager-qcloud-1.5.15 spec/spec_helper.rb
cocoapods-packager-qcloud-1.5.14 spec/spec_helper.rb
cocoapods-packager-qcloud-1.5.13 spec/spec_helper.rb
my-cocoapods-packager-1.5.2 spec/spec_helper.rb
my-cocoapods-packager-1.5.1 spec/spec_helper.rb
my-cocoapods-packager-1.5.0 spec/spec_helper.rb
cocoapods-packager-qcloud-1.5.11 spec/spec_helper.rb
cocoapods-packager-qcloud-1.5.10 spec/spec_helper.rb
cocoapods-packager-qcloud-1.5.9 spec/spec_helper.rb
cocoapods-packager-qcloud-1.5.8 spec/spec_helper.rb