lib/lifeform.rb in lifeform-0.7 vs lib/lifeform.rb in lifeform-0.8.0
- old
+ new
@@ -8,5 +8,14 @@
loader.setup
module Lifeform
class Error < StandardError; end
end
+
+if defined?(Bridgetown)
+ # Check compatibility
+ raise "The Lifeform support for Bridgetown requires v1.2 or newer" if Bridgetown::VERSION.to_f < 1.2
+
+ Bridgetown.initializer :lifeform do |config|
+ # no extra config at the moment
+ end
+end