lib/berkshelf/api/config.rb in berkshelf-api-2.0.0 vs lib/berkshelf/api/config.rb in berkshelf-api-2.1.0
- old
+ new
@@ -21,9 +21,13 @@
{
type: "supermarket"
}
]
+ attribute 'build_interval',
+ type: Float,
+ default: 5.0
+
def endpoints_checksum
Digest::SHA1.hexdigest(endpoints.collect {|x| x.to_hash }.to_s)
end
end
end