Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
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 orlearn 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:v0.4.20
Choose a base ref
Loading
...
head repository:ruby/net-imap
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare:v0.4.21
Choose a head ref
Loading
  • 10commits
  • 3files changed
  • 1contributor

Commits on Apr 29, 2025

  1. 🐛 FixSequenceSet#slice with range(start...0)

    The bug was that exclusive ranges ending in zero would be converted toend on `-1`, which would be interpretted as the last value in the range.
    @nevans
    nevans committedApr 29, 2025
    Configuration menu
    Copy the full SHA
    ee2b40cView commit details
    Browse the repository at this point in the history
  2. 🐛 Fix inconsistently frozen SequenceSet#[] result

    This maybe isn't actually documented very well (or at all...) but mostSequenceSet transform methods return a frozen result when +self+ isfrozen and a mutable result when +self+ is mutable.  Except +limit+which always returns a frozen result.  And (before this commit) +slice+,which inconsistently returned with matching frozen status when theresult wasn't empty, but always returned a frozen set when the result_was_ empty.Adding these tests exposed a much more significant bug:`SequenceSet#xor` mutates the reciever.
    @nevans
    nevans committedApr 29, 2025
    Configuration menu
    Copy the full SHA
    14d698eView commit details
    Browse the repository at this point in the history
  3. 🐛SequenceSet#xor should not modifyself

    `set ^ other` and `set.xor other` are supposed to be safe transforms.But, unfortunately, they modified the receiver if it wasn't frozen, andcrashed when it was!The fix is trivial: convert `self` to `dup`.
    @nevans
    nevans committedApr 29, 2025
    Configuration menu
    Copy the full SHA
    33367bbView commit details
    Browse the repository at this point in the history
  4. 🐛 Fix SequenceSet#slice when length > result size

    The goal is for `#[]` (aliased as `#slice`) to behave similarly to`Array#[]`/`Array#slice`.  When `Array#slice` has a length or range thatextends beyond the end of the array, they simply return everythingup to the end.
    @nevans
    nevans committedApr 29, 2025
    Configuration menu
    Copy the full SHA
    da1390cView commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    06fb071View commit details
    Browse the repository at this point in the history
  6. 🔀 Merge pull request#461from ruby/backport/v0.4-seqset-bugfixes

    🐛 Backport v0.4 SequenceSet bugfixes
    @nevans
    nevans authoredApr 29, 2025
    Configuration menu
    Copy the full SHA
    e0f997cView commit details
    Browse the repository at this point in the history
  7. ✅ Add tests forSequenceSet#xor

    I'm not sure how this escaped testing before, but yikes!
    @nevans
    nevans committedApr 29, 2025
    Configuration menu
    Copy the full SHA
    4b3270cView commit details
    Browse the repository at this point in the history
  8. ✅ Add basic fuzz tests for SequenceSet operators

    I almost accidentally committed a big bug for `#xor`.  Yikes!  I decidedto take that opportunity to simply add some randomized tests on all ofthe set operators, based on set identities that should always hold true.These can also be used for microbenchmarks and profiling of SequenceSet.
    @nevans
    nevans committedApr 29, 2025
    Configuration menu
    Copy the full SHA
    45e39d1View commit details
    Browse the repository at this point in the history
  9. 🔀 Merge pull request#466from ruby/backport/0.4-seqset-tests

    ✅ Backport `SequenceSet` tests to 0.4
    @nevans
    nevans authoredApr 29, 2025
    Configuration menu
    Copy the full SHA
    8b09881View commit details
    Browse the repository at this point in the history
  10. 🔖 Bump version to 0.4.21

    @nevans
    nevans committedApr 29, 2025
    Configuration menu
    Copy the full SHA
    644a5d1View commit details
    Browse the repository at this point in the history
Loading

[8]ページ先頭

©2009-2025 Movatter.jp