itunes-search 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/itunes-search.gemspec +1 -1
- data/lib/itunes-search.rb +3 -5
- data/lib/search.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/itunes-search.gemspec
CHANGED
data/lib/itunes-search.rb
CHANGED
@@ -14,11 +14,9 @@ module ItunesSearch
|
|
14
14
|
ENDPOINT = "http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStoreServices.woa/wa/wsSearch"
|
15
15
|
|
16
16
|
class Base
|
17
|
-
|
18
|
-
|
17
|
+
|
19
18
|
def search(*args)
|
20
|
-
return Search.new(*args)
|
21
|
-
end
|
22
|
-
|
19
|
+
return ItunesSearch::Search.new(*args)
|
20
|
+
end
|
23
21
|
end
|
24
22
|
end
|
data/lib/search.rb
CHANGED
@@ -27,7 +27,7 @@ module ItunesSearch
|
|
27
27
|
end
|
28
28
|
def results
|
29
29
|
ra = []
|
30
|
-
ra = self.to_hash["results"].collect {|r| Result.new(r)} unless self.to_hash["results"].empty?
|
30
|
+
ra = self.to_hash["results"].collect {|r| ItunesSearch::Result.new(r)} unless self.to_hash["results"].empty?
|
31
31
|
return ra
|
32
32
|
end
|
33
33
|
|