Module: Ninny
- Defined in:
- lib/ninny.rb,
lib/ninny/cli.rb,
lib/ninny/git.rb,
lib/ninny/command.rb,
lib/ninny/version.rb,
lib/ninny/user_config.rb,
lib/ninny/commands/setup.rb,
lib/ninny/project_config.rb,
lib/ninny/commands/stage_up.rb,
lib/ninny/repository/gitlab.rb,
lib/ninny/commands/new_staging.rb,
lib/ninny/commands/staging_branch.rb,
lib/ninny/repository/pull_request.rb,
lib/ninny/commands/pull_request_merge.rb,
lib/ninny/commands/create_dated_branch.rb,
lib/ninny/commands/output_dated_branch.rb
Defined Under Namespace
Modules: Commands, Repository
Classes: CLI, Command, Error, Git, ProjectConfig, UserConfig
Constant Summary
collapse
- VERSION =
'0.1.24'
- MissingUserConfig =
Class.new(StandardError)
- InvalidBranchType =
Class.new(StandardError)
Class Method Summary
collapse
Class Method Details
.git ⇒ Object
37
38
39
|
# File 'lib/ninny.rb', line 37
def self.git
@git ||= Git.new
end
|
.project_config ⇒ Object
25
26
27
|
# File 'lib/ninny.rb', line 25
def self.project_config
@project_config ||= ProjectConfig.config
end
|
.repo ⇒ Object
33
34
35
|
# File 'lib/ninny.rb', line 33
def self.repo
@repo ||= project_config.repo
end
|
.user_config ⇒ Object
29
30
31
|
# File 'lib/ninny.rb', line 29
def self.user_config
@user_config ||= UserConfig.config
end
|