pry-auto_benching.rb 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -2
- data/lib/pry-auto_benching/version.rb +1 -1
- data/lib/pry-auto_benching.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '094e7491e81ac6090aed5660ba17821cfafc5c018bb13e9319d521d99cda1134'
|
4
|
+
data.tar.gz: f86774af5ba4d4e961c7e66f37496a7d6da6ba4719cd029a3af0049b4de5e3bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52f9391138d6c52889c65f9eb1d5ace8e9a5eb453d83d120a46e8b1c110be6e462408c888caf341505781e94113871f603b9f93aa024689acf90dc3c73772ed2
|
7
|
+
data.tar.gz: c3f5fb37660fae9891db7fd53cc8e4c8eb969bb488b07270f8b2b8de2857c4cb2240a4128e7f0ea12b4a5d3242874a6f00ff80c347b2d08b70b993f1b46d4fb6
|
data/README.md
CHANGED
data/lib/pry-auto_benching.rb
CHANGED
@@ -96,7 +96,7 @@ Pry.configure do |config|
|
|
96
96
|
prompt_color: :green,
|
97
97
|
clock_type: Process::CLOCK_MONOTONIC,
|
98
98
|
benchmark_commands: true,
|
99
|
-
speak_if: ->(pry, duration) {
|
99
|
+
speak_if: ->(pry, duration) { duration > 0.0 },
|
100
100
|
speaker: ->(pry, duration) {
|
101
101
|
pry.pager.page format("%{AutoBenchingSays} %{Duration}s", {
|
102
102
|
:AutoBenchingSays => pry.color ?
|