Class: Avm::Git::LauncherStereotypes::GitSubrepo::Publish
Constant Summary
Avm::Git::Launcher::PublishBase::CHECKERS, Avm::Git::Launcher::PublishBase::DEFAULT_REMOTE_REF, Avm::Git::Launcher::PublishBase::REMOTE_UNAVAILABLE_MESSAGES
Instance Method Summary
collapse
Instance Method Details
#config ⇒ EacGit::Local::Subrepo::Config
19
20
21
|
# File 'lib/avm/git/launcher_stereotypes/git_subrepo/publish.rb', line 19
def config
::EacGit::Local::Subrepo::Config.from_file(config_path)
end
|
#config_path ⇒ Pathname
11
12
13
14
15
16
|
# File 'lib/avm/git/launcher_stereotypes/git_subrepo/publish.rb', line 11
def config_path
instance.parent.warped.to_pathname.join(
"./#{instance.to_parent_path}",
::Avm::Git::LauncherStereotypes::GitSubrepo::CONFIG_SUBPATH
)
end
|
#remote_ref ⇒ String
24
25
26
|
# File 'lib/avm/git/launcher_stereotypes/git_subrepo/publish.rb', line 24
def remote_ref
config.remote_branch || super
end
|