Class: Jets::Git::Custom
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#git_branch ⇒ Object
16 17 18 |
# File 'lib/jets/git/custom.rb', line 16 def git_branch ENV["JETS_GIT_CUSTOM_BRANCH"] end |
#git_message ⇒ Object
28 29 30 |
# File 'lib/jets/git/custom.rb', line 28 def ENV["JETS_GIT_CUSTOM_MESSAGE"] end |
#git_sha ⇒ Object
20 21 22 |
# File 'lib/jets/git/custom.rb', line 20 def git_sha ENV["JETS_GIT_CUSTOM_SHA"] end |
#git_url ⇒ Object
24 25 26 |
# File 'lib/jets/git/custom.rb', line 24 def git_url ENV["JETS_GIT_CUSTOM_URL"] end |
#info ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/jets/git/custom.rb', line 3 def info info = { git_system: "custom", git_branch: git_branch, git_sha: git_sha, git_dirty: false, git_message: # git_version: nil, } info[:git_url] = git_url if git_url info end |