Hi,
a gemspec file can contain a line like
spec.metadata["allowed_push_host"] = "http://localhost:9292"
(and should) to restrict where a gem can be pushed to.
However, it accepts a single string only. But especially when using privat gem stores there's often reason to use more than one for the same gem, e.g. one at the regular office and one at home for home-office. So it would be practical, if the gemspec would allow an array of strings (or even regular expressions) as allowed_push_hosts.
Hi,
a gemspec file can contain a line like
spec.metadata["allowed_push_host"] = "http://localhost:9292"
(and should) to restrict where a gem can be pushed to.
However, it accepts a single string only. But especially when using privat gem stores there's often reason to use more than one for the same gem, e.g. one at the regular office and one at home for home-office. So it would be practical, if the gemspec would allow an array of strings (or even regular expressions) as allowed_push_hosts.