spotify-ruby 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 893c1debac589722daaf32f384443dc0b86e3c4e
4
- data.tar.gz: 89243db3dacb7ed306d4203190f9bdf9d8301eb2
3
+ metadata.gz: 0b63f5681311753e57dd0f3465c03c92b2f075a0
4
+ data.tar.gz: 1388c3f85c842cf7521360af71a62b7ac20e2620
5
5
  SHA512:
6
- metadata.gz: c454ff02af792edb795c2fb62c17a35cbfba27267b83c9631be4ca5be64c17b3f2308cd04c7e95a651457af7582b04e9b5024e8cd07c164a622abcb2de448461
7
- data.tar.gz: 3e598cbfa0b8f8430b127aab1fa441b6f50350acf547c27ac7bdcb5eb54a9b791eb7e03fc1007c838415bf70bfeb23e7c4c8dfebc76c5492b6c2389ea0fe3bbc
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
- # PUT /v1/me/player/previous
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(:put, "/v1/me/player/previous?device_id=%s" % id, http_options: {expect_nil: true})
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
- # PUT /v1/me/player/next
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(:put, "/v1/me/player/next?device_id=%s" % id, http_options: {expect_nil: true})
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
 
@@ -12,5 +12,5 @@ module Spotify
12
12
  # MINOR version when you add functionality in a backwards-compatible manner, and
13
13
  # PATCH version when you make backwards-compatible bug fixes.
14
14
  #
15
- VERSION = "0.2.1"
15
+ VERSION = "0.2.2"
16
16
  end
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.1
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-24 00:00:00.000000000 Z
11
+ date: 2018-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler