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.41.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.40.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
avm-tools-0.142.4 lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.39.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
avm-tools-0.142.3 lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.38.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
avm-tools-0.142.2 lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.37.2 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
avm-tools-0.142.1 lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.37.1 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
avm-tools-0.142.0 lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.37.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
avm-tools-0.141.0 lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.36.1 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
avm-tools-0.140.0 lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.36.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
avm-tools-0.139.0 lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.35.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
avm-tools-0.138.0 lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.34.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb