echowrap 0.1.3 → 0.1.4

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: 0b6ea2f37bf462a9c9f3d6672bde1947b7afb581
4
- data.tar.gz: e3ecf7df45055f6b844fc279ddebf6f163a5772b
3
+ metadata.gz: 090c743e795da6d8e04daeef1df02d72de62280d
4
+ data.tar.gz: ac303706a49b511bea90d0ce6c977e1eb6b38a04
5
5
  SHA512:
6
- metadata.gz: b4c33a36eeb5199fc06206727cc9a281b57ddc1a9bba6c061974a566228a525d820a493b72e6503e397341f6b6b9199694346ae10fd84bd48f6b2ef1aab61627
7
- data.tar.gz: a3cd25b9e4f32929a2952ca478d96433b1c13e4cf24481c20327d42672502f425f9712fd560b4e32283ac6c85f0032484dc32d9748ecb27356a1d168ff117d6c
6
+ metadata.gz: bfd77326c1e4280cf69ddb28910991f9cb5a15f428fca263358dd66aecb538c80f892dd052bf8ddc5092317aadb50ac000e2cf044348958f7cffead14b34073c
7
+ data.tar.gz: e370233b8729b1a3ad1f3a5dda8c76cfc1676932da14e5dfb1220ba9cb36bf43d9030d17f32224a03fd6a619bf29ae4f91ef717cf095a99b4aa7128bb39ad7ac
data/Gemfile CHANGED
@@ -4,9 +4,9 @@ gem 'rake'
4
4
 
5
5
  group :test do
6
6
  gem 'coveralls', :require => false
7
- gem 'rspec'
8
- gem 'webmock'
9
- gem 'timecop'
7
+ gem 'rspec', '~>3.0'
8
+ gem 'webmock', '~>1.0'
9
+ gem 'timecop', '~>0.0'
10
10
  end
11
11
 
12
12
  # Specify your gem's dependencies in echonest.gemspec
data/echowrap.gemspec CHANGED
@@ -18,8 +18,8 @@ Gem::Specification.new do |gem|
18
18
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
19
  gem.require_paths = ["lib"]
20
20
 
21
- gem.add_dependency 'faraday', '~> 0.9.0'
22
- gem.add_dependency 'multi_json', '~> 1.9.0'
21
+ gem.add_dependency 'faraday', '~> 0.9'
22
+ gem.add_dependency 'multi_json', '~> 1.0'
23
23
  gem.add_dependency 'simple_oauth', '~> 0.2'
24
24
 
25
25
  end
@@ -2,7 +2,7 @@ module Echowrap
2
2
  class Version
3
3
  MAJOR = 0 unless defined? Echowrap::Version::MAJOR
4
4
  MINOR = 1 unless defined? Echowrap::Version::MINOR
5
- PATCH = 3 unless defined? Echowrap::Version::PATCH
5
+ PATCH = 4 unless defined? Echowrap::Version::PATCH
6
6
  PRE = nil unless defined? Echowrap::Version::PRE
7
7
 
8
8
  class << self
@@ -172,7 +172,7 @@ describe Echowrap::API::Playlist do
172
172
 
173
173
  it "returns boolean with response result" do
174
174
  result = @client.playlist_dynamic_feedback(:session_id => 'a8cddde7afdf4ac09b510aa1c1c50bf9', :favorite_song => 'SOCZMFK12AC468668F')
175
- expect(result).to be_true
175
+ expect(result).to be_truthy
176
176
  end
177
177
  end
178
178
 
@@ -196,7 +196,7 @@ describe Echowrap::API::Playlist do
196
196
 
197
197
  it "returns boolean with response result" do
198
198
  result = @client.playlist_dynamic_steer(:session_id => 'a8cddde7afdf4ac09b510aa1c1c50bf9', :min_danceability => 0.5)
199
- expect(result).to be_true
199
+ expect(result).to be_truthy
200
200
  end
201
201
  end
202
202
 
@@ -268,7 +268,7 @@ describe Echowrap::API::Playlist do
268
268
 
269
269
  it "returns boolean with response result" do
270
270
  result = @client.playlist_dynamic_delete(:session_id => 'a8cddde7afdf4ac09b510aa1c1c50bf9')
271
- expect(result).to be_true
271
+ expect(result).to be_truthy
272
272
  end
273
273
  end
274
274
  end
@@ -221,7 +221,7 @@ describe Echowrap::API::TasteProfile do
221
221
 
222
222
  it "returns boolean with response result" do
223
223
  result = @client.taste_profile_play(:id => 'a8cddde7afdf4ac09b510aa1c1c50bf9', :item => 'myitemid')
224
- expect(result).to be_true
224
+ expect(result).to be_truthy
225
225
  end
226
226
  end
227
227
 
@@ -244,7 +244,7 @@ describe Echowrap::API::TasteProfile do
244
244
 
245
245
  it "returns boolean with response result" do
246
246
  result = @client.taste_profile_skip(:id => 'a8cddde7afdf4ac09b510aa1c1c50bf9', :item => 'myitemid')
247
- expect(result).to be_true
247
+ expect(result).to be_truthy
248
248
  end
249
249
  end
250
250
 
@@ -267,7 +267,7 @@ describe Echowrap::API::TasteProfile do
267
267
 
268
268
  it "returns boolean with response result" do
269
269
  result = @client.taste_profile_ban(:id => 'a8cddde7afdf4ac09b510aa1c1c50bf9', :item => 'myitemid')
270
- expect(result).to be_true
270
+ expect(result).to be_truthy
271
271
  end
272
272
  end
273
273
 
@@ -290,7 +290,7 @@ describe Echowrap::API::TasteProfile do
290
290
 
291
291
  it "returns boolean with response result" do
292
292
  result = @client.taste_profile_favorite(:id => 'a8cddde7afdf4ac09b510aa1c1c50bf9', :item => 'myitemid')
293
- expect(result).to be_true
293
+ expect(result).to be_truthy
294
294
  end
295
295
  end
296
296
 
@@ -313,7 +313,7 @@ describe Echowrap::API::TasteProfile do
313
313
 
314
314
  it "returns boolean with response result" do
315
315
  result = @client.taste_profile_rate(:id => 'a8cddde7afdf4ac09b510aa1c1c50bf9', :item => 'myitemid', :rating => 5)
316
- expect(result).to be_true
316
+ expect(result).to be_truthy
317
317
  end
318
318
  end
319
319
 
@@ -32,10 +32,10 @@ describe Echowrap do
32
32
 
33
33
  describe ".respond_to?" do
34
34
  it "delegates to Echowrap::Client" do
35
- expect(Echowrap.respond_to?(:song_search)).to be_true
35
+ expect(Echowrap.respond_to?(:song_search)).to be_truthy
36
36
  end
37
37
  it "takes an optional argument" do
38
- expect(Echowrap.respond_to?(:client, true)).to be_true
38
+ expect(Echowrap.respond_to?(:client, true)).to be_truthy
39
39
  end
40
40
  end
41
41
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: echowrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Case
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-06 00:00:00.000000000 Z
11
+ date: 2014-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.0
19
+ version: '0.9'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: 0.9.0
26
+ version: '0.9'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: multi_json
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: 1.9.0
33
+ version: '1.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ~>
39
39
  - !ruby/object:Gem::Version
40
- version: 1.9.0
40
+ version: '1.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: simple_oauth
43
43
  requirement: !ruby/object:Gem::Requirement