Fix trigger property, update gitignore

The trigger property can now handle both types of possible values.
Delete gem file.