uniara_virtual_parser 1.1.0 → 1.1.1

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: 99e8ed56f4e6d86e3103be1ba9d7d7b762154531
4
- data.tar.gz: c9586fb3b1fe732800204ddef7fc8cee9a94a6a0
3
+ metadata.gz: 1d7e1db9f84f2b497ec9eada71151409d421a0d8
4
+ data.tar.gz: 83dbbf36addeb919b810cd7bd029d1ea2efa939f
5
5
  SHA512:
6
- metadata.gz: ae45425a4db8b7096d34c880c23a4c2a241af0e5173931f8f5db0e24980c94bd8acc0b27fc77e7195ddbcf5bd5ae3e8fa105aa48a503023bf0af5a39a8807574
7
- data.tar.gz: bf702fb2f87a49a5333a36682482b8a58ada0163446a35be84e89ae148a9e87d3ea4837fe4c05adb87940a2612240a1bb0ec0223f44764569d46034ee9c3d38d
6
+ metadata.gz: 7b24b7d5c0ecc522d51150918553e5456a9c452c7c579dbf46fb53054f1845dbb71b3111fc130dda28fcdf00e6bb71305c8ab871cf6a17585e2419228f1489d6
7
+ data.tar.gz: 2c618b7a09cdb20c2a1d907191893c797ac1903f4a8d334bf9d9024abf8746ac6cbff05222d5ca4613f25c800a4dcdd276134e0e795c57bf4b9746c362b5d9a6
@@ -16,8 +16,8 @@ module UniaraVirtualParser
16
16
  next if index.zero?
17
17
  absences << Models::Absence.new(
18
18
  name: absence.css('td:nth-child(1)').text,
19
- frequency: absence.css('td:nth-child(2)').text,
20
- total: absence.css('td:nth-child(3)').text
19
+ frequency: absence.css('td:nth-child(3)').text,
20
+ total: absence.css('td:nth-child(4)').text
21
21
  )
22
22
  end
23
23
  absences
@@ -1,3 +1,3 @@
1
1
  module UniaraVirtualParser
2
- VERSION = '1.1.0'
2
+ VERSION = '1.1.1'
3
3
  end
@@ -11,7 +11,8 @@ module UniaraVirtualParser
11
11
 
12
12
  it 'fetches the content of uniara virtual and brings the array with absences' do
13
13
  expect(absences.first.name).to eq "REDES DE COMPUTADORES"
14
- expect(absences.first.frequency).to eq "80h"
14
+ expect(absences.first.frequency).to eq "98%"
15
+ expect(absences.first.total).to eq "2"
15
16
  expect(absences.length).to eq 2
16
17
  end
17
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uniara_virtual_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Ribeiro