rspec_runner 0.1.2 → 0.1.3

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: 58a4a557c6bd140b731a24af28259ed795b499e3
4
- data.tar.gz: ec4175f860a030417a0b52cb2ca2247d533e28be
3
+ metadata.gz: f53daae848dfe791940da70582763099d84fb014
4
+ data.tar.gz: 1be24fbdc7fbb1f91aa125a62174beee0fd6a7a7
5
5
  SHA512:
6
- metadata.gz: 9e62105908fa9d3c6f45c625b299bda45ff1492f2f5c7be45bf7f55b0a2723883c14561f04c3b2f04515218a3d86e4f8442ed5050c3596ccfff21993edc3d4ee
7
- data.tar.gz: 56d65e4d6d819b831ac65dd65131b98e481c784957d55033423fcd3364ab66e91140d7315e612a359e6f59d3e802f02f827b0a612ca5726e93091b2fda467369
6
+ metadata.gz: b0106b07a621099d30ef228ed722fd7580a33931928d726c4efd4cf9837a8a50c3cd83aba37135ad716f916b74e117cfdf6ac3fa424286b76414b62d916135f8
7
+ data.tar.gz: 82c077d5c2ea9641dcbf7ee32bba3d353bc9fa8da1f51fb40c26cd2a8e334251e366b9666eeb6f6ee09cb9c12553b29355b0cd4a8c938e30d5f38225c82a2b7e
@@ -43,12 +43,13 @@ module RspecRunner
43
43
  world.instance_variable_set(:@example_group_counts_by_spec_file, Hash.new(0))
44
44
  configuration.reset
45
45
  configuration.reset_filters if configuration.respond_to?(:reset_filters)
46
+ configuration.filter_manager = RSpec::Core::FilterManager.new if configuration.respond_to?(:filter_manager=)
46
47
  configuration.files_to_run = []
47
48
  configuration.files_or_directories_to_run = []
48
49
 
49
- if configuration.respond_to?(:loaded_spec_files) && set = configuration.loaded_spec_files
50
- set.each { |k| set.delete(k) }
51
- end
50
+ return unless configuration.respond_to?(:loaded_spec_files)
51
+ set = configuration.loaded_spec_files
52
+ set.each { |k| set.delete(k) }
52
53
  end
53
54
  end
54
55
  end
@@ -1,3 +1,3 @@
1
1
  module RspecRunner
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - exAspArk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-04 00:00:00.000000000 Z
11
+ date: 2016-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec