update .gitignore
small fix in "on" function
increased version to 0.5.0