add check for empty string to avoid warnings
test coverage
Merge remote-tracking branch 'origin' into 12-error-empty-string

Conflicts:
	Gemfile.lock
Merge pull request #13 from octanner/12-error-empty-string

close #12 add check for empty string to avoid warnings