From 64c3d52f5ba0f527dbd8df22f7184772b85691ff Mon Sep 17 00:00:00 2001 From: Jared White Date: Wed, 3 Apr 2024 13:40:31 -0700 Subject: [PATCH] Fix lambda error in initializer --- CHANGELOG.md | 4 +++- lib/bridgetown_sequel.rb | 2 +- lib/bridgetown_sequel/version.rb | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 92f9d30..ee1df12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -- ... +## [1.1.1] - 2024-04-03 + +- Fix lambda error in initializer ## [1.1.0] - 2024-04-03 diff --git a/lib/bridgetown_sequel.rb b/lib/bridgetown_sequel.rb index 4811e27..5538040 100644 --- a/lib/bridgetown_sequel.rb +++ b/lib/bridgetown_sequel.rb @@ -17,7 +17,7 @@ def self.load_tasks(models_dir: "models") config, models_dir: ENV.fetch("BRIDGETOWN_SEQUEL_MODELS_DIR", "models"), skip_autoload: false, - model_setup: -> {}, + model_setup: ->(model) {}, connection_options: {} | unless skip_autoload diff --git a/lib/bridgetown_sequel/version.rb b/lib/bridgetown_sequel/version.rb index 3b9ff1d..53b4362 100644 --- a/lib/bridgetown_sequel/version.rb +++ b/lib/bridgetown_sequel/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module BridgetownSequel - VERSION = "1.1.0" + VERSION = "1.1.1" end