lopata 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lopata/config.rb +13 -0
- data/lib/lopata/rspec/version.rb +1 -1
- data/lib/lopata/runner.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94e028b9795d7d5e3f269440dd9631cbeb00b09a
|
4
|
+
data.tar.gz: dd1bc87e7077e712d44334e08670b863aafad08a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 243f782b3fa41d46826343d123d76867f7e6eb77a13df0ad375e57998ad6cfc4eae93c10ce1e380cff9c0b6f41dfe5ddce509bb3a5c2b60ddba3a69cbf96ba29
|
7
|
+
data.tar.gz: 73cded7276ad5a50fca5bcf72f14ccd4a84e644b12a90008db2005a47942d89c31a2f57fe704b654b3867c697e265c384283274dadae21434b2a743eed6dd3b4
|
data/lib/lopata/config.rb
CHANGED
@@ -47,6 +47,19 @@ module Lopata
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
+
def init_rerun
|
51
|
+
::RSpec.configure do |c|
|
52
|
+
c.inclusion_filter = { full_description: build_rerun_filter_proc }
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
def build_rerun_filter_proc
|
57
|
+
to_rerun = Lopata::Client.new(Lopata::Config.build_number).to_rerun
|
58
|
+
Proc.new do |desc|
|
59
|
+
to_rerun.include?(desc)
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
50
63
|
def before_start(&block)
|
51
64
|
@before_start = block
|
52
65
|
end
|
data/lib/lopata/rspec/version.rb
CHANGED
data/lib/lopata/runner.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lopata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexey Volochnev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -86,5 +86,5 @@ rubyforge_project:
|
|
86
86
|
rubygems_version: 2.2.5
|
87
87
|
signing_key:
|
88
88
|
specification_version: 4
|
89
|
-
summary: lopata-0.0.
|
89
|
+
summary: lopata-0.0.9
|
90
90
|
test_files: []
|