Sha256: 4ba1167c179add6984942f2e12c5aaec9823ff2786a0523b9656987bb5e56ac0

Contents?: true

Size: 450 Bytes

Versions: 4

Compression:

Stored size: 450 Bytes

Contents

# this loads all of 'git-semaphore'
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'git/semaphore'

# utility function to set pry context
# to an instance of <Rugged::Repository>
def repository
  pry Git::Semaphore.git_repo
end

# utility function to set pry context
# to an instance of <Git::Semaphore::Project>
def project
  pry Git::Semaphore::Project.from_repo(Git::Semaphore.git_repo)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
git-semaphore-3.1.0 .pryrc
git-semaphore-3.0.0 .pryrc
git-semaphore-2.8.0 .pryrc
git-semaphore-2.7.0 .pryrc