sofi-searcher 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/searcher/china_searcher.rb +1 -1
  2. metadata +1 -1
@@ -15,7 +15,7 @@ class Searcher::ChinaSearcher
15
15
  def search_keywords(keyword,page=PAGE_NUM)
16
16
  res = ''
17
17
  keyword_urls(keyword,page).each do |url|
18
- res += Net::HTTP.get_response(URI.parse(url)).body
18
+ res << Net::HTTP.get_response(URI.parse(url)).body
19
19
  end
20
20
  res
21
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sofi-searcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: