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: splitwise/super_diff
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.13.0
Choose a base ref
...
head repository: splitwise/super_diff
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.14.0
Choose a head ref
  • 13 commits
  • 322 files changed
  • 5 contributors

Commits on Sep 25, 2024

  1. Improve inspection of Module (#263)

    A module's inspection (used e.g. generate a description of an RSpec
    example) has been improved to now include the module's name, which
    identifies the module better than the previous string.
    
    Old: `#<Module:0x0000000107f7a0a0>`
    New (e.g.): `SuperDiff::Test`.
    
    Closes #255.
    phorsuedzie authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    7d1a4ce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb46aec View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. Configuration menu
    Copy the full SHA
    28eb1c8 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2024

  1. Configuration menu
    Copy the full SHA
    613bc30 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. Add handling for Ranges (#267)

    Fix for #154.
    
    Adds a RangeObject inspection tree builder so Range objects are printed as strings, like this:
    
    ```
    (1..2)
    ```
    
    instead of as default objects:
    ```
    #<Range:0x123456 ...
    ```
    
    ---------
    
    Co-authored-by: Joe Stein <[email protected]>
    lucaseras and jas14 authored Oct 22, 2024
    Configuration menu
    Copy the full SHA
    9e13afc View commit details
    Browse the repository at this point in the history
  2. Switch from Prettier to Rubocop (#269)

    This project currently has three language dependencies for development:
    
    * Ruby, for the library code and testing
    * Javascript, for linting with Prettier and installing commit hooks with
    Husky
    * Python, for creating the docsite
    
    In an effort to reduce these dependencies, I'm moving to eliminate JS
    from the dev environment, starting with Prettier. I may replace Husky
    with Overcommit or a bespoke script.
    jas14 authored Oct 22, 2024
    Configuration menu
    Copy the full SHA
    25ceb5f View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. Update inspection-tree reference (#270)

    # PR Summary
    Commit fc418c1 changed the location of
    `inspection_tree.rb`. This PR adjusts sources to changes.
    
    Signed-off-by: Emmanuel Ferdman <[email protected]>
    emmanuel-ferdman authored Oct 23, 2024
    Configuration menu
    Copy the full SHA
    338d12b View commit details
    Browse the repository at this point in the history
  2. Add #270 to changelog

    jas14 committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    9943ecc View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. Replace Zeus with process forking strategy (#271)

    Integration tests without Zeus are very slow because we run each example
    in a new process, which has to load all dependencies and frameworks –
    like RSpec, SuperDiff, ActiveSupport, etc – from scratch.
    
    Zeus improved on this, but has a client-server architecture and has been
    proving somewhat difficult to use. If we instead load the dependencies
    and then run RSpec in a new
    [_forked_](https://man7.org/linux/man-pages/man2/fork.2.html)
    subprocess, we don't have to reload anything loaded before fork time,
    and don't have to use Zeus.
    
    Light testing shows a ~5x speed-up over non-Zeus integration tests.
    jas14 authored Oct 24, 2024
    Configuration menu
    Copy the full SHA
    88a123c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a26276f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2234d03 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2024

  1. Exclude more un-diffable objects (#273)

    Closes #268.
    
    SuperDiff already skips diff output for incomparable types, such as `true`, `false`, and `nil`. We will now also skip diff output when comparing the following types (for which we can't produce a meaningful diff):
    
    * `Symbol`
    * `Numeric`
    * `Regexp`
    * `Class`
    * `Module`
    lucaseras authored and jas14 committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    ba1ba2c View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2024

  1. Release 0.14.0

    jas14 committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    993d5e7 View commit details
    Browse the repository at this point in the history
Loading