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.7.6 app/lib/actions/pulp/expect_one_task.rb
katello-4.7.5 app/lib/actions/pulp/expect_one_task.rb
katello-4.7.4 app/lib/actions/pulp/expect_one_task.rb
katello-4.7.3 app/lib/actions/pulp/expect_one_task.rb
katello-4.7.2 app/lib/actions/pulp/expect_one_task.rb
katello-4.7.1 app/lib/actions/pulp/expect_one_task.rb
katello-4.6.2.1 app/lib/actions/pulp/expect_one_task.rb
katello-4.6.2 app/lib/actions/pulp/expect_one_task.rb
katello-4.7.0 app/lib/actions/pulp/expect_one_task.rb
katello-4.6.1 app/lib/actions/pulp/expect_one_task.rb
katello-4.7.0.rc2 app/lib/actions/pulp/expect_one_task.rb
katello-4.7.0.rc1 app/lib/actions/pulp/expect_one_task.rb
katello-4.4.2.2 app/lib/actions/pulp/expect_one_task.rb
katello-4.4.2.1 app/lib/actions/pulp/expect_one_task.rb
katello-4.4.2 app/lib/actions/pulp/expect_one_task.rb
katello-4.5.1 app/lib/actions/pulp/expect_one_task.rb
katello-4.6.0 app/lib/actions/pulp/expect_one_task.rb
katello-4.6.0.rc2 app/lib/actions/pulp/expect_one_task.rb
katello-4.6.0.rc1 app/lib/actions/pulp/expect_one_task.rb
katello-4.5.0 app/lib/actions/pulp/expect_one_task.rb