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 CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{itunes-search}
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["jeff durand"]
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
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 0
9
- version: 0.2.0
8
+ - 1
9
+ version: 0.2.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - jeff durand