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: fda6d4d8b4d987513a07ffb81bbf0dc992224b1b7fe34fc6829c4af0727710c5
4
- data.tar.gz: e3842a3fde1d8e97c46ef020d98658a092c4dbc86b7b754ab1db5af28e860572
3
+ metadata.gz: a8e167db95520cfbb70b2e9fc168c8a9b658c369af87910135eec8b7c99b58d7
4
+ data.tar.gz: 8936f2e4d234b50446819cf7895c7eb21b9169dd3f176c3beffe2f98197ded21
5
5
  SHA512:
6
- metadata.gz: b69425f8d2da55c228ac5da027768e8097f64ee54afdf98c8b34d2bfdc0c8b93785b77cffd1746992d347876f8dc07d0faacfb3145ee62ea8ff31f5616152dba
7
- data.tar.gz: 0ecfe27130d7352646756b5dde6a29c78831f2709a518329b5fe3e6ca22d4a5a77da4f751c403bef54a114d51d7ec10875c154adc41147f982f0ddd861b00b31
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
@@ -1,5 +1,5 @@
1
1
  module AeEasy
2
2
  module Qa
3
- VERSION = "0.0.17"
3
+ VERSION = "0.0.18"
4
4
  end
5
5
  end
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.17
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-23 00:00:00.000000000 Z
11
+ date: 2019-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: answersengine