lib/berkshelf/api/config.rb in berkshelf-api-1.4.0 vs lib/berkshelf/api/config.rb in berkshelf-api-2.0.0
- old
+ new
@@ -17,13 +17,10 @@
attribute 'endpoints',
type: Array,
default: [
{
- type: "opscode",
- options: {
- url: 'http://cookbooks.opscode.com/api/v1'
- }
+ type: "supermarket"
}
]
def endpoints_checksum
Digest::SHA1.hexdigest(endpoints.collect {|x| x.to_hash }.to_s)