pry-auto_benching.rb 2.10.1 → 2.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/README.md +2 -2
- data/lib/pry-auto_benching/version.rb +1 -1
- data/lib/pry-auto_benching.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b26198453a88a7fb67cb8448d8caec3994fb5e977c372d728a0ddb33cc42842
|
4
|
+
data.tar.gz: 0b027e7885209b80106511767514a294a854c7511f425cb860977a4b81f40d30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0faf973255c58f7e4d1bf3f240a5a02db952dab641c79ada4851aff6109a216ece1eb1267d54c07e6fb53e0a39ed54c48f0ed6eb4fad0556b853bb6a0871a3e
|
7
|
+
data.tar.gz: 5eaa3e229fef6b3a3f8114ed60332cf458e4d3913232e652ac0b32f4c9ecdc1bcb23e8c82f7ec422730771179978fe98c8dc821b6a39a3333796935707c5ab70
|
data/CHANGELOG.md
CHANGED
@@ -1,10 +1,14 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## v2.10.2
|
4
|
+
|
5
|
+
* Prevent an exception from being raised when running `auto-benching --version`.
|
6
|
+
|
3
7
|
## v2.10.1
|
4
8
|
|
5
9
|
* Fix a typo in write_duration lambda that didn't mention 'none' as a valid
|
6
10
|
value for `_pry_.config.auto_benching.target_display`
|
7
|
-
|
11
|
+
|
8
12
|
## v2.10.0
|
9
13
|
|
10
14
|
* Add 'none' as a possible target display.
|
data/README.md
CHANGED
@@ -33,8 +33,8 @@ Pry.configure do |config|
|
|
33
33
|
# demand by running 'auto-benching --past'.
|
34
34
|
config.auto_benching.target_display = ':prompt | :output | :none'
|
35
35
|
|
36
|
-
#
|
37
|
-
#
|
36
|
+
# Define a Proc that decides whether or not to record or display benchmark
|
37
|
+
# results. The default condition is 'duration >= 0.01'.
|
38
38
|
config.auto_benching.display_duration_if = ->(pry, duration) { duration >= 0.02 }
|
39
39
|
|
40
40
|
# The color to use for benchmark results when `target_display` is :prompt.
|
data/lib/pry-auto_benching.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pry-auto_benching.rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.10.
|
4
|
+
version: 2.10.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Gleeson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|