.pryrc in git-semaphore-2.0.1 vs .pryrc in git-semaphore-2.1.0
- old
+ new
@@ -1,6 +1,6 @@
-# this loads all of "git semaphore"
-load "exe/git-semaphore" unless Kernel.const_defined? 'Git::Semaphore'
+$LOAD_PATH.unshift File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
+require 'git/semaphore'
# utility function to set pry context
# to an instance of <Rugged::Repository>
def repository() pry Git::Semaphore.git_repo ; end