tldr 0.10.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 29759fb49b03f109abea0bc89b863a8094b965784e6827772dae2e148b6b38fd
4
- data.tar.gz: f511164ea7cfb2602fe242dbd0cb3cfa36fee656d89a38cede3eb09ae73ffaef
3
+ metadata.gz: d60d27a492477aa1034acf117993630307f595690f97d356da763fb352f4837e
4
+ data.tar.gz: 240ee628207bf5b79568fff7ef93b5e6174825b8a53748e2b453076d2d00db7a
5
5
  SHA512:
6
- metadata.gz: 4a2760b9496cf063b295c08661004e24def945d219b45869ac731ab856b6370138d3bb53549ea7612110bf7ed8f9f565400413ef7b8c1084b2dce96d916aea86
7
- data.tar.gz: 47d2fa8f8c3a32a4ee6eb730d097960d404f9eef5f406b07bf599049e391614f6b095be5222c181bb2d35cbf527f8bae86829edf8758cddccb49c0e4dc438967
6
+ metadata.gz: 9e513372aedda6a808ee61e426fc3c738e1f7837fe3ccb55ec658153c15998b4eab9da976680f062d936c638e6fcdcbdcdfabec181137acc48ce6187b5d4aa69
7
+ data.tar.gz: 4fa415b7f6858e8a26766232a251542f28e7485ead112dd514d72fb55364ae54520ff1d3585dada05e8e56861295dfe458922f4038b1cdb67ee7ec1c4883f382
data/CHANGELOG.md CHANGED
@@ -1,3 +1,29 @@
1
+ ## unreleased
2
+
3
+ ## [1.1.0]
4
+
5
+ * Add `--exit-0-on-timeout` to allow the suite timeout to be used more as a budget constraint (e.g. "I know my full suite is going to take 30 seconds to run but I want to constantly run as many as I can in 500ms to get fast feedback")
6
+ * Add `--exit-2-on-failure` flag to exit with status 2 for test failures (not just errors), useful for Claude Code hooks which only block on exit code 2
7
+
8
+ ## [1.0.0]
9
+
10
+ * **BREAKING** you know how the whole point of TLDR is that it aborts your test
11
+ run after 1.8s? Yeah, well, it doesn't anymore. Use `--timeout` to enable it
12
+ * **BREAKING** replace the `--no-dotfile` flag and has been replaced by a
13
+ `--[no-]config PATH` flag. To skip loading the YAML file, use `--no-config`.
14
+ To set the file, use `--config FILE` option
15
+ * **BREAKING** Remove `assert_include?` and `refute_include?` in favor of
16
+ Minitest-compatible `assert_includes` and `refute_includes`.
17
+ * **BREAKING** Rename `TLDR::Assertions::MinitestCompatibility` to `TLDR::MinitestCompatibility` and remove `assert_send`, which [nobody uses](https://github.com/minitest/minitest/issues/668)
18
+ * **BREAKING** Replace `no_emoji` YAML option with `emoji` option. Disable emoji output by default. Add `--emoji` flag for enabling it.
19
+ * Add `--[no-]timeout TIMEOUT` flag and `timeout` YAML option. To enable the
20
+ TLDR Classic™ default of 1.8s, specify `--timeout` from the CLI or `timeout: true`
21
+ in YAML. To specify a custom timeout of 42.3 seconds, flag `--timeout 42.3` or
22
+ `timeout: 42.3` in YAML
23
+ * Add `require "tldr/autorun"`, which adds an `at_exit` hook so that tests can be
24
+ run from the command line (still supports CLI args and YAML options) by running `ruby path/to/test.rb` (see [its test](/tests/autorun_test.rb))
25
+ * Fix custom reporters by looking them up only after helpers have a chance to run. [#15](https://github.com/tendersearls/tldr/issues/15)
26
+
1
27
  ## [0.10.1]
2
28
 
3
29
  * Fix 3.4 / Prism [#17](https://github.com/tendersearls/tldr/pull/17)