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
17
18
19
|
# File 'lib/avm/git/launcher_stereotypes/git_subrepo/publish.rb', line 17
def config
::EacGit::Local::Subrepo::Config.from_file(config_path)
end
|
#config_path ⇒ Pathname
9
10
11
12
13
14
|
# File 'lib/avm/git/launcher_stereotypes/git_subrepo/publish.rb', line 9
def config_path
instance.parent.warped.to_pathname.join(
"./#{instance.to_parent_path}",
::Avm::Git::LauncherStereotypes::GitSubrepo::CONFIG_SUBPATH
)
end
|
#remote_ref ⇒ String
22
23
24
|
# File 'lib/avm/git/launcher_stereotypes/git_subrepo/publish.rb', line 22
def remote_ref
config.remote_branch || super
end
|