Project

roboticist

0.0
The project is in a healthy, maintained state
Roboticist helps Ruby developers keep their FactoryBot factories clean and efficient. It provides tools to detect unused traits, find slow factories, identify circular dependencies, and suggest performance optimizations. The gem includes a CLI for easy integration into development workflows and CI pipelines.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

 Project Readme

Roboticist

Gem Version Build Maintainability Test Coverage

TODO

Table of contents

  • Key features
  • Installation
  • Quickstart
  • Documentation
  • Development
    • Type checking
  • Contributing
  • License
  • Code of Conduct

🔑 Key features

TODO

📦 Installation

Install the gem and add to the application's Gemfile by executing:

$ bundle add roboticist

If bundler is not being used to manage dependencies, install the gem by executing:

$ gem install roboticist

⚡️ Quickstart

TODO

📚 Documentation

🔨 Development

After checking out the repo, run bin/setup to install dependencies.

To install this gem onto your local machine, run bundle exec rake install.

You can also run bin/console for an interactive prompt that will allow you to experiment.

To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and the created tag, and push the .gem file to rubygems.org.

The health and maintainability of the codebase is ensured through a set of Rake tasks to test, lint and audit the gem for security vulnerabilities and documentation:

rake build                    # Build roboticist.gem into the pkg directory
rake build:checksum           # Generate SHA512 checksum if roboticist.gem into the checksums directory
rake bundle:audit:check       # Checks the Gemfile.lock for insecure dependencies
rake bundle:audit:update      # Updates the bundler-audit vulnerability database
rake clean                    # Remove any temporary products
rake clobber                  # Remove any generated files
rake coverage                 # Run spec with coverage
rake install                  # Build and install roboticist.gem into system gems
rake install:local            # Build and install roboticist.gem into system gems without network access
rake qa                       # Test, lint and perform security and documentation audits
rake release[remote]          # Create a tag, build and push roboticist.gem to rubygems.org
rake rubocop                  # Run RuboCop
rake rubocop:autocorrect      # Autocorrect RuboCop offenses (only when it's safe)
rake rubocop:autocorrect_all  # Autocorrect RuboCop offenses (safe and unsafe)
rake spec                     # Run RSpec code examples
rake verify_measurements      # Verify that yardstick coverage is at least 100%
rake yard                     # Generate YARD Documentation
rake yard:junk                # Check the junk in your YARD Documentation
rake yardstick_measure        # Measure docs in lib/**/*.rb with yardstick

Type checking

This gem leverages RBS, a language to describe the structure of Ruby programs. It is used to provide type checking and autocompletion in your editor. Run bundle exec typeprof FILENAME to generate an RBS definition for the given Ruby file. And validate all definitions using Steep with the command bundle exec steep check.

🐞 Issues & Bugs

If you find any issues or bugs, please report them here, I will be happy to have a look at them and fix them as soon as possible.

🤝 Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/wilsonsilva/roboticist. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

📜 License

The gem is available as open source under the terms of the MIT License.

👔 Code of Conduct

Everyone interacting in the roboticist project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.