testoscope 0.1.4 → 0.1.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
  SHA1:
3
- metadata.gz: 16a7a54e9143fbae24da24f0f4bf4b3d07715c3e
4
- data.tar.gz: 50c375d26c876e98361de309760ccda54ab929ad
3
+ metadata.gz: 48ce691579625e8c4b15011a87d40899d4c51452
4
+ data.tar.gz: 183f29ac7bd2e766d43c78eb051f42c77e67444b
5
5
  SHA512:
6
- metadata.gz: 6c2670eab141084027a2716a2157a8d64828a7f462c3b1f96c087bbc5e15b9dc662620e33ce2b1ad7618fa44ee95aa4df894f1ca5820273234caf55ff07a344a
7
- data.tar.gz: 6fc6bbf2a07d94e59eae4cecc1b963121618197c7a10cb8f6a4e98c06341d10e484a839840e6c2eb9aa79bb3de768c350882a32bc708f6c0f693d225968a972c
6
+ metadata.gz: 1739040d166c49b7c81b1d8dd50991b4913a12446161ae0cdfbed0cd4d287b8a11af11e64810caac6bee4d9c47e2abeb24d6bf303aede27ca297a3a5898affe1
7
+ data.tar.gz: 4f565be713d29e50e7929bd52852848a6ca4b7ad5d9fbbea22c352f3a2838b9f0ab059e4350142927d1ba273bf289c58bc64e596829305895c9850be57dddb72
data/.idea/workspace.xml CHANGED
@@ -33,8 +33,8 @@
33
33
  <file leaf-file-name="testoscope.rb" pinned="false" current-in-tab="false">
34
34
  <entry file="file://$PROJECT_DIR$/lib/testoscope.rb">
35
35
  <provider selected="true" editor-type-id="text-editor">
36
- <state relative-caret-position="256">
37
- <caret line="126" column="31" lean-forward="true" selection-start-line="126" selection-start-column="31" selection-end-line="126" selection-end-column="31" />
36
+ <state relative-caret-position="205">
37
+ <caret line="101" column="0" lean-forward="true" selection-start-line="101" selection-start-column="0" selection-end-line="101" selection-end-column="0" />
38
38
  <folding />
39
39
  </state>
40
40
  </provider>
@@ -182,7 +182,7 @@
182
182
  <option name="number" value="Default" />
183
183
  <option name="presentableId" value="Default" />
184
184
  <updated>1521465490978</updated>
185
- <workItem from="1521465492548" duration="16210000" />
185
+ <workItem from="1521465492548" duration="16434000" />
186
186
  </task>
187
187
  <task id="LOCAL-00001" summary="initial commit">
188
188
  <created>1521545104500</created>
@@ -209,7 +209,7 @@
209
209
  <servers />
210
210
  </component>
211
211
  <component name="TimeTrackingManager">
212
- <option name="totallyTimeSpent" value="16210000" />
212
+ <option name="totallyTimeSpent" value="16434000" />
213
213
  </component>
214
214
  <component name="ToolWindowManager">
215
215
  <frame x="0" y="0" width="1440" height="900" extended-state="0" />
@@ -282,8 +282,8 @@
282
282
  </entry>
283
283
  <entry file="file://$PROJECT_DIR$/lib/testoscope.rb">
284
284
  <provider selected="true" editor-type-id="text-editor">
285
- <state relative-caret-position="256">
286
- <caret line="126" column="31" lean-forward="true" selection-start-line="126" selection-start-column="31" selection-end-line="126" selection-end-column="31" />
285
+ <state relative-caret-position="205">
286
+ <caret line="101" column="0" lean-forward="true" selection-start-line="101" selection-start-column="0" selection-end-line="101" selection-end-column="0" />
287
287
  <folding />
288
288
  </state>
289
289
  </provider>
@@ -1,3 +1,3 @@
1
1
  module Testoscope
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
data/lib/testoscope.rb CHANGED
@@ -98,7 +98,7 @@ module Testoscope
98
98
 
99
99
  explain = yield
100
100
 
101
- config.pp_class.method(:pp).arity.abs == 1 ? config.pp_class.new.pp( explain ) : config.pp_class.new.pp( explain, 0 )
101
+ explain = config.pp_class.method(:pp).arity.abs == 1 ? config.pp_class.new.pp( explain ) : config.pp_class.new.pp( explain, 0 )
102
102
 
103
103
  app_trace = caller_locations( 2 ).map(&:to_s).select { |st|
104
104
  self.config.back_trace_paths.any?{|pth| st[pth]} && !self.config.back_trace_exclude_paths.any?{|epth| st[epth]}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testoscope
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - alekseyl