chore($gem): add guard for rspec tests
refactor(inputs): extract input name generation in a builder method