gitignore generated files
croak if hash reference passed
Merge pull request #13 from szabgab/master

croak when ref to hash passed