Class: Jets::Git::Custom
- Inherits:
-
Object
- Object
- Jets::Git::Custom
- Defined in:
- lib/jets/git/custom.rb
Instance Method Summary collapse
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 |
#params ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/jets/git/custom.rb', line 3 def params params = { git_system: 'custom', git_branch: git_branch, git_sha: git_sha, git_dirty: false, git_message: , # git_version: nil, } params[:git_url] = git_url if git_url params end |