From 6500eab16f0b362c6945ac1bef8cd8b1228c74ff Mon Sep 17 00:00:00 2001
From: Anupam Sengupta <anupamsg@gmail.com>
Date: Thu, 19 Dec 2024 21:30:47 -0500
Subject: [PATCH] Release candidate R2.1.1. (#111)

---
 Gemfile.lock        | 2 +-
 History.md          | 5 +++++
 README.md           | 3 +++
 lib/tree/version.rb | 2 +-
 rubytree.gemspec    | 3 +++
 5 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/Gemfile.lock b/Gemfile.lock
index fddb8ca..6974d45 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,7 +1,7 @@
 PATH
   remote: .
   specs:
-    rubytree (2.1.0)
+    rubytree (2.1.1)
       json (~> 2.0, > 2.9)
 
 GEM
diff --git a/History.md b/History.md
index 60d42d8..37a146c 100644
--- a/History.md
+++ b/History.md
@@ -1,5 +1,10 @@
 # History of Changes
 
+### 2.1.1 / 2024-12-19
+
+* 2.1.1 is a minor update that updates all dependencies and updates the guard
+  clause for creating a tree from a hash.
+
 ### 2.1.0 / 2024-08-12
 
 * Minimum Ruby version has been bumped to 2.7. This is needed to use the
diff --git a/README.md b/README.md
index 04ea00c..3cb47af 100644
--- a/README.md
+++ b/README.md
@@ -231,6 +231,9 @@ A big thanks to the following contributors for helping improve **RubyTree**:
     specialized tree nodes (sub-classes of `Tree::TreeNode`).
 13. [Jakub Pavlik](https://github.com/igneus) for fixing the creation of
     detached copies of unclonable objects such as `:symbol`, `true|false`, etc.
+14. [bghalami-rc](https://github.com/bghalami-rc) for updating the guard clause
+    in the `from_hash` method.
+
 
 ## LICENSE: ##
 
diff --git a/lib/tree/version.rb b/lib/tree/version.rb
index a2da0f6..167e679 100644
--- a/lib/tree/version.rb
+++ b/lib/tree/version.rb
@@ -35,5 +35,5 @@
 
 module Tree
   # Rubytree Package Version
-  VERSION = '2.1.0'
+  VERSION = '2.1.1'
 end
diff --git a/rubytree.gemspec b/rubytree.gemspec
index 8f970aa..af7e3c4 100644
--- a/rubytree.gemspec
+++ b/rubytree.gemspec
@@ -84,6 +84,9 @@ Gem::Specification.new do |s|
                     Thank you for installing RubyTree.
 
     Note::
+    - 2.1.1 is a minor update that updates all dependencies and
+            Updates the guard clause for creating a tree from a hash.
+
     - 2.1.0 is a minor update that brings all libraries to their
             latest stable versions. This version no longer supports
             Ruby 2.6 (minimum requirement is now >= 2.7).