market_bot 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/market_bot/play/app.rb +2 -1
- data/lib/market_bot/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c83dbfadb93fa85c5ede8b45b140a3f4b09ded5e
|
|
4
|
+
data.tar.gz: 676c9b8cdf05722cd0ed0c805337f60c0096e23e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eb1260aca2f4d51f73803e6a4b86c58878f7c939bf6b036fbb9f8fda537f37cec12f1e0a0f6d64b1b320ac2de84d309c71a4c7d288b892330a5bee3541b204ba
|
|
7
|
+
data.tar.gz: 5ea0d5a46d4ca159e457cab091e441acf536e75da7a8fbea67a1d5ed7584986a7ddcc130759b4c2b03a61d831d9a7886d9b8b57eece27f13c07e5df46ea3b8ac
|
data/lib/market_bot/play/app.rb
CHANGED
|
@@ -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
|
data/lib/market_bot/version.rb
CHANGED
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.
|
|
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-
|
|
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.
|
|
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'
|