notu 5.0.0 → 5.0.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/notu/top_tracks.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43f1b5f5623c11b9b3ecf2bb19a64a65681ff6b4414a06eb26967d4655095d27
4
- data.tar.gz: 4b581b8a75c6211194c3d0564edbd11c88b83fe66623fc1890fe3af7b54e148d
3
+ metadata.gz: 5429e60ff68ce5d448b4eb069d09be687e047318ad52584097c15655a45cc75f
4
+ data.tar.gz: 6f72b830f04bbb1ca795ec217e8201a8b3a1215a0855fa284ff257dae2058b6e
5
5
  SHA512:
6
- metadata.gz: e6fae0ce54a0bce085f50531e859e9438a90745884271222600559b90dafcd39a5d0cbf270d80f959703f6108d268a1fe314f96d788a40ad818d26984f5c5c98
7
- data.tar.gz: f2c0d4527a7eb783dcf728fa490d6a89669257ff3b628b9287ba54fd135f6ecf293a6fc2f5ab69e06314d176cd561586ead4938c057e087dbe3edd9e387b7aa4
6
+ metadata.gz: 4e29ce7c1b1c1f80904ad89b457073a0a955150a67ccc799dc566fdc9ed60b54824d51ee9d34e8be4984a1667f4cf5718a06cf10318343a0ed4f49f71903c9a4
7
+ data.tar.gz: 9be96d6d1a59584c3dcb4bf2833edc68c67db9c9d979b168fb85f202d2ffeec423f81ec4e0354bbb330d7cade30bcea357d9d43af3ccb551f0da01e43cf406c5
data/VERSION CHANGED
@@ -1 +1 @@
1
- 5.0.0
1
+ 5.0.1
@@ -20,7 +20,7 @@ module Notu
20
20
  pages_count = nil
21
21
  page = 1
22
22
  loop do
23
- json = JsonDocument.get(user_api.url(limit: 50, method: 'user.getTopTracks', page:))
23
+ json = JsonDocument.get(user_api.url(limit: 50, method: 'user.getTopTracks', page:, period:))
24
24
  pages_count = json['toptracks']['@attr']['totalPages'].to_i
25
25
  json['toptracks']['track'].each do |track_json|
26
26
  artist = track_json['artist']['name'] || next
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notu
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexis Toulotte