Commit Graph

17 Commits

Author SHA1 Message Date
Jean Boussier 1bc26d1ada Bump rubocop 2023-12-14 10:41:58 +01:00
Jean Boussier 9bf5f12f33 Add tests for `$LOAD_PATH.dup` and `Ractor.make_shareable` 2023-10-30 10:01:54 +01:00
Jean Boussier b75c683feb Fix compatibility with minitest 5.19 2023-08-03 15:41:39 +02:00
Randy Stauner 91977e3f22
Guard against unsupported platforms so that code can still be loaded
With this change the test suite can finish on unsupported platforms.

131 runs, 22 assertions, 0 failures, 0 errors, 114 skips
2023-06-30 14:31:03 -07:00
Jean Boussier 26fcb55fdc Add ChangeObserver.unregister 2022-06-01 12:11:43 +02:00
Jean Boussier 9e1a126f4f Drop Ruby 2.4 support 2022-06-01 10:37:37 +02:00
Jean Boussier b277e75e85 Cleanup the rubocop config
Go back to rubocop 0.80 for Ruby 2.3 support.
Stop depending on the company style guide, as it needs a newer
rubocop.
2022-01-13 10:05:10 +01:00
Patrick J. Sparrow f509421f01 Add prepend and append to ChangeObserver 2021-05-05 16:59:57 -04:00
alebruck b720530584 Update minimum ruby version and fix rubocop 2019-10-12 17:23:16 +02:00
Burke Libbey 0a6d32d45e Don't register observer to frozen object 2019-02-19 17:22:58 -05:00
Burke Libbey 581bc3fa59 update style guide 2019-02-06 13:29:01 -05:00
John Hawthorn 2bd3b209a1 Add special case for uniq! in ChangeObserver
uniq! with no arguments does not change the effective load order, so we
don't need to reinitialize.
2018-09-06 16:34:45 -07:00
Dylan Thacker-Smith 03e7c051c9 Add test for registering twice 2018-04-20 09:40:51 -04:00
Dylan Thacker-Smith 4457dc81da Fix return value of mutating array methods wrapped by ChangeObserver 2018-04-14 14:04:27 -04:00
Dylan Thacker-Smith d708564384 Pass block to wrapped method in ChangeObserver 2018-04-13 10:13:03 -04:00
Burke Libbey 86b8b28552
add and appease rubocop 2017-10-06 13:31:34 -04:00
Burke Libbey 47539a1c07
Initial public release 2017-03-31 11:38:33 -04:00