test-prof 0.4.1 → 0.4.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
  SHA1:
3
- metadata.gz: 6efa575090e0c535e962071ed5b24a0d5f9f360b
4
- data.tar.gz: c60d25f31f5450a7b926845711527531ac595c3c
3
+ metadata.gz: 86d1d3c075151f50c0348a112d3789d2bde10207
4
+ data.tar.gz: e7ef747dcaa5c057d795dc75872a8b1cfd3ffa77
5
5
  SHA512:
6
- metadata.gz: c4d148c53dd4807ede82768a7e779d56bfcfb04a8ac9ed6f8eb3aa260fbbe753e64dd79a9c021093442fcfb981d9e2a846c2450482c6ffb84c68d05ef336c620
7
- data.tar.gz: 5aa0611fe30a98061f0d9a97bf7a09066614a3663e845e99cc510697f29d847c581183b75d89e9ea0cfa92ea93048249780fe77fdd6d4e87b25eacc9b29576fe
6
+ metadata.gz: 0e3ca219b5466e96bf1b4dc789e42d1ccfca926d982a872071cb0b16eae037c2d12fdd1c75182cb381855c9e9213246595d35423ae27c41f3fe3cddfaad53235
7
+ data.tar.gz: f3eed314608897bf77fc044f07f7037e66d43aa5a6105d4be881c934e49c770de8b1817c2a1a6fd67a1d2675f1cb8d513136c9d84097183f74a87b0b8437c1a6
data/CHANGELOG.md CHANGED
@@ -1,8 +1,12 @@
1
1
  # Change log
2
2
 
3
+ ## 0.4.2
4
+
5
+ - Fix bug with multiple `before_all` within one group. ([@palkan][])
6
+
3
7
  ## 0.4.1
4
8
 
5
- - [#44](https://github.com/palkan/test-prof/pull/44) Suppor older versions of RSpec. ([@palkan][])
9
+ - [#44](https://github.com/palkan/test-prof/pull/44) Support older versions of RSpec. ([@palkan][])
6
10
 
7
11
  Support RSpec 3.1.0+ in general.
8
12
 
data/README.md CHANGED
@@ -37,6 +37,8 @@ Supported Ruby versions:
37
37
 
38
38
  ## Resources
39
39
 
40
+ - RailsClub, Moscow, 2017, "Faster Tests" talk [[video](https://www.youtube.com/watch?v=8S7oHjEiVzs) (RU), [slides](https://speakerdeck.com/palkan/railsclub-moscow-2017-faster-tests)]
41
+
40
42
  - [TestProf: a good doctor for slow Ruby tests](https://evilmartians.com/chronicles/testprof-a-good-doctor-for-slow-ruby-tests)
41
43
 
42
44
  - RubyConfBy, 2017, "Run Test Run" talk [[video](https://www.youtube.com/watch?v=q52n4p0wkIs), [slides](https://speakerdeck.com/palkan/rubyconfby-minsk-2017-run-test-run)]
@@ -6,7 +6,7 @@ module TestProf
6
6
  def before_all(&block)
7
7
  raise ArgumentError, "Block is required!" unless block_given?
8
8
 
9
- return if within_before_all?
9
+ return before(:all, &block) if within_before_all?
10
10
 
11
11
  @__before_all_activated__ = true
12
12
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TestProf
4
- VERSION = "0.4.1".freeze
4
+ VERSION = "0.4.2".freeze
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.4.1
4
+ version: 0.4.2
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-10-18 00:00:00.000000000 Z
11
+ date: 2017-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler