Sha256: dfc00173fc61beb249e97417874ef6f1ddead33f9e0addd52292a40fd839c4f9

Contents?: true

Size: 977 Bytes

Versions: 19

Compression:

Stored size: 977 Bytes

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

19 entries across 19 versions & 6 rubygems

Version Path
cocoapods-acknowledgements-1.1.3 spec/spec_helper.rb
cocoapods-acknowledgements-1.1.2 spec/spec_helper.rb
cocoapods-acknowledgements-1.1.1 spec/spec_helper.rb
cocoapods-acknowledgements-1.1.0 spec/spec_helper.rb
cocoapods-acknowledgements-1.0.0 spec/spec_helper.rb
cocoapods-appledoc-0.1.0 spec/spec_helper.rb
cocoapods-packager-0.5.0 spec/spec_helper.rb
cocoapods-packager-0.4.0 spec/spec_helper.rb
cocoapods-packager-0.3.0 spec/spec_helper.rb
cocoapods-packager-0.2.0 spec/spec_helper.rb
cocoapods-packager-0.1.0 spec/spec_helper.rb
cocoapods-trunk-0.1.4 spec/spec_helper.rb
cocoapods-trunk-0.1.3 spec/spec_helper.rb
cocoapods-trunk-0.1.2 spec/spec_helper.rb
cocoapods-trunk-0.1.1 spec/spec_helper.rb
cocoapods-trunk-0.1.0 spec/spec_helper.rb
cocoapods-try-release-fix-0.1.2 spec/spec_helper.rb
cocoapods-try-release-fix-0.1.1 spec/spec_helper.rb
cocoapods-try-0.1.0 spec/spec_helper.rb