echowrap 0.1.4 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/echowrap/artist.rb +1 -1
- data/lib/echowrap/audio_summary.rb +1 -1
- data/lib/echowrap/client.rb +2 -1
- data/lib/echowrap/track.rb +7 -7
- data/lib/echowrap/version.rb +2 -2
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ccfed5617dd24aa3c143c592bbf5e59aceaea4a8
|
4
|
+
data.tar.gz: 39525577482686db56d407681e0eda31fd4e13af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc22d8e4d6918576c334ec15baa21010d3bbdd195bbcb3771948e66e9b533490491ca43804110ce1315a0d54cc2c8fbfe84831ea2dde0ca9ead6ff37af43c678
|
7
|
+
data.tar.gz: 786e3dd3846f989ec494b2656662ce39d499cd4283a585803e9be8f7ec2e295e9f92c884319bd42e20dea0e8bfd83c4ad7d089ecd043cc91a041644b2b5fb375
|
data/lib/echowrap/artist.rb
CHANGED
@@ -2,7 +2,7 @@ require 'echowrap/base'
|
|
2
2
|
|
3
3
|
module Echowrap
|
4
4
|
class AudioSummary < Echowrap::Base
|
5
|
-
attr_reader :acousticness, :analysis_url, :audio_md5, :danceability, :duration, :energy,
|
5
|
+
attr_reader :acousticness, :analysis_url, :audio_md5, :danceability, :duration, :energy, :instrumentalness,
|
6
6
|
:key, :liveness, :loudness, :mode, :speechiness, :liveness, :tempo, :time_signature,
|
7
7
|
:valence
|
8
8
|
|
data/lib/echowrap/client.rb
CHANGED
@@ -73,7 +73,8 @@ module Echowrap
|
|
73
73
|
|
74
74
|
def oauth_parameters(method, path, params={})
|
75
75
|
uri = URI(@endpoint + path)
|
76
|
-
SimpleOAuth::Header.new(method, uri, params,
|
76
|
+
SimpleOAuth::Header.new(method, uri, params,
|
77
|
+
credentials.merge(ignore_extra_keys: true)).signed_attributes
|
77
78
|
end
|
78
79
|
|
79
80
|
end
|
data/lib/echowrap/track.rb
CHANGED
@@ -2,13 +2,13 @@ require 'echowrap/base'
|
|
2
2
|
|
3
3
|
module Echowrap
|
4
4
|
class Track < Echowrap::Base
|
5
|
-
attr_reader :
|
6
|
-
:
|
7
|
-
:
|
8
|
-
:
|
9
|
-
:
|
10
|
-
:release, :release_image, :sample_md5, :samplerate,
|
11
|
-
:start_of_fade_out, :status, :synch_version, :synchstring, :tempo,
|
5
|
+
attr_reader :album_date, :album_name, :album_type, :analysis_channels, :analysis_sample_rate,
|
6
|
+
:analyzer_version, :artist, :attributes, :audio_md5, :bitrate, :catalog,
|
7
|
+
:code_version, :codestring, :decoder, :duration, :echoprint_version,
|
8
|
+
:echoprintstring, :end_of_fade_in, :foreign_id, :foreign_release_id, :id,
|
9
|
+
:key, :key_confidence, :loudness, :md5, :mode, :mode_confidence, :num_samples,
|
10
|
+
:offset_seconds, :preview_url, :release, :release_image, :sample_md5, :samplerate,
|
11
|
+
:song_id, :start_of_fade_out, :status, :synch_version, :synchstring, :tempo,
|
12
12
|
:tempo_confidence, :time_signature, :time_signature_confidence, :title,
|
13
13
|
:window_seconds
|
14
14
|
|
data/lib/echowrap/version.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
module Echowrap
|
2
2
|
class Version
|
3
3
|
MAJOR = 0 unless defined? Echowrap::Version::MAJOR
|
4
|
-
MINOR =
|
5
|
-
PATCH =
|
4
|
+
MINOR = 2 unless defined? Echowrap::Version::MINOR
|
5
|
+
PATCH = 0 unless defined? Echowrap::Version::PATCH
|
6
6
|
PRE = nil unless defined? Echowrap::Version::PRE
|
7
7
|
|
8
8
|
class << self
|
metadata
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: echowrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Case
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
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
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
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
40
|
version: '1.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: simple_oauth
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0.2'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0.2'
|
55
55
|
description: A Ruby interface to the Echonest API, details can be found at http://echowrap.com.
|
@@ -59,8 +59,8 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
-
- .gitignore
|
63
|
-
- .travis.yml
|
62
|
+
- ".gitignore"
|
63
|
+
- ".travis.yml"
|
64
64
|
- Gemfile
|
65
65
|
- LICENSE.txt
|
66
66
|
- README.md
|
@@ -230,17 +230,17 @@ require_paths:
|
|
230
230
|
- lib
|
231
231
|
required_ruby_version: !ruby/object:Gem::Requirement
|
232
232
|
requirements:
|
233
|
-
- -
|
233
|
+
- - ">="
|
234
234
|
- !ruby/object:Gem::Version
|
235
235
|
version: '0'
|
236
236
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
237
237
|
requirements:
|
238
|
-
- -
|
238
|
+
- - ">="
|
239
239
|
- !ruby/object:Gem::Version
|
240
240
|
version: '0'
|
241
241
|
requirements: []
|
242
242
|
rubyforge_project:
|
243
|
-
rubygems_version: 2.
|
243
|
+
rubygems_version: 2.4.5
|
244
244
|
signing_key:
|
245
245
|
specification_version: 4
|
246
246
|
summary: A Ruby interface to the Echonest API.
|