Sha256: d9c05ed05b740f80419c0117f3a3b79ba5d1471c936d61485c9561150508b560

Contents?: true

Size: 511 Bytes

Versions: 12

Compression:

Stored size: 511 Bytes

Contents

module RGitFlow
  module Tasks
    class Feature
      autoload :Start, 'rgitflow/tasks/feature/start'
      autoload :Finish, 'rgitflow/tasks/feature/finish'

      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(Pathname.pwd)
      end

      def install
        Start.new @git
        Finish.new @git
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rgitflow-0.2.0.pre.alpha.pre.21 lib/rgitflow/tasks/feature/tasks.rb
rgitflow-0.2.0.pre.alpha.pre.20 lib/rgitflow/tasks/feature/tasks.rb
rgitflow-0.1.0 lib/rgitflow/tasks/feature/tasks.rb
rgitflow-0.1.0.pre.alpha.pre.18 lib/rgitflow/tasks/feature/tasks.rb
rgitflow-0.1.0.pre.alpha.pre.17 lib/rgitflow/tasks/feature/tasks.rb
rgitflow-0.1.0.pre.alpha.pre.16 lib/rgitflow/tasks/feature/tasks.rb
rgitflow-0.1.0.pre.alpha.pre.15 lib/rgitflow/tasks/feature/tasks.rb
rgitflow-0.1.0.pre.alpha.pre.14 lib/rgitflow/tasks/feature/tasks.rb
rgitflow-0.1.0.pre.alpha.pre.13 lib/rgitflow/tasks/feature/tasks.rb
rgitflow-0.1.0.pre.alpha.pre.12 lib/rgitflow/tasks/feature/tasks.rb
rgitflow-0.1.0.pre.alpha.pre.11 lib/rgitflow/tasks/feature/tasks.rb
rgitflow-0.1.0.pre.alpha.pre.10 lib/rgitflow/tasks/feature/tasks.rb