added protected_attributes to dependencies for ruby 4 compatibility