added better support for conditional step traversal
updated gem spec dependencies