Sha256: 514c1f9a25e91f0efa09883260da5009b8c76d05c397aadd74d9cc9d9f9a55a7

Contents?: true

Size: 488 Bytes

Versions: 9

Compression:

Stored size: 488 Bytes

Contents

module RGitFlow
  module Tasks
    class SCM
      autoload :Status, 'rgitflow/tasks/scm/status'
      autoload :Tag, 'rgitflow/tasks/scm/tag'

      class << self
        attr_accessor :instance

        def install_tasks(opts = {})
          new(opts[:git]).install
        end
      end

      attr_reader :git

      def initialize(git = nil)
        @git = git || Git.open(Dir.pwd)
      end

      def install
        Status.new @git
        Tag.new @git
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rgitflow-0.2.2 lib/rgitflow/tasks/scm/tasks.rb
rgitflow-0.2.1.pre.alpha.pre.32 lib/rgitflow/tasks/scm/tasks.rb
rgitflow-0.2.1.pre.alpha.pre.28 lib/rgitflow/tasks/scm/tasks.rb
rgitflow-0.2.0.pre.alpha.pre.27 lib/rgitflow/tasks/scm/tasks.rb
rgitflow-0.2.0.pre.alpha.pre.26 lib/rgitflow/tasks/scm/tasks.rb
rgitflow-0.2.0.pre.alpha.pre.25 lib/rgitflow/tasks/scm/tasks.rb
rgitflow-0.2.0 lib/rgitflow/tasks/scm/tasks.rb
rgitflow-0.2.0.pre.alpha.pre.23 lib/rgitflow/tasks/scm/tasks.rb
rgitflow-0.2.0.pre.alpha.pre.22 lib/rgitflow/tasks/scm/tasks.rb