Sha256: 54a32fb06f75e6f20d0cf6a2969f0cb43c8b9ed1898b4192f4d4ebe4f35bccd1

Contents?: true

Size: 240 Bytes

Versions: 11

Compression:

Stored size: 240 Bytes

Contents

module Berkshelf::API
  class RemoteCookbook < Struct.new(:name, :version, :location_type, :location_path, :priority)
    def hash
      "#{name}|#{version}".hash
    end

    def eql?(other)
      self.hash == other.hash
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
berkshelf-api-1.4.0 lib/berkshelf/api/remote_cookbook.rb
berkshelf-api-1.3.1 lib/berkshelf/api/remote_cookbook.rb
berkshelf-api-1.3.0 lib/berkshelf/api/remote_cookbook.rb
berkshelf-api-1.2.2 lib/berkshelf/api/remote_cookbook.rb
berkshelf-api-1.2.1 lib/berkshelf/api/remote_cookbook.rb
berkshelf-api-1.2.0 lib/berkshelf/api/remote_cookbook.rb
berkshelf-api-1.2.0.rc2 lib/berkshelf/api/remote_cookbook.rb
berkshelf-api-1.2.0.rc1 lib/berkshelf/api/remote_cookbook.rb
berkshelf-api-1.1.1 lib/berkshelf/api/remote_cookbook.rb
berkshelf-api-1.1.0 lib/berkshelf/api/remote_cookbook.rb
berkshelf-api-1.0.0 lib/berkshelf/api/remote_cookbook.rb