Sha256: 08c1c47723cf8b7b653af2ca9421815ba7db5261f5ab17280d25352c7584354d

Contents?: true

Size: 508 Bytes

Versions: 17

Compression:

Stored size: 508 Bytes

Contents

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)

def clang_available
  # uses a shell to ensure we get a reasonable PATH
  system('which -s clang')
end

def fixture(name)
  File.join(__dir__, 'fixtures', name)
end

RSpec.configure do |c|
  # exclude tests requiring clang when it's unavailable
  c.filter_run_excluding :requires_clang => true unless clang_available

  c.color = true
end

class FakeKeychain
  def initialize(data)
    @data = data
  end

  def [](_, key)
    @data[key]
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
cocoapods-keys-2.2.1 spec/spec_helper.rb
cocoapods-keys-2.2.0 spec/spec_helper.rb
cocoapods-keys-2.1.0 spec/spec_helper.rb
cocoapods-keys-2.0.7 spec/spec_helper.rb
cocoapods-keys-2.0.6 spec/spec_helper.rb
cocoapods-keys-2.0.5 spec/spec_helper.rb
cocoapods-keys-2.0.4 spec/spec_helper.rb
cocoapods-keys-2.0.3 spec/spec_helper.rb
cocoapods-keys-2.0.2 spec/spec_helper.rb
cocoapods-keys-2.0.1 spec/spec_helper.rb
cocoapods-keys-2.0.0 spec/spec_helper.rb
cocoapods-keys-1.7.0 spec/spec_helper.rb
cocoapods-keys-1.6.1 spec/spec_helper.rb
cocoapods-keys-1.6.0 spec/spec_helper.rb
cocoapods-keys-1.5.2 spec/spec_helper.rb
cocoapods-keys-1.5.1 spec/spec_helper.rb
cocoapods-keys-1.5.0 spec/spec_helper.rb