California governor signs gun bill modeled after Texas abortion law