Sha256: 4c60d6e09e2aaa85a65fbf987e929f210213616876b8fa11bb869b8131af125a

Contents?: true

Size: 798 Bytes

Versions: 122

Compression:

Stored size: 798 Bytes

Contents

# frozen_string_literal: true

require 'avm/tools/core_ext'
require 'avm/git/issue/deliver'

module Avm
  module Tools
    class Runner
      class Source < ::Avm::Sources::Runner
        class Issue
          class Deliver
            runner_with :confirmation, :help do
              desc 'Deliver a issue in a Git repository.'
            end

            def run
              deliver.start_banner
              if confirm?('Confirm issue delivery?')
                deliver.run
              else
                fatal_error 'Issue undelivered'
              end
            end

            private

            def deliver_uncached
              ::Avm::Git::Issue::Deliver.new(runner_context.call(:subject).scm.git_repo)
            end
          end
        end
      end
    end
  end
end

Version data entries

122 entries across 122 versions & 2 rubygems

Version Path
eac_tools-0.86.1 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
avm-tools-0.160.0 lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.86.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.85.1 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
avm-tools-0.159.1 lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.85.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.84.2 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.84.1 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.84.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.83.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
avm-tools-0.159.0 lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.82.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
avm-tools-0.158.0 lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.81.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.80.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
avm-tools-0.157.0 lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.79.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
avm-tools-0.156.0 lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.78.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.77.1 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb