Minor reformatting in hub_spec
Changed #new_from to raise ArgumentError on bad input instead of ignoring bad input