lx_data_validation 0.0.11 → 0.0.12

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: be0f66a6383f14c36a771d432383dbdb21af171e
4
- data.tar.gz: 2823beb8c72fa58b1f3a9f656cf42419923741f4
3
+ metadata.gz: 9eca8b1c2ed8b30347dd8752a9947c1cd434f70d
4
+ data.tar.gz: cf2e6486d4b33fe8a544f86084cd15426b7612aa
5
5
  SHA512:
6
- metadata.gz: 99fdfd839dafb5ed3ccfa07c99fabb996ab953bed2141942467d0cd3e2233457cf2c069a236911cb57aa6042bc80476938280fa32a85b156c313db51016605f6
7
- data.tar.gz: d3fc812ca9464161a839ddafebb22c10f959749e17adb6b7eabd06e9e2935c1b6a206d52dce7c749594f4fa0c8fc2e9ec0e8435d538da9be62ccd9426bb8fac3
6
+ metadata.gz: 87654f92e79fe7549ffb8e764739de383feb9876b6eccc58e94b2ff190746439c48aed5101e058cdeb24bc615905c630cae40d6fc5a14fd780f798d9ef191ff3
7
+ data.tar.gz: beddf83f064323b0641326049263efd6126e9d05c3c1986f535ca56b6ade6364494b00521d0e98335d5375fc4e759897d3b03317c21ca8bdd71e971d43ea5895
@@ -12,6 +12,10 @@ module DataValidation
12
12
  'ccr'
13
13
  end
14
14
 
15
+ def related_rank_field
16
+ 'rank'
17
+ end
18
+
15
19
  end
16
20
  end
17
21
  end
@@ -12,6 +12,10 @@ module DataValidation
12
12
  'pollFirst'
13
13
  end
14
14
 
15
+ def related_rank_field
16
+ 'rank'
17
+ end
18
+
15
19
  end
16
20
  end
17
21
  end
@@ -16,6 +16,10 @@ module DataValidation
16
16
  'powerRating'
17
17
  end
18
18
 
19
+ def related_rank_field
20
+ 'rank'
21
+ end
22
+
19
23
  def determine_request_body_and_logger_name
20
24
  @category = if web_url.match /bingrl/
21
25
  'GIRLS'
@@ -20,6 +20,10 @@ module DataValidation
20
20
  'pollPoint'
21
21
  end
22
22
 
23
+ def related_rank_field
24
+ 'rank'
25
+ end
26
+
23
27
  end
24
28
  end
25
29
  end
@@ -9,7 +9,7 @@ module DataValidation
9
9
  end
10
10
 
11
11
  def field_array
12
- ['rank', 'teamName', 'qwPrRank', 'qualityWinsPr', nil, 'qualityWinsPoll', 'qwRpiRank', 'qualityWinsRpi', %w|record wins|, %w|record losses|, %w|record ties|]
12
+ [nil, 'teamName', 'qwPrRank', 'qualityWinsPr', nil, 'qualityWinsPoll', 'qwRpiRank', 'qualityWinsRpi', %w|record wins|, %w|record losses|, %w|record ties|]
13
13
  end
14
14
 
15
15
  def rank_field
@@ -20,6 +20,10 @@ module DataValidation
20
20
  'rpi'
21
21
  end
22
22
 
23
+ def related_rank_field
24
+ 'rank'
25
+ end
26
+
23
27
  def decimal_places_num
24
28
  4
25
29
  end
@@ -16,6 +16,10 @@ module DataValidation
16
16
  'sosAverage'
17
17
  end
18
18
 
19
+ def related_rank_field
20
+ 'rank'
21
+ end
22
+
19
23
  end
20
24
  end
21
25
  end
@@ -20,6 +20,10 @@ module DataValidation
20
20
  'tsi'
21
21
  end
22
22
 
23
+ def related_rank_field
24
+ 'rank'
25
+ end
26
+
23
27
  end
24
28
  end
25
29
  end
@@ -12,6 +12,14 @@ module DataValidation
12
12
  ['rank', 'teamName', 'powerRating', 'sosRank', %w|record wins|, %w|record losses|, %w|record ties|, 'state']
13
13
  end
14
14
 
15
+ def rank_field
16
+ 'powerRating'
17
+ end
18
+
19
+ def related_rank_field
20
+ 'rank'
21
+ end
22
+
15
23
  def determine_request_body_and_logger_name
16
24
  @category = if web_url.match /bingrl/
17
25
  'GIRLS'
@@ -1,3 +1,3 @@
1
1
  module DataValidation
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lx_data_validation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roger Tong
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-02 00:00:00.000000000 Z
11
+ date: 2017-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri