Sha256: 656244ae42d462ca09ab9a4e80fd047f31e395764e8857e601523dae76a08286

Contents?: true

Size: 859 Bytes

Versions: 16

Compression:

Stored size: 859 Bytes

Contents

# frozen_string_literal: true

require 'forwardable'
require 'ninny/git'
require 'ninny/command'
require 'ninny/commands/create_dated_branch'
require 'ninny/commands/output_dated_branch'
require 'ninny/commands/new_staging'
require 'ninny/commands/staging_branch'
require 'ninny/commands/pull_request_merge'
require 'ninny/commands/setup'
require 'ninny/commands/stage_up'
require 'ninny/repository/gitlab'
require 'ninny/repository/pull_request'
require 'ninny/project_config'
require 'ninny/user_config'

require 'git'
require 'gitlab'
require 'tty-config'

module Ninny
  class Error < StandardError; end

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

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

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

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ninny-0.1.24 lib/ninny.rb
ninny-0.1.23 lib/ninny.rb
ninny-0.1.22.1 lib/ninny.rb
ninny-0.1.22 lib/ninny.rb
ninny-0.1.21 lib/ninny.rb
ninny-0.1.20 lib/ninny.rb
ninny-0.1.19 lib/ninny.rb
ninny-0.1.18 lib/ninny.rb
ninny-0.1.17 lib/ninny.rb
ninny-0.1.16 lib/ninny.rb
ninny-0.1.15 lib/ninny.rb
ninny-0.1.14 lib/ninny.rb
ninny-0.1.13 lib/ninny.rb
ninny-0.1.12 lib/ninny.rb
ninny-0.1.11 lib/ninny.rb
ninny-0.1.10 lib/ninny.rb