App name cannot contain an underscore
styrmis opened this issue · comments
Just trying Global ID with an app called PracticeManager -- this becomes practice_manager
when creating a global ID URI, which causes URI::InvalidURIError
, I believe due to the underscore:
URI::InvalidURIError: the scheme gid does not accept registry part: practice_manager (or bad hostname?)
from /Users/styrmis/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/uri/generic.rb:214:in `initialize'
Setting config.global_id.app
to a name which doesn't contain an underscore causes this error to go away.
Thanks you for your report. I will work on this.
Thanks, and apologies for the lack of a PR on this one!
Good call @styrmis - thanks!