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.5.0.rc2 app/lib/actions/pulp/expect_one_task.rb
katello-4.4.1 app/lib/actions/pulp/expect_one_task.rb
katello-4.5.0.rc1 app/lib/actions/pulp/expect_one_task.rb
katello-4.4.0.2 app/lib/actions/pulp/expect_one_task.rb
katello-4.4.0.1 app/lib/actions/pulp/expect_one_task.rb
katello-4.3.1 app/lib/actions/pulp/expect_one_task.rb
katello-4.4.0 app/lib/actions/pulp/expect_one_task.rb
katello-4.4.0.rc2 app/lib/actions/pulp/expect_one_task.rb
katello-4.4.0.rc1 app/lib/actions/pulp/expect_one_task.rb
katello-4.2.2 app/lib/actions/pulp/expect_one_task.rb
katello-4.3.0 app/lib/actions/pulp/expect_one_task.rb
katello-4.3.0.rc4 app/lib/actions/pulp/expect_one_task.rb
katello-4.3.0.rc3 app/lib/actions/pulp/expect_one_task.rb
katello-4.3.0.rc2.1 app/lib/actions/pulp/expect_one_task.rb
katello-4.3.0.rc2 app/lib/actions/pulp/expect_one_task.rb
katello-4.3.0.rc1 app/lib/actions/pulp/expect_one_task.rb
katello-4.2.1 app/lib/actions/pulp/expect_one_task.rb
katello-4.2.0.1 app/lib/actions/pulp/expect_one_task.rb
katello-4.1.4 app/lib/actions/pulp/expect_one_task.rb
katello-4.0.3 app/lib/actions/pulp/expect_one_task.rb