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.6"
MissingUserConfig =
Class.new(StandardError)
InvalidBranchType =
Class.new(StandardError)

Class Method Summary collapse

Class Method Details

.gitObject



35
36
37
# File 'lib/ninny.rb', line 35

def self.git
  @git ||= Git.new
end

.project_configObject



23
24
25
# File 'lib/ninny.rb', line 23

def self.project_config
  @config ||= ProjectConfig.config
end

.repoObject



31
32
33
# File 'lib/ninny.rb', line 31

def self.repo
  @repo ||= project_config.repo
end

.user_configObject



27
28
29
# File 'lib/ninny.rb', line 27

def self.user_config
  @user_config ||= UserConfig.config
end