Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ruby-git/ruby-git
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4a7700d
Choose a base ref
...
head repository: ruby-git/ruby-git
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c81311f
Choose a head ref
  • 4 commits
  • 15 files changed
  • 1 contributor

Commits on Nov 11, 2025

  1. build: refactor Rakefile by splitting tasks into separate files

    The monolithic 79-line Rakefile has been refactored into a clean
    15-line loader that dynamically imports task definitions from the
    tasks/ directory.
    
    Changes:
    - Created tasks/ directory with 5 focused rake files:
      - tasks/test.rake - test execution tasks
      - tasks/rubocop.rake - RuboCop linting tasks
      - tasks/yard.rake - YARD documentation tasks
      - tasks/gem_tasks.rake - gem building and release tasks
      - tasks/test_gem.rake - gem sanity check task
    
    - Main Rakefile now:
      - Loads all .rake files from tasks/ directory
      - Dynamically builds default task list based on available tasks
      - Simplified from 79 lines to 15 lines
    
    - Moved platform-specific logic (JRuby/TruffleRuby check) into
      yard.rake where it belongs
    
    - Maintained all original functionality and default task behavior:
      - Default tasks: test, rubocop, yard, yardstick:coverage, build
      - yardstick remains commented out of defaults (too many warnings)
    
    This refactoring improves maintainability and separation of concerns
    while preserving all existing rake task functionality.
    jcouball committed Nov 11, 2025
    Configuration menu
    Copy the full SHA
    bd69f9b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4a03b5c View commit details
    Browse the repository at this point in the history
  3. fix: standardize deprecation handling and consolidate tests (fixes #842)

    Replace invalid Git.deprecation/Git.deprecated calls with Git::Deprecation.warn.
    Consolidate all deprecation-related tests into tests/units/test_deprecations.rb.
    
    Changes:
    - Base: use Git::Deprecation.warn in is_* methods and set_index/set_working
    - Object::Commit#set_commit warns properly
    - Consolidated log/base/object deprecation tests into one file
    - Removed redundant test files
    
    All tests pass locally: 430 tests, 1582 assertions.
    jcouball committed Nov 11, 2025
    Configuration menu
    Copy the full SHA
    a731110 View commit details
    Browse the repository at this point in the history
  4. chore: release v4.0.6

    jcouball committed Nov 11, 2025
    Configuration menu
    Copy the full SHA
    c81311f View commit details
    Browse the repository at this point in the history
Loading