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/net-imap
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 567518c
Choose a base ref
...
head repository: ruby/net-imap
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5935002
Choose a head ref
  • 3 commits
  • 4 files changed
  • 2 contributors

Commits on Dec 15, 2025

  1. ⬆️ Bump step-security/harden-runner from 2.13.3 to 2.14.0 (#579)

    Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.13.3 to 2.14.0.
    - [Release notes](https://github.com/step-security/harden-runner/releases)
    - [Commits](step-security/harden-runner@df199fb...20cf305)
    
    ---
    updated-dependencies:
    - dependency-name: step-security/harden-runner
      dependency-version: 2.14.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Dec 15, 2025
    Configuration menu
    Copy the full SHA
    6b07bf4 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2025

  1. 🐛 Fix SequenceSet#max(n), cardinality < n <= size

    When `SequenceSet#max(n)` is called with `n > cardinality`, it _should_
    return a duplicate of the whole set.  But, `#max(n)` is implemented
    using `#slice(-n..)`, and (copying the behavior of `Array`), when a
    slicing starts from an out-of-range index, it returns `nil`.
    
    It was using `-[count, size].min` to keep the index from going
    out-of-range.  Prior to #564, `#size` was the same as `#count`, so it
    would give incorrect results when the set contains an endless range.
    After #564, this gives incorrect results when the ordered list contains
    duplicates.
    
    This change should also give a small performance boost, because it
    bypasses the complexity of `#slice(range)` and just calls `#dup` (or
    returns `self` when the set is frozen).
    
    This issue was one of the motivations for #563 (and #564), but then I
    forgot about the bug, so it wasn't fixed in time for 0.6.0!
    nevans committed Dec 16, 2025
    Configuration menu
    Copy the full SHA
    ce176b4 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2025

  1. 🔖 Bump version to 0.6.1

    nevans committed Dec 17, 2025
    Configuration menu
    Copy the full SHA
    5935002 View commit details
    Browse the repository at this point in the history
Loading