class Vpr::Services::Bitbucket
Public Class Methods
branch_url()
click to toggle source
# File lib/vpr/services/bitbucket.rb, line 22 def self.branch_url "#{GitParser.repo_url}/branch/#{GitParser.current_branch}" end
branches_url()
click to toggle source
# File lib/vpr/services/bitbucket.rb, line 18 def self.branches_url "#{GitParser.repo_url}/branches" end
commit_url(commit)
click to toggle source
# File lib/vpr/services/bitbucket.rb, line 31 def self.commit_url(commit) "#{GitParser.repo_url}/commits/#{commit}" end
home_url()
click to toggle source
# File lib/vpr/services/bitbucket.rb, line 6 def self.home_url GitParser.repo_url end
issues_url()
click to toggle source
# File lib/vpr/services/bitbucket.rb, line 14 def self.issues_url "#{GitParser.repo_url}/issues" end
pull_url(branch = nil)
click to toggle source
# File lib/vpr/services/bitbucket.rb, line 26 def self.pull_url(branch = nil) branch ||= GitParser.current_branch "#{GitParser.repo_url}/pull-requests/new?source=#{branch}" end
pulls_url()
click to toggle source
# File lib/vpr/services/bitbucket.rb, line 10 def self.pulls_url "#{GitParser.repo_url}/pull-requests" end
search_url(commit)
click to toggle source
# File lib/vpr/services/bitbucket.rb, line 35 def self.search_url(commit) "#{GitParser.repo_url}/commits/all?search=#{commit}" end