songdrop 0.1.18 → 0.1.19
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 +4 -4
- data/lib/songdrop/objects/chart.rb +4 -0
- data/lib/songdrop/parser.rb +1 -0
- data/lib/songdrop.rb +1 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9fe257ec7d597936c763e33dbba6abc3d2bad623
|
|
4
|
+
data.tar.gz: c4cab8322e749dd1b27cf9c0dd3887f562213998
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8bbffb0f688f815b37c67934455e5953a5dca35b3e450195955355834b248e32a09a79a5d724402a6c6d9524e1b4e0c9ac2bb2a9ba2ade92c708c05ab9cda359
|
|
7
|
+
data.tar.gz: 3c00703b0262dacf1a63355c1470d4fb1ae7438e8c612924d5a668b76ef6a26e3859def689822717328ba92c61c5e5efd068764365a71fa9e960ac4b299ee893
|
data/lib/songdrop/parser.rb
CHANGED
|
@@ -82,6 +82,7 @@ module Songdrop
|
|
|
82
82
|
when :response then Response.new(properties)
|
|
83
83
|
when :error then Error.new(properties)
|
|
84
84
|
when :errors then Errors.new(properties)
|
|
85
|
+
when :chart then Chart.new(properties)
|
|
85
86
|
else "[Songdrop::Parser] Don't know how to objectize #{type}"
|
|
86
87
|
end
|
|
87
88
|
end
|
data/lib/songdrop.rb
CHANGED
|
@@ -31,6 +31,7 @@ else
|
|
|
31
31
|
require_relative './songdrop/objects/following'
|
|
32
32
|
require_relative './songdrop/objects/error'
|
|
33
33
|
require_relative './songdrop/objects/response'
|
|
34
|
+
require_relative './songdrop/objects/chart'
|
|
34
35
|
require_relative './songdrop/http/rest-client'
|
|
35
36
|
require_relative './songdrop/json/json'
|
|
36
37
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: songdrop
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.19
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Richard Taylor
|
|
@@ -28,6 +28,7 @@ files:
|
|
|
28
28
|
- lib/songdrop/json/json.rb
|
|
29
29
|
- lib/songdrop/objects/artist.rb
|
|
30
30
|
- lib/songdrop/objects/base.rb
|
|
31
|
+
- lib/songdrop/objects/chart.rb
|
|
31
32
|
- lib/songdrop/objects/collection.rb
|
|
32
33
|
- lib/songdrop/objects/drop.rb
|
|
33
34
|
- lib/songdrop/objects/error.rb
|