.pryrc in git-semaphore-1.2.0 vs .pryrc in git-semaphore-2.0.0
- old
+ new
@@ -1,6 +1,10 @@
# this loads all of "git semaphore"
load "exe/git-semaphore" unless Kernel.const_defined? 'Git::Semaphore'
# utility function to set pry context
-# to an instance of <Git::Semaphore::App>
-def app() pry Git::Semaphore::App.new(Git::Semaphore.auth_token, Git::Semaphore.git_repo, ENV) ; end
+# 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