Skip to content

Latest commit

 

History

History
76 lines (54 loc) · 1.27 KB

File metadata and controls

76 lines (54 loc) · 1.27 KB

Contributing to Rails Console Pro

Thank you for your interest in contributing to Rails Console Pro!

Development Setup

  1. Fork and clone the repository:

    git clone https://github.com/harshumaretiya/rails_console_pro.git
    cd rails_console_pro
  2. Install dependencies:

    bundle install
  3. Run tests:

    bundle exec rspec
  4. Build the gem:

    gem build rails_console_pro.gemspec

Making Changes

  1. Create a feature branch:

    git checkout -b feature/my-feature
  2. Make your changes and add tests

  3. Ensure all tests pass:

    bundle exec rspec
  4. Run RuboCop:

    bundle exec rubocop
  5. Commit your changes:

    git commit -m "Add feature: description"
  6. Push and create a pull request

Code Style

  • Follow Ruby style guide
  • Use RuboCop for linting
  • Write tests for new features
  • Update documentation as needed

Testing

  • Write tests for all new features
  • Ensure edge cases are covered
  • Maintain or improve test coverage

Documentation

  • Update README.md for user-facing changes
  • Update CHANGELOG.md for all changes
  • Add code comments for complex logic

Questions?

Open an issue or start a discussion!