Sha256: ff6943a087bec7a13b254e008dd008fa8c053ed74d9f6f123d87230d8daac251

Contents?: true

Size: 529 Bytes

Versions: 158

Compression:

Stored size: 529 Bytes

Contents

# frozen_string_literal: true

require 'eac_git/executables'
require 'eac_git/rspec/stubbed_git_local_repo'

module EacGit
  module Rspec
    module Setup
      def self.extended(setup_obj)
        setup_obj.setup_conditional_git
        setup_obj.setup_stubbed_git_local_repo
      end

      def setup_conditional_git
        conditional(:git) { ::EacGit::Executables.git.validate }
      end

      def setup_stubbed_git_local_repo
        rspec_config.include ::EacGit::Rspec::StubbedGitLocalRepo
      end
    end
  end
end

Version data entries

158 entries across 158 versions & 3 rubygems

Version Path
eac_tools-0.86.5 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.86.4 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.86.3 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_git-0.16.0 lib/eac_git/rspec/setup.rb
eac_tools-0.86.2 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_git-0.15.0 lib/eac_git/rspec/setup.rb
eac_tools-0.84.2 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.84.1 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.84.0 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.83.0 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.82.0 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.81.0 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.80.0 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.79.0 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.78.0 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.77.1 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.77.0 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.76.1 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.76.0 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.75.2 sub/eac_git/lib/eac_git/rspec/setup.rb