tldr 0.9.4 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 661e0ea905baa7122eba59c8f5954a3228698a2972a3567447bca5d8e7478f7e
4
- data.tar.gz: 15ca7a5c88ee2406952f760bfbb58143b37a2ba929d34183722a4eb2cb05d7ac
3
+ metadata.gz: 6929795fbe4a33bf03bc8bb107a4902b6f125bfc879edf0ec0441b5ec7e5d7a5
4
+ data.tar.gz: 52df3f72b9fcd4dd046d5513fd1c0c1ce69a04a6559f3edfc2c50c58fb7aa073
5
5
  SHA512:
6
- metadata.gz: 62b464ca2538db776cc6d8f3b664f465c230c1faff70196342ef48b04b98b5419bc4a43718cad80b159887c64f840816caaf79f8451baa8adea05f5424e2ab98
7
- data.tar.gz: 1c7b685b900c2b47de3750c6e5ae4706853d9d1b8758cd514373e56dcfca580a40e9ca0bc7c391a52286acee9d25a1147673d86bdf4b95d14ae67e808146c4a9
6
+ metadata.gz: d065a84fd62ebc48fdac9223a615540c02b570172e4337c07e362dcdd8fec94037fbb64447b1099e127641c8909e0148f465252fc5f2e48c5d2af2128b5d4e28
7
+ data.tar.gz: cbfbaee9dbbbc6854d48c415f3818611f9b980527a0afb5ce7d032484edce9753bf902c0f737b44480e1717484e74fac96221cc2104844a96d2b1e9c2b5eaaf5
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## [0.9.5]
2
+
3
+ * Fix warning when defining `setup`/`teardown` on TLDR class itself [#7](https://github.com/tendersearls/tldr/issues/7)
1
4
 
2
5
  ## [0.9.4]
3
6
 
data/lib/tldr/hooks.rb ADDED
@@ -0,0 +1,9 @@
1
+ class TLDR
2
+ module Hooks
3
+ def setup
4
+ end
5
+
6
+ def teardown
7
+ end
8
+ end
9
+ end
data/lib/tldr/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class TLDR
2
- VERSION = "0.9.4"
2
+ VERSION = "0.9.5"
3
3
  end
data/lib/tldr.rb CHANGED
@@ -6,6 +6,7 @@ require_relative "tldr/backtrace_filter"
6
6
  require_relative "tldr/class_util"
7
7
  require_relative "tldr/error"
8
8
  require_relative "tldr/executor"
9
+ require_relative "tldr/hooks"
9
10
  require_relative "tldr/parallel_controls"
10
11
  require_relative "tldr/path_util"
11
12
  require_relative "tldr/planner"
@@ -21,12 +22,7 @@ require_relative "tldr/watcher"
21
22
  class TLDR
22
23
  include Assertions
23
24
  include Skippable
24
-
25
- def setup
26
- end
27
-
28
- def teardown
29
- end
25
+ include Hooks
30
26
 
31
27
  module Run
32
28
  def self.cli argv
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tldr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Searls
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2023-10-14 00:00:00.000000000 Z
12
+ date: 2023-10-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: super_diff
@@ -64,6 +64,7 @@ files:
64
64
  - lib/tldr/class_util.rb
65
65
  - lib/tldr/error.rb
66
66
  - lib/tldr/executor.rb
67
+ - lib/tldr/hooks.rb
67
68
  - lib/tldr/parallel_controls.rb
68
69
  - lib/tldr/path_util.rb
69
70
  - lib/tldr/planner.rb