lopata 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/lopata/config.rb +14 -0
- data/lib/lopata/rspec/version.rb +1 -1
- data/lib/lopata/runner.rb +0 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f1668668379d6464dd89850026c55ebf57c7fcdd
|
|
4
|
+
data.tar.gz: 7655a319eabf7ef4490d95482fdf2bfcace7e660
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 84c1c1f5853df2b43ee9e81a1ab35df0aab1e003b1a077d5b8c4783f184264097e1e5d728e40831fadf8bf537d1e9f27393dbbd1e2c8ffcbb5ce37d86e3d80dc
|
|
7
|
+
data.tar.gz: 278ddaa6fd5c9e217e9011b13702962b49056ba11fc30954d4704bfffafdaecdf69d89008cb67410e87c5dae8a69fd5bdff7aa41f45fdaa53a5f4aabdfaa7613
|
data/lib/lopata/config.rb
CHANGED
|
@@ -34,6 +34,7 @@ module Lopata
|
|
|
34
34
|
c.include Lopata::RSpec::DSL
|
|
35
35
|
c.include Lopata::RSpec::Role
|
|
36
36
|
end
|
|
37
|
+
init_rspec_filters
|
|
37
38
|
end
|
|
38
39
|
|
|
39
40
|
def init_active_record
|
|
@@ -57,6 +58,19 @@ module Lopata
|
|
|
57
58
|
end
|
|
58
59
|
end
|
|
59
60
|
|
|
61
|
+
def init_rspec_filters
|
|
62
|
+
filters = {}
|
|
63
|
+
filters[:focus] = true if ops[:focus]
|
|
64
|
+
if ops[:rerun]
|
|
65
|
+
filters[:full_description] = build_rerun_filter_proc
|
|
66
|
+
end
|
|
67
|
+
unless filters.blank?
|
|
68
|
+
::RSpec.configure do |c|
|
|
69
|
+
c.inclusion_filter = filters
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
|
|
60
74
|
def build_rerun_filter_proc
|
|
61
75
|
to_rerun = Lopata::Client.new(Lopata::Config.build_number).to_rerun
|
|
62
76
|
Proc.new do |desc|
|
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.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexey Volochnev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-02-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httparty
|
|
@@ -83,8 +83,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
83
83
|
version: '0'
|
|
84
84
|
requirements: []
|
|
85
85
|
rubyforge_project:
|
|
86
|
-
rubygems_version: 2.2
|
|
86
|
+
rubygems_version: 2.5.2
|
|
87
87
|
signing_key:
|
|
88
88
|
specification_version: 4
|
|
89
|
-
summary: lopata-0.0.
|
|
89
|
+
summary: lopata-0.0.13
|
|
90
90
|
test_files: []
|