Sha256: d69edbe7ebd1a43c6eff2f636eab6ceb383de4fa5595e389e49b2d0bdec1c8ef

Contents?: true

Size: 738 Bytes

Versions: 7

Compression:

Stored size: 738 Bytes

Contents

require 'xcodeproj'

# Generates a list of Xcode targets to build & test as a result of a git diff.
module Refinement
  class Error < StandardError; end

  # @visibility private
  # @param enum [Enumerable]
  # Enumerates through `enum`, and applied the given block to each element.
  # If the result of calling the block is truthy, the first such result is returned.
  # If no such result is found, `nil` is returned.
  def self.map_find(enum)
    enum.each do |elem|
      transformed = yield elem
      return transformed if transformed
    end

    nil
  end

  require 'refinement/version'

  require 'refinement/analyzer'
  require 'refinement/annotated_target'
  require 'refinement/changeset'
  require 'refinement/used_path'
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
refinement-0.2.2 lib/refinement.rb
refinement-0.2.1 lib/refinement.rb
refinement-0.2.0 lib/refinement.rb
refinement-0.1.3 lib/refinement.rb
refinement-0.1.2 lib/refinement.rb
refinement-0.1.1 lib/refinement.rb
refinement-0.1.0 lib/refinement.rb