notu 1.0.4 → 1.0.5

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/notu/listing.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fe93f8f2ed346bb5f0426dec559bd82bac3f846c
4
- data.tar.gz: 2c7bb418975b8a9200f89a35f44757199c06fa4d
3
+ metadata.gz: '01909de51bc7382cb5d7076892824cffdf9816fb'
4
+ data.tar.gz: 11d9016883fae617eccbc15aeef311f4f07e057a
5
5
  SHA512:
6
- metadata.gz: dca9cc4252a7924b82defe8d80ef45b8bb4e9e26f25426540aff3b06f7da92ece94bcd9cde17f86dd5877e2d3d0d5a068d77de8030081a50ea1ddd6ad5734de4
7
- data.tar.gz: ca45b42aeaf9b78db33e1c7c0a47bce0bcf39a2d83e6e4d077f559a1e16b68938b60129d23f9ecdad16fc1634df6654b7fca085a9869aa9ae240c4c696f51f0f
6
+ metadata.gz: 510cd75d5d5fad0ff3d6031f58c329c51ef960cd607a2548fea9be77b783cc8df138ad0c0c0efbc81ce048de9a53f39ab7258f03e68b138d3fc8a37ee4fed9ff
7
+ data.tar.gz: 34f8bc9465f6aeec2af94d285ba99b6eccc3712f166624e51abbb68ae0575e72c852f01bce1ad3a834616f96f082f6c672a0bba87d06f302817d461c257d11a5
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.4
1
+ 1.0.5
@@ -19,7 +19,7 @@ module Notu
19
19
 
20
20
  def pages_count
21
21
  document = HtmlDocument.get(library.url(path: path, query: params))
22
- [1, (document/'ul.pagination li.pages').text.split(/\s+/).map(&:to_i)].flatten.compact.max
22
+ [1, (document/'ul.pagination-list li.pagination-page').text.split(/\s+/).map(&:to_i)].flatten.compact.max
23
23
  end
24
24
 
25
25
  def params
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexis Toulotte
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-26 00:00:00.000000000 Z
11
+ date: 2017-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport