spotify-ruby 0.2.1 → 0.2.2
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/README.md +2 -0
- data/lib/spotify/sdk/connect/device.rb +4 -4
- data/lib/spotify/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0b63f5681311753e57dd0f3465c03c92b2f075a0
|
|
4
|
+
data.tar.gz: 1388c3f85c842cf7521360af71a62b7ac20e2620
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: db844e007c167f743d38434c9a94ab16992730a75b62dd47a28f0d161a609c96205975b6c6b03e3765769b2062cfda2068c19bc40bad8da9b25b35e5e0d7ff4d
|
|
7
|
+
data.tar.gz: c205c712540fd6f205f902912765049112b4cf052554043562a2c431b3bbf6fed90c4cf3e99e08b4c107e1539de93d061ae90997607591a4ed4ec7e982665e75
|
data/README.md
CHANGED
|
@@ -217,6 +217,8 @@ With [Spotify Connect], you can take your music experience anywhere on over 300
|
|
|
217
217
|
|
|
218
218
|
## Contributing
|
|
219
219
|
|
|
220
|
+
On the website, we have [a full guide on contributing][contributing] for beginners.
|
|
221
|
+
|
|
220
222
|
### Community Guidelines
|
|
221
223
|
|
|
222
224
|
Bug reports and pull requests are welcome on GitHub at https://github.com/bih/spotify-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant] code of conduct.
|
|
@@ -144,7 +144,7 @@ module Spotify
|
|
|
144
144
|
|
|
145
145
|
##
|
|
146
146
|
# Skip to previous track on device.
|
|
147
|
-
#
|
|
147
|
+
# POST /v1/me/player/previous
|
|
148
148
|
#
|
|
149
149
|
# @example
|
|
150
150
|
# device = @sdk.connect.devices[0]
|
|
@@ -155,13 +155,13 @@ module Spotify
|
|
|
155
155
|
# @return [Spotify::SDK::Connect::Device] self Return itself, so chained methods can be supported.
|
|
156
156
|
#
|
|
157
157
|
def previous!
|
|
158
|
-
parent.send_http_request(:
|
|
158
|
+
parent.send_http_request(:post, "/v1/me/player/previous?device_id=%s" % id, http_options: {expect_nil: true})
|
|
159
159
|
self
|
|
160
160
|
end
|
|
161
161
|
|
|
162
162
|
##
|
|
163
163
|
# Skip to next track on device.
|
|
164
|
-
#
|
|
164
|
+
# POST /v1/me/player/next
|
|
165
165
|
#
|
|
166
166
|
# @example
|
|
167
167
|
# device = @sdk.connect.devices[0]
|
|
@@ -172,7 +172,7 @@ module Spotify
|
|
|
172
172
|
# @return [Spotify::SDK::Connect::Device] self Return itself, so chained methods can be supported.
|
|
173
173
|
#
|
|
174
174
|
def next!
|
|
175
|
-
parent.send_http_request(:
|
|
175
|
+
parent.send_http_request(:post, "/v1/me/player/next?device_id=%s" % id, http_options: {expect_nil: true})
|
|
176
176
|
self
|
|
177
177
|
end
|
|
178
178
|
|
data/lib/spotify/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spotify-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bilawal Hameed
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-07-
|
|
11
|
+
date: 2018-07-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|