Update plugin

- Update gemspec and add dependencies
- Update plugin to use new patterns