Sha256: a271fa79229dc193bb7a16d72501993eb50524f1f90c9b8c001125df153119be

Contents?: true

Size: 331 Bytes

Versions: 202

Compression:

Stored size: 331 Bytes

Contents

module Actions
  module Pulp
    module ExpectOneTask
      def external_task=(external_task_data)
        external_task_data = [external_task_data] unless external_task_data.is_a?(Array)
        fail "Not expecting more than one task" if external_task_data.length > 1
        super(external_task_data)
      end
    end
  end
end

Version data entries

202 entries across 202 versions & 1 rubygems

Version Path
katello-4.2.0.1.rc3 app/lib/actions/pulp/expect_one_task.rb
katello-3.18.5 app/lib/actions/pulp/expect_one_task.rb
katello-4.2.0.1.rc2 app/lib/actions/pulp/expect_one_task.rb
katello-4.2.0.rc2 app/lib/actions/pulp/expect_one_task.rb
katello-4.1.3 app/lib/actions/pulp/expect_one_task.rb
katello-4.2.0.rc1 app/lib/actions/pulp/expect_one_task.rb
katello-4.0.2.1 app/lib/actions/pulp/expect_one_task.rb
katello-4.1.2.1 app/lib/actions/pulp/expect_one_task.rb
katello-4.0.2 app/lib/actions/pulp/expect_one_task.rb
katello-4.1.2 app/lib/actions/pulp/expect_one_task.rb
katello-3.18.4 app/lib/actions/pulp/expect_one_task.rb
katello-4.1.1 app/lib/actions/pulp/expect_one_task.rb
katello-4.1.0 app/lib/actions/pulp/expect_one_task.rb
katello-4.0.1.2 app/lib/actions/pulp/expect_one_task.rb
katello-3.18.3.1 app/lib/actions/pulp/expect_one_task.rb
katello-4.1.0.rc2.2 app/lib/actions/pulp/expect_one_task.rb
katello-4.1.0.rc2.1 app/lib/actions/pulp/expect_one_task.rb
katello-4.0.1.1 app/lib/actions/pulp/expect_one_task.rb
katello-3.18.3 app/lib/actions/pulp/expect_one_task.rb
katello-4.1.0.rc2 app/lib/actions/pulp/expect_one_task.rb