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.54.0 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.53.0 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.52.0 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.51.0 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.50.0 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.49.0 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.48.1 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.48.0 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.47.2 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.47.1 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.47.0 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.46.0 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.45.2 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.45.1 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_git-0.14.0 lib/eac_git/rspec/setup.rb
eac_tools-0.45.0 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.44.0 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.43.0 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.42.0 sub/eac_git/lib/eac_git/rspec/setup.rb
eac_tools-0.41.0 sub/eac_git/lib/eac_git/rspec/setup.rb