Sha256: e7352cd6e7f200b3036e8497036b2bf087438c23b6f6ce06eafbd06801b95823

Contents?: true

Size: 355 Bytes

Versions: 4

Compression:

Stored size: 355 Bytes

Contents

module Outliers
  module Verifications
    module Shared

      def none_exist?
        list
      end

      def equals?(args)
        keys = Array(args[:keys])
        logger.debug "Verifying '#{list.join(',')}' equals '#{list.empty? ? 'no resources' : list_by_key.join(',')}'."
        list.reject {|r| keys.include? r.id}
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
outliers-0.3.3 lib/outliers/verifications/shared.rb
outliers-0.3.2 lib/outliers/verifications/shared.rb
outliers-0.3.1 lib/outliers/verifications/shared.rb
outliers-0.3.0 lib/outliers/verifications/shared.rb