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-tj-1.5.0 spec/spec_helper.rb
cocoapods-panglePackager-1.5.0.2 spec/spec_helper.rb
cocoapods-panglePackager-1.5.0.1 spec/spec_helper.rb
cocoapods-fanQiePackager-1.5.0.1 spec/spec_helper.rb
cocoapods-packager-m-1.6.4 spec/spec_helper.rb
ty-cocoapods-packager-1.5.13 spec/spec_helper.rb
ty-cocoapods-packager-1.5.12 spec/spec_helper.rb
ty-cocoapods-packager-1.5.11 spec/spec_helper.rb
ty-cocoapods-packager-1.5.10 spec/spec_helper.rb
ty-cocoapods-packager-1.5.9 spec/spec_helper.rb
cocoapods-packager-hira-1.5.6 spec/spec_helper.rb
ty-cocoapods-packager-1.5.7 spec/spec_helper.rb
ty-cocoapods-packager-1.5.6 spec/spec_helper.rb
cocoapods-xzpackager-1.0.2 spec/spec_helper.rb
cocoapods-xzpackager-1.0.1 spec/spec_helper.rb
cocoapods-xzpackager-1.0.0 spec/spec_helper.rb
ty-cocoapods-packager-1.5.5 spec/spec_helper.rb
ty-cocoapods-packager-1.5.4 spec/spec_helper.rb
ty-cocoapods-packager-1.5.3 spec/spec_helper.rb
cocoapods-packager-pro-1.5.4 spec/spec_helper.rb