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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 49a56e98e967ced15aceffc2d65f256fbc038b587ad338d38787f8e224ecc81f
4
- data.tar.gz: 88d749966b1a966fb71065e2b6c8f7e0071dec2acb5008d5b6f319e8d8197cde
3
+ metadata.gz: 0b26198453a88a7fb67cb8448d8caec3994fb5e977c372d728a0ddb33cc42842
4
+ data.tar.gz: 0b027e7885209b80106511767514a294a854c7511f425cb860977a4b81f40d30
5
5
  SHA512:
6
- metadata.gz: 9efee3e767930db94c6e27e3412016bf588dd7ac5e917fc0ef33bec8e045a27a584b745985cd316180c4fe49aa40644d671a2187310e82a9f78619cc362977f2
7
- data.tar.gz: 1f603d76a4c9aee98ba4833f9c1913b5e8622b4e4e528a53981bade9999f14ae00ebd812a4e057a49f285edae8591d50fbe9f2fddbda8d2a30c18f9acc254911
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
- # Benchmark results are printed or not depending on the return value
37
- # of this lambda, by default results are printed when duration >= 0.01.
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.
@@ -1,5 +1,5 @@
1
1
  class Pry
2
2
  module AutoBenching
3
- VERSION = "2.10.1"
3
+ VERSION = "2.10.2"
4
4
  end
5
5
  end
@@ -1,4 +1,5 @@
1
1
  module Pry::AutoBenching
2
+ require 'pry-auto_benching/version'
2
3
  require 'pry-auto_benching/pry_command'
3
4
 
4
5
  #
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.1
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-23 00:00:00.000000000 Z
11
+ date: 2018-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry