Sha256: 29246d474e683936880e047f2f250d56aad7e9d2ec5043147c8c86457d90839c

Contents?: true

Size: 506 Bytes

Versions: 9

Compression:

Stored size: 506 Bytes

Contents

module RGitFlow
  module Tasks
    class Release
      autoload :Start, 'rgitflow/tasks/release/start'
      autoload :Finish, 'rgitflow/tasks/release/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(Dir.pwd)
      end

      def install
        Start.new @git
        Finish.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/release/tasks.rb
rgitflow-0.2.1.pre.alpha.pre.32 lib/rgitflow/tasks/release/tasks.rb
rgitflow-0.2.1.pre.alpha.pre.28 lib/rgitflow/tasks/release/tasks.rb
rgitflow-0.2.0.pre.alpha.pre.27 lib/rgitflow/tasks/release/tasks.rb
rgitflow-0.2.0.pre.alpha.pre.26 lib/rgitflow/tasks/release/tasks.rb
rgitflow-0.2.0.pre.alpha.pre.25 lib/rgitflow/tasks/release/tasks.rb
rgitflow-0.2.0 lib/rgitflow/tasks/release/tasks.rb
rgitflow-0.2.0.pre.alpha.pre.23 lib/rgitflow/tasks/release/tasks.rb
rgitflow-0.2.0.pre.alpha.pre.22 lib/rgitflow/tasks/release/tasks.rb