We have completely different plots, I have several characters that are similar but different to each other. The One and Only Ivan had a gorilla, elephant, and dog, while I have a chimpanzee, elephant, and dog. The chimpanzee is different from the gorilla, however, the two elephants are similar. They have different intentions, but the traits are similar. Both elephants are curious. Both of them are away from their real home. The biggest difference is that the character from the One and Only Ruby is not shy, while mine is. Both dogs are completely different. Although I've added several tweaks to the characters, I'm afraid that they might be too similar. Will I get in trouble if I publish my book?
Both Ellie and Ruby are curious. Both of them are away from their real home.
In all honesty, if those are the only traits they have in common, then it's unlikely that anyone is going to notice any similarity at all. Certainly, this isn't anywhere near enough for you to get in any sort of trouble if you were to publish your book.
If your protagonist was also called Ruby, and your story's plot was noticeably similar to that of "The One and Only Ivan", then that would be a different matter, but from your description, these books have so little in common that there's no possible way you could be accused of plagiarising it.