ae_easy-qa 0.0.17 → 0.0.18
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8e167db95520cfbb70b2e9fc168c8a9b658c369af87910135eec8b7c99b58d7
|
4
|
+
data.tar.gz: 8936f2e4d234b50446819cf7895c7eb21b9169dd3f176c3beffe2f98197ded21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1562cc9e819572f0ad7a411e878f2653f140e8371ecb1ee52a7d0da75506199a36c643163187fdbbc636449671263144d88750132badd36229ec33d266196ff
|
7
|
+
data.tar.gz: 8fc6f8482b6bd599d33b8414673c4f6134559d2fc4482a335900b5284bcdb646b2128c7f923d7e47431dea8e861332cdf7923684b9a05a7fc45517044ae92d07
|
@@ -14,7 +14,7 @@ module AeEasy
|
|
14
14
|
def run
|
15
15
|
begin
|
16
16
|
if data.any?
|
17
|
-
ValidateGroups.new(data, collection_name, errors).run
|
17
|
+
ValidateGroups.new(data, nil, collection_name, errors).run
|
18
18
|
ValidateRules.new(data, errors, rules).run if rules
|
19
19
|
end
|
20
20
|
SaveOutput.new(data.count, rules, errors, collection_name, outputs).run
|
@@ -1,10 +1,11 @@
|
|
1
1
|
module AeEasy
|
2
2
|
module Qa
|
3
3
|
class ValidateGroups
|
4
|
-
attr_reader :data, :collection_name, :errors
|
4
|
+
attr_reader :data, :scraper_name, :collection_name, :errors
|
5
5
|
|
6
|
-
def initialize(data, collection_name, errors)
|
6
|
+
def initialize(data, scraper_name, collection_name, errors)
|
7
7
|
@data = data
|
8
|
+
@scraper_name = scraper_name
|
8
9
|
@collection_name = collection_name
|
9
10
|
@errors = errors
|
10
11
|
end
|
@@ -85,7 +85,7 @@ module AeEasy
|
|
85
85
|
def run
|
86
86
|
output_collection
|
87
87
|
if data.any?
|
88
|
-
ValidateGroups.new(data, collection_name, errors).run
|
88
|
+
ValidateGroups.new(data, scraper_name, collection_name, errors).run
|
89
89
|
ValidateRules.new(data, errors, rules).run if rules
|
90
90
|
end
|
91
91
|
SaveOutput.new(data.count, rules, errors, outputs_collection_name, outputs).run
|
data/lib/ae_easy/qa/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ae_easy-qa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Lynam
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: answersengine
|