From 798b859a741389eecfc24be9ade67c1474186018 Mon Sep 17 00:00:00 2001 From: George Dietrich Date: Fri, 11 Nov 2022 19:47:27 -0500 Subject: [PATCH] Fix Typos + Spell Check CI (#222) * Add spellcheck CI job and fix existing typos * Add spec to bug caused by typo --- spec/exclusion_strategies/custom_strategy_spec.cr | 2 +- src/annotations.cr | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/spec/exclusion_strategies/custom_strategy_spec.cr b/spec/exclusion_strategies/custom_strategy_spec.cr index 52a598c..7398b9f 100644 --- a/spec/exclusion_strategies/custom_strategy_spec.cr +++ b/spec/exclusion_strategies/custom_strategy_spec.cr @@ -15,7 +15,7 @@ private struct ActivePropertyExclusionStrategy end end -# Mainly testing `Athena::Config` integration in regards to custom annotations accessable via the property metadata. +# Mainly testing `Athena::Config` integration in regards to custom annotations accessible via the property metadata. describe ActivePropertyExclusionStrategy do describe "#skip_property?" do describe :deserialization do diff --git a/src/annotations.cr b/src/annotations.cr index d145ac1..70e69af 100644 --- a/src/annotations.cr +++ b/src/annotations.cr @@ -434,12 +434,12 @@ module Athena::Serializer::Annotations # property last_name : String = "Snow" # # @[ASRA::PreSerialize] - # private def pre_ser : Nil + # private def pre_serialize : Nil # @name = "#{first_name} #{last_name}" # end # # @[ASRA::PostSerialize] - # private def post_ser : Nil + # private def post_serialize : Nil # @name = nil # end # end @@ -466,12 +466,12 @@ module Athena::Serializer::Annotations # property last_name : String = "Snow" # # @[ASRA::PreSerialize] - # private def pre_ser : Nil + # private def pre_serialize : Nil # @name = "#{first_name} #{last_name}" # end # # @[ASRA::PostSerialize] - # private def post_ser : Nil + # private def post_serialize : Nil # @name = nil # end # end