faker icon indicating copy to clipboard operation
faker copied to clipboard

Add `hand_tool` to construction

Open jimgraham opened this issue 7 months ago • 0 comments

Motivation / Background

This Pull Request has been created because I was attempting to backfill hand tools, and found them missing from Faker::Construction. I have added a random set of hand tools to the en locale.

I have reformatted the en locale via

➜  faker git:(main) ✗ bundle exec rake 'reformat_yaml[lib/locales/en/construction.yml]'
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Reformatting /Users/jim/src/github.com/jimgraham/faker/lib/locales/en/construction.yml

to get the - syntax.

I've added documentation for this new method, and removed the "available in future versions" warning that does not apply

Checklist

Before submitting the PR make sure the following are checked:

  • [x] This Pull Request is related to one change. Changes that are unrelated should be opened in separate PRs.
  • [x] Commit message has a detailed description of what changed and why. If this PR fixes a related issue include it in the commit message. Ex: [Fix #issue-number]
  • [x] Tests are added or updated if you fix a bug, refactor something, or add a feature.
  • [x] Tests and Rubocop are passing before submitting your proposed changes.
  • [x] You've reviewed and followed the Contributing guidelines.

jimgraham avatar Jun 30 '24 23:06 jimgraham