lx_data_validation 0.0.8 → 0.0.9

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: 17f1678b845c9a8b74893e1d868b9de706fb3792
4
- data.tar.gz: 375a46decef84a8d099e4b7940f85a96fc019c03
3
+ metadata.gz: 12a0b57fdfbbb79df647e31bb1f92a3a1d66a6c7
4
+ data.tar.gz: 0d4ef598aa127e7aa781a5e15829c0ec13489c8b
5
5
  SHA512:
6
- metadata.gz: f7f2563cfbf4c5210a55e663db8efea77ec6ab30d08440f6b1fe96f06b3c0117a1e214e9c18fe4e09c80d3eb88028e4ec886353c71d7d55bc8495d01c9220113
7
- data.tar.gz: a8f4c6e34d7549408ae0c22d16221f6f4ed6e17c912c76bb952cbb8d6a586340068bea774a3f1c5dd5469d6678d7ff9f36cde6a6a9043d594e7776b82ebf2a39
6
+ metadata.gz: dbf5a74f6689d1557db87c4607d4aabb146b5cf597b4b5642dda9e5b456c294a16be4a59ebda8b43f9cb573a68514d633b7c18de1dbf651f9ffd33955f78799e
7
+ data.tar.gz: 054f540e2f3d4fcfa07f361dc09732baa9891005201873fc68049d5617e2b8323bab23f76b38108d5d584da5f9461bc977784417aba9ab09ee066f9975f1741a
@@ -31,8 +31,8 @@ module DataValidation
31
31
  puts 'requesting mobile api data: ' + DataValidation.api_request_host + api_path
32
32
  api_data = data_access.get_response_from_mobile_api
33
33
 
34
- if web_data.length != api_data['results']['results']['total']
35
- logger.error "The record size between web page and api data is not the same: #{web_data.length} -- #{api_data['results']['results']['total']}"
34
+ if web_data.length != api_data['results']['results']['teams'].length
35
+ logger.error "The record size between web page and api data is not the same: #{web_data.length} -- #{api_data['results']['results']['teams'].length}"
36
36
  return
37
37
  end
38
38
 
@@ -1,3 +1,3 @@
1
1
  module DataValidation
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
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.8
4
+ version: 0.0.9
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-03-10 00:00:00.000000000 Z
11
+ date: 2017-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  version: '0'
107
107
  requirements: []
108
108
  rubyforge_project:
109
- rubygems_version: 2.6.7
109
+ rubygems_version: 2.4.8
110
110
  signing_key:
111
111
  specification_version: 4
112
112
  summary: Data validation for LaxPower