Update gems
Support custom tag patterns
Bump version to 3.1.0