gingerhendrix-echonest 0.2.0 → 0.3.0
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.
- data/VERSION.yml +1 -1
- data/examples/artist_audio.rb +33 -0
- data/lib/echonest.rb +39 -29
- data/lib/echonest/artist.rb +57 -53
- data/lib/echonest/paged_result.rb +33 -0
- data/lib/echonest/xml/artist_doc.rb +23 -0
- data/lib/echonest/xml/artist_search_results.rb +14 -0
- data/lib/echonest/xml/audio_doc.rb +20 -0
- data/lib/echonest/xml/audio_result.rb +13 -0
- data/lib/echonest/xml/audio_results.rb +16 -0
- data/lib/echonest/xml/blogs_doc.rb +15 -0
- data/lib/echonest/xml/blogs_result.rb +14 -0
- data/lib/echonest/xml/blogs_results.rb +18 -0
- data/lib/echonest/xml/familiarity_result.rb +12 -0
- data/lib/echonest/xml/hotttnesss_result.rb +12 -0
- data/lib/echonest/xml/news_doc.rb +15 -0
- data/lib/echonest/xml/news_result.rb +14 -0
- data/lib/echonest/xml/news_results.rb +16 -0
- data/lib/echonest/xml/profile_result.rb +12 -0
- data/lib/echonest/xml/reviews_doc.rb +16 -0
- data/lib/echonest/xml/reviews_result.rb +15 -0
- data/lib/echonest/xml/reviews_results.rb +17 -0
- data/lib/echonest/xml/similar_doc.rb +15 -0
- data/lib/echonest/xml/similar_result.rb +14 -0
- data/lib/echonest/xml/similar_results.rb +16 -0
- data/lib/echonest/xml/urls_result.rb +14 -0
- data/lib/echonest/xml/video_doc.rb +16 -0
- data/lib/echonest/xml/video_result.rb +14 -0
- data/lib/echonest/xml/video_results.rb +17 -0
- data/spec/echonest/paged_result_spec.rb +66 -0
- data/spec/echonest/xml/artist_search_results_spec.rb +25 -0
- data/spec/echonest/{audio_result_spec.rb → xml/audio_result_spec.rb} +9 -9
- data/spec/echonest/{blog_result_spec.rb → xml/blogs_result_spec.rb} +10 -10
- data/spec/echonest/{familiarity_result_spec.rb → xml/familiarity_result_spec.rb} +7 -7
- data/spec/echonest/{hotttness_result_spec.rb → xml/hotttness_result_spec.rb} +7 -7
- data/spec/echonest/{news_result_spec.rb → xml/news_result_spec.rb} +9 -9
- data/spec/echonest/{profile_result_spec.rb → xml/profile_result_spec.rb} +5 -5
- data/spec/echonest/xml/refactor.rb +12 -0
- data/spec/echonest/{reviews_result_spec.rb → xml/reviews_result_spec.rb} +9 -9
- data/spec/echonest/{similar_result_spec.rb → xml/similar_result_spec.rb} +7 -7
- data/spec/echonest/{urls_result_spec.rb → xml/urls_result_spec.rb} +6 -6
- data/spec/echonest/{video_result_spec.rb → xml/video_result_spec.rb} +9 -9
- data/spec/spec_helper.rb +2 -0
- metadata +57 -48
- data/lib/echonest/artist_search.rb +0 -18
- data/lib/echonest/audio_doc.rb +0 -18
- data/lib/echonest/audio_result.rb +0 -12
- data/lib/echonest/audio_results.rb +0 -15
- data/lib/echonest/blog_doc.rb +0 -13
- data/lib/echonest/blog_result.rb +0 -12
- data/lib/echonest/blog_results.rb +0 -15
- data/lib/echonest/familiarity_result.rb +0 -11
- data/lib/echonest/hotttnesss_result.rb +0 -11
- data/lib/echonest/news_doc.rb +0 -13
- data/lib/echonest/news_result.rb +0 -12
- data/lib/echonest/news_results.rb +0 -15
- data/lib/echonest/profile_result.rb +0 -11
- data/lib/echonest/reviews_doc.rb +0 -15
- data/lib/echonest/reviews_result.rb +0 -12
- data/lib/echonest/reviews_results.rb +0 -15
- data/lib/echonest/similar_doc.rb +0 -13
- data/lib/echonest/similar_result.rb +0 -12
- data/lib/echonest/similar_results.rb +0 -11
- data/lib/echonest/urls_result.rb +0 -11
- data/lib/echonest/video_doc.rb +0 -14
- data/lib/echonest/video_result.rb +0 -12
- data/lib/echonest/video_results.rb +0 -15
- data/spec/echonest/search_spec.rb +0 -51
@@ -1,27 +1,27 @@
|
|
1
|
-
require File.dirname(__FILE__) + '
|
1
|
+
require File.dirname(__FILE__) + '/../../spec_helper'
|
2
2
|
|
3
3
|
describe "HotttnessResult" do
|
4
4
|
|
5
5
|
describe "#parse" do
|
6
6
|
|
7
7
|
before(:each) do
|
8
|
-
@xml = File.read(File.dirname(__FILE__) + "
|
8
|
+
@xml = File.read(File.dirname(__FILE__) + "/../../fixtures/hotttnesss/radiohead.xml")
|
9
9
|
end
|
10
10
|
|
11
11
|
it "should parse xml" do
|
12
|
-
|
12
|
+
HotttnesssResult.parse(@xml)
|
13
13
|
end
|
14
14
|
|
15
15
|
it "should have artist" do
|
16
|
-
hottnesss =
|
17
|
-
hottnesss.artist.should be_kind_of(
|
16
|
+
hottnesss = HotttnesssResult.parse(@xml)
|
17
|
+
hottnesss.artist.should be_kind_of(ArtistDoc)
|
18
18
|
hottnesss.artist.name.should == "Radiohead"
|
19
19
|
hottnesss.artist.id.should == "music://id.echonest.com/~/AR/ARH6W4X1187B99274F"
|
20
20
|
end
|
21
21
|
|
22
22
|
it "artist should have hottnesss" do
|
23
|
-
hottnesss =
|
24
|
-
hottnesss.artist.should be_kind_of(
|
23
|
+
hottnesss = HotttnesssResult.parse(@xml)
|
24
|
+
hottnesss.artist.should be_kind_of(ArtistDoc)
|
25
25
|
hottnesss.artist.hotttnesss.should_not be_nil
|
26
26
|
hottnesss.artist.hotttnesss.should == 0.96974159665
|
27
27
|
end
|
@@ -1,27 +1,27 @@
|
|
1
|
-
require File.dirname(__FILE__) + '
|
1
|
+
require File.dirname(__FILE__) + '/../../spec_helper'
|
2
2
|
|
3
3
|
describe "NewsResult" do
|
4
4
|
|
5
5
|
describe "#parse" do
|
6
6
|
|
7
7
|
before(:each) do
|
8
|
-
@xml = File.read(File.dirname(__FILE__) + "
|
8
|
+
@xml = File.read(File.dirname(__FILE__) + "/../../fixtures/news/radiohead.xml")
|
9
9
|
end
|
10
10
|
|
11
11
|
it "should parse xml" do
|
12
|
-
|
12
|
+
NewsResult.parse(@xml)
|
13
13
|
end
|
14
14
|
|
15
15
|
it "should have artist" do
|
16
|
-
news =
|
17
|
-
news.artist.should be_kind_of(
|
16
|
+
news = NewsResult.parse(@xml)
|
17
|
+
news.artist.should be_kind_of(ArtistDoc)
|
18
18
|
news.artist.name.should == "Radiohead"
|
19
19
|
news.artist.id.should == "music://id.echonest.com/~/AR/ARH6W4X1187B99274F"
|
20
20
|
end
|
21
21
|
|
22
22
|
it "should have results" do
|
23
|
-
news =
|
24
|
-
news.results.should be_kind_of(
|
23
|
+
news = NewsResult.parse(@xml)
|
24
|
+
news.results.should be_kind_of(NewsResults)
|
25
25
|
|
26
26
|
news.results.found.should == "67"
|
27
27
|
news.results.shown.should == "2"
|
@@ -32,9 +32,9 @@ describe "NewsResult" do
|
|
32
32
|
|
33
33
|
describe "result" do
|
34
34
|
it "should be an NewsDoc" do
|
35
|
-
news =
|
35
|
+
news = NewsResult.parse(@xml)
|
36
36
|
doc = news.results.docs[0]
|
37
|
-
doc.should be_kind_of(
|
37
|
+
doc.should be_kind_of(NewsDoc)
|
38
38
|
|
39
39
|
doc.name.should == "Modeselektor supports Radiohead in Japan"
|
40
40
|
doc.url.should == "http://www.residentadvisor.net/news.aspx?id=9632"
|
@@ -1,20 +1,20 @@
|
|
1
|
-
require File.dirname(__FILE__) + '
|
1
|
+
require File.dirname(__FILE__) + '/../../spec_helper'
|
2
2
|
|
3
3
|
describe "ProfileResult" do
|
4
4
|
|
5
5
|
describe "#parse" do
|
6
6
|
|
7
7
|
before(:each) do
|
8
|
-
@xml = File.read(File.dirname(__FILE__) + "
|
8
|
+
@xml = File.read(File.dirname(__FILE__) + "/../../fixtures/profile/radiohead.xml")
|
9
9
|
end
|
10
10
|
|
11
11
|
it "should parse xml" do
|
12
|
-
|
12
|
+
ProfileResult.parse(@xml)
|
13
13
|
end
|
14
14
|
|
15
15
|
it "should have artist" do
|
16
|
-
profile =
|
17
|
-
profile.artist.should be_kind_of(
|
16
|
+
profile = ProfileResult.parse(@xml)
|
17
|
+
profile.artist.should be_kind_of(ArtistDoc)
|
18
18
|
profile.artist.name.should == "Radiohead"
|
19
19
|
profile.artist.id.should == "music://id.echonest.com/~/AR/ARH6W4X1187B99274F"
|
20
20
|
profile.artist.foreign_id.should == "music://id.echonest.com/5ZAOMB3BUR8QUN4PE/AR/1"
|
@@ -0,0 +1,12 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
Dir.glob(File.dirname(__FILE__) + "/*_spec.rb").each do |file|
|
4
|
+
if File.exists? "#{file}.old"
|
5
|
+
`rm #{file}`
|
6
|
+
`mv #{file}.old #{file}`
|
7
|
+
end
|
8
|
+
`sed s:'/../spec_helper':'/../../spec_helper': #{file} | sed s:"/../fixtures/:"/../../fixtures/: | sed s/EchoNest::// | sed "s/\(Artist\)/\(ArtistDoc\)/" > #{file}.new`
|
9
|
+
`mv #{file} #{file}.old`
|
10
|
+
`mv #{file}.new #{file}`
|
11
|
+
|
12
|
+
end
|
@@ -1,27 +1,27 @@
|
|
1
|
-
require File.dirname(__FILE__) + '
|
1
|
+
require File.dirname(__FILE__) + '/../../spec_helper'
|
2
2
|
|
3
3
|
describe "ReviewsResult" do
|
4
4
|
|
5
5
|
describe "#parse" do
|
6
6
|
|
7
7
|
before(:each) do
|
8
|
-
@xml = File.read(File.dirname(__FILE__) + "
|
8
|
+
@xml = File.read(File.dirname(__FILE__) + "/../../fixtures/reviews/radiohead.xml")
|
9
9
|
end
|
10
10
|
|
11
11
|
it "should parse xml" do
|
12
|
-
|
12
|
+
ReviewsResult.parse(@xml)
|
13
13
|
end
|
14
14
|
|
15
15
|
it "should have artist" do
|
16
|
-
reviews =
|
17
|
-
reviews.artist.should be_kind_of(
|
16
|
+
reviews = ReviewsResult.parse(@xml)
|
17
|
+
reviews.artist.should be_kind_of(ArtistDoc)
|
18
18
|
reviews.artist.name.should == "Radiohead"
|
19
19
|
reviews.artist.id.should == "music://id.echonest.com/~/AR/ARH6W4X1187B99274F"
|
20
20
|
end
|
21
21
|
|
22
22
|
it "should have results" do
|
23
|
-
reviews =
|
24
|
-
reviews.results.should be_kind_of(
|
23
|
+
reviews = ReviewsResult.parse(@xml)
|
24
|
+
reviews.results.should be_kind_of(ReviewsResults)
|
25
25
|
#TODO: Fill in these values as found in fixture
|
26
26
|
reviews.results.found.should == "188"
|
27
27
|
reviews.results.shown.should == "2"
|
@@ -32,9 +32,9 @@ describe "ReviewsResult" do
|
|
32
32
|
|
33
33
|
describe "result" do
|
34
34
|
it "should be an ReviewsDoc" do
|
35
|
-
reviews =
|
35
|
+
reviews = ReviewsResult.parse(@xml)
|
36
36
|
doc = reviews.results.docs[0]
|
37
|
-
doc.should be_kind_of(
|
37
|
+
doc.should be_kind_of(ReviewsDoc)
|
38
38
|
#TODO: Create tests based on attributes in resource
|
39
39
|
doc.name.should == "Radiohead - Hail to the Thief (from Robert Christgau)"
|
40
40
|
doc.review_text.should == "See: No Hope Radio."
|
@@ -1,29 +1,29 @@
|
|
1
|
-
require File.dirname(__FILE__) + '
|
1
|
+
require File.dirname(__FILE__) + '/../../spec_helper'
|
2
2
|
|
3
3
|
describe "SimilarResult" do
|
4
4
|
|
5
5
|
describe "#parse" do
|
6
6
|
|
7
7
|
before(:each) do
|
8
|
-
@xml = File.read(File.dirname(__FILE__) + "
|
8
|
+
@xml = File.read(File.dirname(__FILE__) + "/../../fixtures/similar/radiohead.xml")
|
9
9
|
end
|
10
10
|
|
11
11
|
it "should parse xml" do
|
12
|
-
|
12
|
+
SimilarResult.parse(@xml)
|
13
13
|
end
|
14
14
|
|
15
15
|
it "should have results" do
|
16
|
-
similar =
|
17
|
-
similar.results.should be_kind_of(
|
16
|
+
similar = SimilarResult.parse(@xml)
|
17
|
+
similar.results.should be_kind_of(SimilarResults)
|
18
18
|
similar.results.docs.should be_kind_of(Array)
|
19
19
|
similar.results.docs.length.should == 3
|
20
20
|
end
|
21
21
|
|
22
22
|
describe "result" do
|
23
23
|
it "should be an SimilarDoc" do
|
24
|
-
similar =
|
24
|
+
similar = SimilarResult.parse(@xml)
|
25
25
|
doc = similar.results.docs[0]
|
26
|
-
doc.should be_kind_of(
|
26
|
+
doc.should be_kind_of(SimilarDoc)
|
27
27
|
doc.id.should == "music://id.echonest.com/~/AR/ARKG7TE1187B9A45D8"
|
28
28
|
doc.name.should == "Dinah Washington"
|
29
29
|
doc.rank.should == 1
|
@@ -1,26 +1,26 @@
|
|
1
|
-
require File.dirname(__FILE__) + '
|
1
|
+
require File.dirname(__FILE__) + '/../../spec_helper'
|
2
2
|
|
3
3
|
describe "UrlsResult" do
|
4
4
|
|
5
5
|
describe "#parse" do
|
6
6
|
|
7
7
|
before(:each) do
|
8
|
-
@xml = File.read(File.dirname(__FILE__) + "
|
8
|
+
@xml = File.read(File.dirname(__FILE__) + "/../../fixtures/urls/radiohead.xml")
|
9
9
|
end
|
10
10
|
|
11
11
|
it "should parse xml" do
|
12
|
-
|
12
|
+
UrlsResult.parse(@xml)
|
13
13
|
end
|
14
14
|
|
15
15
|
it "should have artist" do
|
16
|
-
urls =
|
17
|
-
urls.artist.should be_kind_of(
|
16
|
+
urls = UrlsResult.parse(@xml)
|
17
|
+
urls.artist.should be_kind_of(ArtistDoc)
|
18
18
|
urls.artist.name.should == "Radiohead"
|
19
19
|
urls.artist.id.should == "music://id.echonest.com/~/AR/ARH6W4X1187B99274F"
|
20
20
|
end
|
21
21
|
|
22
22
|
it "#artist should have urls" do
|
23
|
-
urls =
|
23
|
+
urls = UrlsResult.parse(@xml)
|
24
24
|
artist = urls.artist
|
25
25
|
|
26
26
|
artist.mb_url.should == "http://musicbrainz.org/artist/a74b1b7f-71a5-4011-9441-d0b5e4122711"
|
@@ -1,27 +1,27 @@
|
|
1
|
-
require File.dirname(__FILE__) + '
|
1
|
+
require File.dirname(__FILE__) + '/../../spec_helper'
|
2
2
|
|
3
3
|
describe "VideosResult" do
|
4
4
|
|
5
5
|
describe "#parse" do
|
6
6
|
|
7
7
|
before(:each) do
|
8
|
-
@xml = File.read(File.dirname(__FILE__) + "
|
8
|
+
@xml = File.read(File.dirname(__FILE__) + "/../../fixtures/video/radiohead.xml")
|
9
9
|
end
|
10
10
|
|
11
11
|
it "should parse xml" do
|
12
|
-
|
12
|
+
VideoResult.parse(@xml)
|
13
13
|
end
|
14
14
|
|
15
15
|
it "should have artist" do
|
16
|
-
videos =
|
17
|
-
videos.artist.should be_kind_of(
|
16
|
+
videos = VideoResult.parse(@xml)
|
17
|
+
videos.artist.should be_kind_of(ArtistDoc)
|
18
18
|
videos.artist.name.should == "Radiohead"
|
19
19
|
videos.artist.id.should == "music://id.echonest.com/~/AR/ARH6W4X1187B99274F"
|
20
20
|
end
|
21
21
|
|
22
22
|
it "should have results" do
|
23
|
-
videos =
|
24
|
-
videos.results.should be_kind_of(
|
23
|
+
videos = VideoResult.parse(@xml)
|
24
|
+
videos.results.should be_kind_of(VideoResults)
|
25
25
|
|
26
26
|
videos.results.found.should == "88"
|
27
27
|
videos.results.shown.should == "2"
|
@@ -32,9 +32,9 @@ describe "VideosResult" do
|
|
32
32
|
|
33
33
|
describe "result" do
|
34
34
|
it "should be an VideoDoc" do
|
35
|
-
videos =
|
35
|
+
videos = VideoResult.parse(@xml)
|
36
36
|
doc = videos.results.docs[0]
|
37
|
-
doc.should be_kind_of(
|
37
|
+
doc.should be_kind_of(VideoDoc)
|
38
38
|
|
39
39
|
doc.site.should == "youtube"
|
40
40
|
doc.title.should == "Radiohead- Tell Me Why- Live Hollywood Bowl Neil Young 8-25"
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gingerhendrix-echonest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gareth Andrew
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-08-02 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -27,6 +27,7 @@ files:
|
|
27
27
|
- README.rdoc
|
28
28
|
- Rakefile
|
29
29
|
- VERSION.yml
|
30
|
+
- examples/artist_audio.rb
|
30
31
|
- generators/echonest_acceptance_test/USAGE
|
31
32
|
- generators/echonest_acceptance_test/echonest_acceptance_test_generator.rb
|
32
33
|
- generators/echonest_acceptance_test/templates/feature.erb
|
@@ -43,41 +44,45 @@ files:
|
|
43
44
|
- lib/echonest.rb
|
44
45
|
- lib/echonest/api_request.rb
|
45
46
|
- lib/echonest/artist.rb
|
46
|
-
- lib/echonest/
|
47
|
-
- lib/echonest/
|
48
|
-
- lib/echonest/
|
49
|
-
- lib/echonest/
|
50
|
-
- lib/echonest/
|
51
|
-
- lib/echonest/
|
52
|
-
- lib/echonest/
|
53
|
-
- lib/echonest/
|
54
|
-
- lib/echonest/
|
55
|
-
- lib/echonest/
|
56
|
-
- lib/echonest/
|
57
|
-
- lib/echonest/
|
58
|
-
- lib/echonest/
|
59
|
-
- lib/echonest/
|
60
|
-
- lib/echonest/
|
61
|
-
- lib/echonest/
|
62
|
-
- lib/echonest/
|
63
|
-
- lib/echonest/
|
64
|
-
- lib/echonest/
|
65
|
-
- lib/echonest/
|
66
|
-
- lib/echonest/
|
67
|
-
- lib/echonest/
|
68
|
-
- lib/echonest/
|
47
|
+
- lib/echonest/paged_result.rb
|
48
|
+
- lib/echonest/xml/artist_doc.rb
|
49
|
+
- lib/echonest/xml/artist_search_results.rb
|
50
|
+
- lib/echonest/xml/audio_doc.rb
|
51
|
+
- lib/echonest/xml/audio_result.rb
|
52
|
+
- lib/echonest/xml/audio_results.rb
|
53
|
+
- lib/echonest/xml/blogs_doc.rb
|
54
|
+
- lib/echonest/xml/blogs_result.rb
|
55
|
+
- lib/echonest/xml/blogs_results.rb
|
56
|
+
- lib/echonest/xml/familiarity_result.rb
|
57
|
+
- lib/echonest/xml/hotttnesss_result.rb
|
58
|
+
- lib/echonest/xml/news_doc.rb
|
59
|
+
- lib/echonest/xml/news_result.rb
|
60
|
+
- lib/echonest/xml/news_results.rb
|
61
|
+
- lib/echonest/xml/profile_result.rb
|
62
|
+
- lib/echonest/xml/reviews_doc.rb
|
63
|
+
- lib/echonest/xml/reviews_result.rb
|
64
|
+
- lib/echonest/xml/reviews_results.rb
|
65
|
+
- lib/echonest/xml/similar_doc.rb
|
66
|
+
- lib/echonest/xml/similar_result.rb
|
67
|
+
- lib/echonest/xml/similar_results.rb
|
68
|
+
- lib/echonest/xml/urls_result.rb
|
69
|
+
- lib/echonest/xml/video_doc.rb
|
70
|
+
- lib/echonest/xml/video_result.rb
|
71
|
+
- lib/echonest/xml/video_results.rb
|
69
72
|
- spec/echonest/api_request_spec.rb
|
70
|
-
- spec/echonest/
|
71
|
-
- spec/echonest/
|
72
|
-
- spec/echonest/
|
73
|
-
- spec/echonest/
|
74
|
-
- spec/echonest/
|
75
|
-
- spec/echonest/
|
76
|
-
- spec/echonest/
|
77
|
-
- spec/echonest/
|
78
|
-
- spec/echonest/
|
79
|
-
- spec/echonest/
|
80
|
-
- spec/echonest/
|
73
|
+
- spec/echonest/paged_result_spec.rb
|
74
|
+
- spec/echonest/xml/artist_search_results_spec.rb
|
75
|
+
- spec/echonest/xml/audio_result_spec.rb
|
76
|
+
- spec/echonest/xml/blogs_result_spec.rb
|
77
|
+
- spec/echonest/xml/familiarity_result_spec.rb
|
78
|
+
- spec/echonest/xml/hotttness_result_spec.rb
|
79
|
+
- spec/echonest/xml/news_result_spec.rb
|
80
|
+
- spec/echonest/xml/profile_result_spec.rb
|
81
|
+
- spec/echonest/xml/refactor.rb
|
82
|
+
- spec/echonest/xml/reviews_result_spec.rb
|
83
|
+
- spec/echonest/xml/similar_result_spec.rb
|
84
|
+
- spec/echonest/xml/urls_result_spec.rb
|
85
|
+
- spec/echonest/xml/video_result_spec.rb
|
81
86
|
- spec/fixtures/audio/wavves.xml
|
82
87
|
- spec/fixtures/blog/radiohead.xml
|
83
88
|
- spec/fixtures/familiarity/radiohead.xml
|
@@ -97,6 +102,7 @@ files:
|
|
97
102
|
- test/test_generator_helper.rb
|
98
103
|
has_rdoc: false
|
99
104
|
homepage: http://github.com/gingerhendrix/echonest
|
105
|
+
licenses:
|
100
106
|
post_install_message:
|
101
107
|
rdoc_options:
|
102
108
|
- --charset=UTF-8
|
@@ -117,26 +123,29 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
123
|
requirements: []
|
118
124
|
|
119
125
|
rubyforge_project:
|
120
|
-
rubygems_version: 1.
|
126
|
+
rubygems_version: 1.3.5
|
121
127
|
signing_key:
|
122
128
|
specification_version: 3
|
123
129
|
summary: A ruby ribrary for accessing the echonest api
|
124
130
|
test_files:
|
125
131
|
- spec/spec_helper.rb
|
126
|
-
- spec/echonest/
|
127
|
-
- spec/echonest/
|
132
|
+
- spec/echonest/paged_result_spec.rb
|
133
|
+
- spec/echonest/xml/artist_search_results_spec.rb
|
134
|
+
- spec/echonest/xml/audio_result_spec.rb
|
135
|
+
- spec/echonest/xml/blogs_result_spec.rb
|
136
|
+
- spec/echonest/xml/familiarity_result_spec.rb
|
137
|
+
- spec/echonest/xml/hotttness_result_spec.rb
|
138
|
+
- spec/echonest/xml/news_result_spec.rb
|
139
|
+
- spec/echonest/xml/profile_result_spec.rb
|
140
|
+
- spec/echonest/xml/refactor.rb
|
141
|
+
- spec/echonest/xml/reviews_result_spec.rb
|
142
|
+
- spec/echonest/xml/similar_result_spec.rb
|
143
|
+
- spec/echonest/xml/urls_result_spec.rb
|
144
|
+
- spec/echonest/xml/video_result_spec.rb
|
128
145
|
- spec/echonest/api_request_spec.rb
|
129
|
-
- spec/echonest/blog_result_spec.rb
|
130
|
-
- spec/echonest/news_result_spec.rb
|
131
|
-
- spec/echonest/familiarity_result_spec.rb
|
132
|
-
- spec/echonest/hotttness_result_spec.rb
|
133
|
-
- spec/echonest/profile_result_spec.rb
|
134
|
-
- spec/echonest/urls_result_spec.rb
|
135
|
-
- spec/echonest/reviews_result_spec.rb
|
136
|
-
- spec/echonest/similar_result_spec.rb
|
137
|
-
- spec/echonest/video_result_spec.rb
|
138
146
|
- test/test_echonest_acceptance_test_generator.rb
|
139
147
|
- test/test_echonest_model_generator.rb
|
140
148
|
- test/test_echonest_resource_generator.rb
|
141
149
|
- test/test_generator_helper.rb
|
142
150
|
- test/test_echonest_unit_test_generator.rb
|
151
|
+
- examples/artist_audio.rb
|