market_bot 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7906d07a5908e73e0d5ab52c2f2c7db934947865
4
- data.tar.gz: cd3164cbc389e2251553de0b35d3c672e54d257d
3
+ metadata.gz: c83dbfadb93fa85c5ede8b45b140a3f4b09ded5e
4
+ data.tar.gz: 676c9b8cdf05722cd0ed0c805337f60c0096e23e
5
5
  SHA512:
6
- metadata.gz: 3bc59b159dff66f3d11774d07fa17e5396fd9e9ff41aff2dd0c0901ee46aac84e1ad526590a4bfbf9f182850232ae140347f5ced1410157b2f655f705e2fecb7
7
- data.tar.gz: ba15e8cf94c98969da8a60a7e176bf3d08ede174f13b9123e2f64d58ffdb31be7feab507e34ca98b7eeda3b8637456d5938a185f095dc10049a800d3cac997d9
6
+ metadata.gz: eb1260aca2f4d51f73803e6a4b86c58878f7c939bf6b036fbb9f8fda537f37cec12f1e0a0f6d64b1b320ac2de84d309c71a4c7d288b892330a5bee3541b204ba
7
+ data.tar.gz: 5ea0d5a46d4ca159e457cab091e441acf536e75da7a8fbea67a1d5ed7584986a7ddcc130759b4c2b03a61d831d9a7886d9b8b57eece27f13c07e5df46ea3b8ac
@@ -151,11 +151,12 @@ module MarketBot
151
151
  def initialize(package, opts={})
152
152
  @package = package
153
153
  @lang = opts[:lang] || MarketBot::Play::DEFAULT_LANG
154
+ @country = opts[:country] || MarketBot::Play::DEFAULT_COUNTRY
154
155
  @request_opts = MarketBot::Util.build_request_opts(opts[:request_opts])
155
156
  end
156
157
 
157
158
  def store_url
158
- "https://play.google.com/store/apps/details?id=#{@package}&hl=#{@lang}"
159
+ "https://play.google.com/store/apps/details?id=#{@package}&hl=#{@lang}&gl=#{@country}"
159
160
  end
160
161
 
161
162
  def update
@@ -1,3 +1,3 @@
1
1
  module MarketBot
2
- VERSION = '1.0.3'
2
+ VERSION = '1.0.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: market_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chad Remesch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-18 00:00:00.000000000 Z
11
+ date: 2016-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
152
152
  version: '0'
153
153
  requirements: []
154
154
  rubyforge_project:
155
- rubygems_version: 2.5.1
155
+ rubygems_version: 2.6.6
156
156
  signing_key:
157
157
  specification_version: 4
158
158
  summary: 'Market Bot: High performance Ruby scraper for Google''s Android Market'