test-prof 0.2.0 → 0.2.1

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: 801b84df6d3f7ee580f2cdd0bb907a5d973d0f12
4
- data.tar.gz: 7a1295fa606ba8fcbdb6d22867e0b6dfb5709519
3
+ metadata.gz: 2b61bd0dd4011eb8d77c50a343ba8e582393bd68
4
+ data.tar.gz: 3a233a89a57d261382dc253cb87156655a7356c6
5
5
  SHA512:
6
- metadata.gz: '078e932d7605e8399820ecdd3d7b4ee1098093c73d4f0f647c94ba095fad4b64531848304f86a3e1debce528bf815d2f78085b983c20ab906d0ca388d1874522'
7
- data.tar.gz: '09c1d29d373158828d5d44d0a96a2413960934a60170b81a1f3974bc9c10e59fcdf4bcb20df2f842cd2985d82510c9e46ba024eca4f080d6008656e72a86a649'
6
+ metadata.gz: 335d1151f7fcf286f9bf0ba01fcadcbe09c042e9712d069c4c85a3acc5e28f548add3580292fbed6ec8d89da796330b81ac66809fd55ab952fef5a20caf4e200
7
+ data.tar.gz: b2fb7e978bb9247c9d53e082682bb5fae34d0f7179784295457077100abff1365481b564fa4bb62e1bb24f4a3edf9d8fff0ef6be199ddf188ee99813ee369573
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 0.2.1
6
+
7
+ - Detect `RSpec` by checking the presence of `RSpec::Core`. ([@palkan][])
8
+
9
+ Fixes [#8](https://github.com/palkan/test-prof/issues/8).
10
+
5
11
  ## 0.2.0
6
12
 
7
13
  - Ensure output directory exists. ([@danielwestendorf][])
@@ -172,6 +172,6 @@ module TestProf
172
172
  end
173
173
  end
174
174
 
175
- require "test_prof/event_prof/rspec" if defined?(RSpec)
175
+ require "test_prof/event_prof/rspec" if defined?(RSpec::Core)
176
176
  require "test_prof/event_prof/minitest" if defined?(Minitest::Reporters)
177
177
  require "test_prof/event_prof/custom_events"
@@ -125,7 +125,7 @@ module TestProf
125
125
  end
126
126
  end
127
127
 
128
- require "test_prof/factory_doctor/rspec" if defined?(RSpec)
128
+ require "test_prof/factory_doctor/rspec" if defined?(RSpec::Core)
129
129
  require "test_prof/factory_doctor/minitest" if defined?(Minitest::Reporters)
130
130
 
131
131
  TestProf.activate('FDOC') do
@@ -132,4 +132,4 @@ module TestProf
132
132
  end
133
133
  end
134
134
 
135
- require "test_prof/rspec_stamp/rspec" if defined?(RSpec)
135
+ require "test_prof/rspec_stamp/rspec" if defined?(RSpec::Core)
@@ -183,7 +183,7 @@ module TestProf
183
183
  end
184
184
  end
185
185
 
186
- require "test_prof/ruby_prof/rspec" if defined?(RSpec)
186
+ require "test_prof/ruby_prof/rspec" if defined?(RSpec::Core)
187
187
 
188
188
  # Hook to run RubyProf globally
189
189
  TestProf.activate('TEST_RUBY_PROF') do
@@ -122,7 +122,7 @@ module TestProf
122
122
  end
123
123
  end
124
124
 
125
- require "test_prof/stack_prof/rspec" if defined?(RSpec)
125
+ require "test_prof/stack_prof/rspec" if defined?(RSpec::Core)
126
126
 
127
127
  # Hook to run StackProf globally
128
128
  TestProf.activate('TEST_STACK_PROF') do
@@ -5,4 +5,4 @@ module TestProf
5
5
  end
6
6
  end
7
7
 
8
- require "test_prof/tag_prof/rspec" if defined?(RSpec)
8
+ require "test_prof/tag_prof/rspec" if defined?(RSpec::Core)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TestProf
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test-prof
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Dementyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-18 00:00:00.000000000 Z
11
+ date: 2017-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler