you_got_listed 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/lib/you_got_listed/listings.rb +1 -3
- data/lib/you_got_listed/version.rb +1 -1
- data/you_got_listed.gemspec +2 -2
- metadata +13 -13
data/Gemfile
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
source
|
1
|
+
source "http://rubygems.org"
|
2
2
|
gemspec
|
@@ -52,11 +52,9 @@ module YouGotListed
|
|
52
52
|
if listing_ids.any?{|list_id| list_id !=~ /[A-Z]{3}-[0-9]{3}-[0-9]{3}/}
|
53
53
|
search_params[:include_mls] = 1
|
54
54
|
end
|
55
|
-
|
56
|
-
listing_ids.in_groups_of(10, false).each_with_index do |group, index|
|
55
|
+
listing_ids.in_groups_of(20, false).each do |group|
|
57
56
|
group.delete_if{|x| x.nil?}
|
58
57
|
search_params[:listing_ids] = group.join(',')
|
59
|
-
search_params[:page_index] = index + 1
|
60
58
|
all_listings << find_all(search_params)
|
61
59
|
end
|
62
60
|
all_listings.compact.flatten
|
data/you_got_listed.gemspec
CHANGED
@@ -17,8 +17,8 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.platform = Gem::Platform::RUBY
|
18
18
|
|
19
19
|
s.add_dependency "activesupport", "~> 3"
|
20
|
-
s.add_dependency "httparty", "~> 0.
|
21
|
-
s.add_dependency "rash", "
|
20
|
+
s.add_dependency "httparty", "~> 0.10.2"
|
21
|
+
s.add_dependency "rash", "~> 0.4.0"
|
22
22
|
s.add_dependency "will_paginate", ">= 3"
|
23
23
|
s.add_development_dependency "rake", "~> 0.9.2"
|
24
24
|
s.add_development_dependency "rspec", ">= 2.5.0"
|
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: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 6
|
9
|
+
- 0
|
10
|
+
version: 0.6.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tom Cocca
|
@@ -38,12 +38,12 @@ dependencies:
|
|
38
38
|
requirements:
|
39
39
|
- - ~>
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
hash:
|
41
|
+
hash: 51
|
42
42
|
segments:
|
43
43
|
- 0
|
44
|
-
-
|
45
|
-
-
|
46
|
-
version: 0.
|
44
|
+
- 10
|
45
|
+
- 2
|
46
|
+
version: 0.10.2
|
47
47
|
requirement: *id002
|
48
48
|
type: :runtime
|
49
49
|
name: httparty
|
@@ -52,14 +52,14 @@ dependencies:
|
|
52
52
|
version_requirements: &id003 !ruby/object:Gem::Requirement
|
53
53
|
none: false
|
54
54
|
requirements:
|
55
|
-
- -
|
55
|
+
- - ~>
|
56
56
|
- !ruby/object:Gem::Version
|
57
|
-
hash:
|
57
|
+
hash: 15
|
58
58
|
segments:
|
59
59
|
- 0
|
60
|
-
-
|
61
|
-
-
|
62
|
-
version: 0.
|
60
|
+
- 4
|
61
|
+
- 0
|
62
|
+
version: 0.4.0
|
63
63
|
requirement: *id003
|
64
64
|
type: :runtime
|
65
65
|
name: rash
|