Sha256: 027d154b10e276f6760e07ff6f472f6f6a7bac9ea1706fc8607782a7e3b36a8a

Contents?: true

Size: 450 Bytes

Versions: 6

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

6 entries across 6 versions & 1 rubygems

Version Path
git-semaphore-2.6.1 .pryrc
git-semaphore-2.6.0 .pryrc
git-semaphore-2.5.1 .pryrc
git-semaphore-2.4.1 .pryrc
git-semaphore-2.3.1 .pryrc
git-semaphore-2.3.0 .pryrc