pry-auto_benching.rb 3.1.0 → 3.2.0

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: 045cf80b47b7e90cd9b0ce925106b37e9280ca87ef74f603a264cfa442718b19
4
- data.tar.gz: ebaf1241f1974405a91b6e2255561c43ff0b9401083eb6eccbff6c92769cf486
3
+ metadata.gz: cf14cb05c17cd976eb2655d4667443d0c85d784f208c46aa94f890edf649cc2b
4
+ data.tar.gz: 1c7a91b6010ce686b8de9f2a897b3ab7d84b7c343f7b2bb67f91cb332f76b268
5
5
  SHA512:
6
- metadata.gz: 126752554d260b8e977e86478aad4d8b251598762e9a4ab74fbbe7ee6d0f5f9bb22e76817c71b91e2605aec5067c5f26de2ed5c52fd880b87a2838210f6e683c
7
- data.tar.gz: e5c63c874fb755a6f1f63f2e041ac6c80bb1cb94dc991133e2e61bb0aae584aaa24530f3819a980420c995ff79d6518961ea7864de66dc854251874459a992c2
6
+ metadata.gz: c7fcc9d22d1e984bcab972c29b650b991f54cd9357d275b274bf1cd9522631ff25512c352c02427b5e6de132599bc407b935d6713354d909f23edcefad636ef5
7
+ data.tar.gz: 8b9b755573545e077c102a4e644ff27954f47df7c930cee0b8fdd7a00c4e16f7ec9809ebe7c1d107e9bf1869508bb98e564601bab8c7711ff716ed559bba0aac
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## v3.2.0
4
+
5
+ * Add `lib/pry-auto_benching/moment.rb`.
6
+
7
+ * Switch to using `require_relative` for files belonging to `pry-auto_benching.rb`.
8
+
3
9
  ## v3.1.0
4
10
 
5
11
  * Align the index, duration, and line of input in the output of
@@ -0,0 +1,9 @@
1
+ #
2
+ # A Struct that contains information about a input moment in Pry.
3
+ #
4
+ # @api private
5
+ #
6
+ Moment = Struct.new(:start_timestamp) do
7
+ attr_accessor :input
8
+ attr_accessor :duration
9
+ end
@@ -1,5 +1,5 @@
1
1
  class Pry
2
2
  module AutoBenching
3
- VERSION = "3.1.0"
3
+ VERSION = "3.2.0"
4
4
  end
5
5
  end
@@ -1,16 +1,9 @@
1
1
  module Pry::AutoBenching
2
2
  require 'pry'
3
- require 'pry-auto_benching/version'
4
- require 'pry-auto_benching/moment_list'
5
- require 'pry-auto_benching/pry_command'
6
-
7
- #
8
- # @api private
9
- #
10
- Moment = Struct.new(:start_timestamp) do
11
- attr_accessor :input
12
- attr_accessor :duration
13
- end
3
+ require_relative 'pry-auto_benching/version'
4
+ require_relative 'pry-auto_benching/moment'
5
+ require_relative 'pry-auto_benching/moment_list'
6
+ require_relative 'pry-auto_benching/pry_command'
14
7
 
15
8
  @moments = Hash.new do |h, pry|
16
9
  h[pry.hash] = MomentList.new(pry)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-auto_benching.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Gleeson
@@ -34,6 +34,7 @@ files:
34
34
  - LICENSE.txt
35
35
  - README.md
36
36
  - lib/pry-auto_benching.rb
37
+ - lib/pry-auto_benching/moment.rb
37
38
  - lib/pry-auto_benching/moment_list.rb
38
39
  - lib/pry-auto_benching/pry_command.rb
39
40
  - lib/pry-auto_benching/version.rb