Sha256: 24cb69de256d3ab4d88311c2bebebed7c696e28171e54864f7d85f7834697422

Contents?: true

Size: 1.03 KB

Versions: 883

Compression:

Stored size: 1.03 KB

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 'pathname'
require 'cocoapods'

Mocha::Configuration.prevent(:stubbing_non_existent_method)

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

883 entries across 883 versions & 137 rubygems

Version Path
cocoapods-aqara-localzedLoader-0.0.5 spec/spec_helper.rb
cocoapods-meitu-bin-2.0.0 spec/spec_helper.rb
cocoapods-bb-PodAssistant-0.3.7.1 spec/spec_helper.rb
cocoapods-bb-PodAssistant-0.3.7.0 spec/spec_helper.rb
cocoapods-rn-toolkit-0.0.3 spec/spec_helper.rb
cocoapods-bb-PodAssistant-0.3.6.2 spec/spec_helper.rb
cocoapods-bb-PodAssistant-0.3.6.1 spec/spec_helper.rb
cocoapods-byte-panglem-beta-0.1.1 spec/spec_helper.rb
cocoapods-bb-PodAssistant-0.3.6.0 spec/spec_helper.rb
cocoapods-byte-panglem-beta-0.1.0 spec/spec_helper.rb
cocoapods-aqara-localzedLoader-0.0.4 spec/spec_helper.rb
cocoapods-aqara-localzedLoader-0.0.3 spec/spec_helper.rb
cocoapods-aqara-localzedLoader-0.0.2 spec/spec_helper.rb
cocoapods-fy-bin-0.3.1 spec/spec_helper.rb
cocoapods-aqara-localzedLoader-0.0.1 spec/spec_helper.rb
cocoapods-aqarahome-0.0.9 spec/spec_helper.rb
cocoapods-bb-PodAssistant-0.3.5.2 spec/spec_helper.rb
cocoapods-bb-PodAssistant-0.3.5.1 spec/spec_helper.rb
cocoapods-bb-PodAssistant-0.3.5.0 spec/spec_helper.rb
cocoapods-bb-PodAssistant-0.3.4.3 spec/spec_helper.rb