you_got_listed 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ module YouGotListed
|
|
10
10
|
SearchResponse.new(self.client.perform_request(:get, '/rentals/search.php', params), self.client, params[:page_count])
|
11
11
|
end
|
12
12
|
|
13
|
-
def featured(params = {}, featured_tag = 'Featured Rentals')
|
13
|
+
def featured(params = {}, featured_tag = 'Featured Rentals,Featured')
|
14
14
|
if params[:tags].blank?
|
15
15
|
params[:tags] = featured_tag
|
16
16
|
else
|
@@ -56,7 +56,7 @@ describe YouGotListed::Listings do
|
|
56
56
|
end
|
57
57
|
|
58
58
|
it "should only return featured properties" do
|
59
|
-
@response.properties.find_all{|p| p.tags && p.tags.tag.include?('Featured Rentals')}.size.should == @response.properties.size
|
59
|
+
@response.properties.find_all{|p| p.tags && (p.tags.tag.include?('Featured Rentals') || p.tags.tag.include?('Featured'))}.size.should == @response.properties.size
|
60
60
|
end
|
61
61
|
end
|
62
62
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: you_got_listed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 2
|
10
|
+
version: 0.3.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tom Cocca
|