vendor/librarian/lib/librarian/chef/source/site.rb in librarian-puppet-0.9.7 vs vendor/librarian/lib/librarian/chef/source/site.rb in librarian-puppet-0.9.8
- old
+ new
@@ -361,9 +361,15 @@
other &&
self.class == other.class &&
self.uri == other.uri
end
+ alias :eql? :==
+
+ def hash
+ self.to_s.hash
+ end
+
def to_spec_args
[uri, {}]
end
def to_lock_options