Sha256: 876002d7e4153cbf142e15553b98a3f501d3c5070b9ece8505b7ddd8b8bbd1b0

Contents?: true

Size: 929 Bytes

Versions: 24

Compression:

Stored size: 929 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 '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

24 entries across 24 versions & 5 rubygems

Version Path
cocoapods-rome-1.0.1 spec/spec_helper.rb
cocoapods-rome-1.0.0 spec/spec_helper.rb
cocoapods-rome-0.8.0 spec/spec_helper.rb
cocoapods-rome-0.7.0 spec/spec_helper.rb
cocoapods-rome-0.6.0 spec/spec_helper.rb
cocoapods-rome-0.5.0 spec/spec_helper.rb
cocoapods-rome-0.4.2 spec/spec_helper.rb
cocoapods-rome-0.4.1 spec/spec_helper.rb
cocoapods-rome-0.4.0 spec/spec_helper.rb
cocoapods-rome-0.3.1 spec/spec_helper.rb
cocoapods-rome-0.3.0 spec/spec_helper.rb
cocoapods-expert-difficulty-1.0.0 spec/spec_helper.rb
cocoapods-expert-difficulty-0.0.1 spec/spec_helper.rb
cocoapods-label-0.0.2 spec/spec_helper.rb
cocoapods-label-0.0.1 spec/spec_helper.rb
cocoapods-rome-0.2.0 spec/spec_helper.rb
cocoapods-rome-0.1.0 spec/spec_helper.rb
cocoapods-readonly-1.0.1 spec/spec_helper.rb
cocoapods-rome-0.0.4 spec/spec_helper.rb
cocoapods-readonly-1.0.0 spec/spec_helper.rb