The letter A styled as Alchemists logo. lchemists

Refinements 14.6.0

Keyboard Shortcuts

  • v: View versions.
  • TAB: Move to next commit.
  • ⇧ + TAB: Move to previous commit.
  • ENTER: Open or close a commit.
  • ←: View previous version.
  • β†’: View next version.

Version 14.6.0

SHA

57272c6661251707bbf75e313b0d1a0e2e4ccb1f

Signature

-----BEGIN PGP SIGNATURE-----

iQJPBAABCAA5FiEE0UiFiNLe33PmLweh8rxJvE/7mkgFAmrBgEobFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMCwzAAoJEPK8SbxP+5pIpjcP/3FLeAChiqKpAso6acZa
FXX/w7rmmpfIx2D3JnzhPgHFmNgkibQc1L0QZ3vTMGzSfh1JOAE/Yh3uCdDbm0fB
fLSn1RP6QhV86vPlFoDio15/+eXGX7A+HyKbCr1xK3Vpg/UlBGX5oRnhDDbKH7Z2
pOEoDbGzs6hKv/xi9G0o3jr9TK+eKaIoVu8SQUBsJ7LI9gVXrsAVY9W8v9aqMfbQ
XBAkNcrbLPApbTwSwHWiaN5fGpgEj29M5tZMboTiVzrqW2mUnfC7eGXnjP47dAk/
b7qo8IM4I34jBnKb2FH7Yd8fYGBY0hG0/TMuKPNTUI5xwznGsC2TWnsCHHBodTsh
NzWWB1EUUipFJTdsqXgxmFWCeQihcKCUwudhZUalcRZKx6nLAnekw+s22+ZMDA9H
94MeUFk1EAvsnCQwSm3pynY7BhCgPZO+SfjMEWJLxHF+p/wxI4XHVAG4zkkVzDuT
wr7FlNhhzCwmO3rkjOWAGI54a1w0+5YchxUyQe0n/5ecj7W4LSPvYDJ1YlftKa1x
KcekjcOAmNj3YixEygpyFkBIzBWCm7MFJTOy2BQhh8tt2ezklDqBgPmKeovsrZL5
fNDqTpew3DASCksLtTiazInJM016rbitTTVAW3vUFR8SbZZ38xjxkYPFk7+EhUlU
+Jez0dVU2LY6SlQg7QbbU8+4
=/03D
-----END PGP SIGNATURE-----
Commit Author Files Lines Issue Review
normal Added Hash deprecation warning for use method Brooke Kuhlmann 2 0 / +11 All All
minor

Message

Gives folks time to stop using this method and refactor accordingly.

Notes

None.

Info

Author

Brooke Kuhlmann Brooke Kuhlmann

Collaborators

None.

Signers

None.

Signature

SHA

6993d8598b0591ed027c93ec9d156af026c09fa3

Fingerprint

F2BC49BC4FFB9A48

Fingerprint Primary Key

D1488588D2DEDF73E62F07A1F2BC49BC4FFB9A48

Created

Updated

normal Added hash expand keys method Brooke Kuhlmann 3 0 / +36 All All
minor

Message

Necessary to take a hash of flat keys and expand them to their nested equivalent. This also allows you to reverse the result of Hash#flatten_keys.

Reek was updated to ignore the nested iterator as it’s a necessary evil in this situation because we need the parts to be reduced before deep merging.

Notes

None.

Info

Author

Brooke Kuhlmann Brooke Kuhlmann

Collaborators

None.

Signers

None.

Signature

SHA

4f7dc59213e9ca81e84554692269166c568aca53

Fingerprint

F2BC49BC4FFB9A48

Fingerprint Primary Key

D1488588D2DEDF73E62F07A1F2BC49BC4FFB9A48

Created

Updated

normal Updated hash deep merge to support nested arrays Brooke Kuhlmann 4 -31 / +107 All All
minor

Message

Ensures deep merges handle nested arrays in addition to nested hashes. Behavior is changed as follows:

  • Nested arrays are resolved by index. This means both arrays must match position in order to merge hashes or concat arrays.

  • When the other array is longer than the original, the additional elements are appended.

  • Adds block support so you can customize behavior further as necessary.

Prior to these changes, the original array would be completely replaced by the other array.

Reek and RuboCop were updated to ignore issues with feature envy, too many statements, and method length since there’s not a way to reduce this further without requiring this refinement to depend on the Array refinement.

Notes

None.

Info

Author

Brooke Kuhlmann Brooke Kuhlmann

Collaborators

None.

Signers

None.

Signature

SHA

facf73f799c5ce5e1c8dbed98c172cea8f451a7c

Fingerprint

F2BC49BC4FFB9A48

Fingerprint Primary Key

D1488588D2DEDF73E62F07A1F2BC49BC4FFB9A48

Created

Updated

normal Updated version Brooke Kuhlmann 3 -8 / +82 All All
minor

Message

None.

Notes

None.

Info

Author

Brooke Kuhlmann Brooke Kuhlmann

Collaborators

None.

Signers

None.

Signature

SHA

946719426cd5ffeb789d7126abb8e3db15c5e732

Fingerprint

F2BC49BC4FFB9A48

Fingerprint Primary Key

D1488588D2DEDF73E62F07A1F2BC49BC4FFB9A48

Created

Updated

normal Refactored Hash array diff Brooke Kuhlmann 1 -4 / +4 All All
patch

Message

Cleans up terminology and clarifies we are checking array differences.

Notes

None.

Info

Author

Brooke Kuhlmann Brooke Kuhlmann

Collaborators

None.

Signers

None.

Signature

SHA

1814c25ac0378574558d46d1012c3da8213be13c

Fingerprint

F2BC49BC4FFB9A48

Fingerprint Primary Key

D1488588D2DEDF73E62F07A1F2BC49BC4FFB9A48

Created

Updated