improve condition that check credentials presence
bump to v0.0.4
style and  ruby 1.9 support
bump version to v0.0.5