market_bot 0.14.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +9 -20
- data/.travis.yml +3 -0
- data/Gemfile +2 -1
- data/README.markdown +2 -2
- data/lib/market_bot/android/app.rb +36 -2
- data/lib/market_bot/android/developer.rb +3 -0
- data/lib/market_bot/android/leaderboard.rb +10 -3
- data/lib/market_bot/android/search_query.rb +2 -0
- data/lib/market_bot/movie/leaderboard.rb +6 -3
- data/lib/market_bot/movie/search_query.rb +2 -0
- data/lib/market_bot/version.rb +1 -1
- data/market_bot.gemspec +2 -0
- data/spec/market_bot/android/app_spec.rb +12 -0
- data/spec/market_bot/android/data/app_4.txt +117 -0
- data/spec/market_bot/android/developer_spec.rb +1 -1
- data/spec/market_bot/android/leaderboard_spec.rb +16 -5
- data/spec/market_bot/movie/leaderboard_spec.rb +1 -1
- data/spec/spec_helper.rb +3 -0
- metadata +33 -3
- data/Gemfile.lock +0 -34
@@ -8,7 +8,7 @@ test_category = :comedy
|
|
8
8
|
def stub_hydra(hydra)
|
9
9
|
test_src_page = read_file(File.dirname(__FILE__), 'data', 'leaderboard-movies_comedy_topselling_paid.txt')
|
10
10
|
response = Typhoeus::Response.new(:code => 200, :headers => '', :body => test_src_page)
|
11
|
-
url = 'https://play.google.com/store/movies/category/COMEDY/collection/topselling_paid?start=0&num=24&hl=en'
|
11
|
+
url = 'https://play.google.com/store/movies/category/COMEDY/collection/topselling_paid?start=0&gl=us&num=24&hl=en'
|
12
12
|
Typhoeus.stub(url).and_return(response)
|
13
13
|
end
|
14
14
|
|
data/spec/spec_helper.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: 0.
|
4
|
+
version: 0.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chad Remesch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -38,6 +38,34 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.10'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.10'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '10.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '10.0'
|
41
69
|
- !ruby/object:Gem::Dependency
|
42
70
|
name: rspec
|
43
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -62,8 +90,8 @@ extra_rdoc_files: []
|
|
62
90
|
files:
|
63
91
|
- ".gitignore"
|
64
92
|
- ".rspec"
|
93
|
+
- ".travis.yml"
|
65
94
|
- Gemfile
|
66
|
-
- Gemfile.lock
|
67
95
|
- LICENSE.txt
|
68
96
|
- NOTES.txt
|
69
97
|
- README.markdown
|
@@ -84,6 +112,7 @@ files:
|
|
84
112
|
- spec/market_bot/android/data/app_1.txt
|
85
113
|
- spec/market_bot/android/data/app_2.txt
|
86
114
|
- spec/market_bot/android/data/app_3.txt
|
115
|
+
- spec/market_bot/android/data/app_4.txt
|
87
116
|
- spec/market_bot/android/data/developer-zynga.txt
|
88
117
|
- spec/market_bot/android/data/leaderboard-apps_editors_choice.txt
|
89
118
|
- spec/market_bot/android/data/leaderboard-apps_topselling_paid-page1.txt
|
@@ -125,6 +154,7 @@ test_files:
|
|
125
154
|
- spec/market_bot/android/data/app_1.txt
|
126
155
|
- spec/market_bot/android/data/app_2.txt
|
127
156
|
- spec/market_bot/android/data/app_3.txt
|
157
|
+
- spec/market_bot/android/data/app_4.txt
|
128
158
|
- spec/market_bot/android/data/developer-zynga.txt
|
129
159
|
- spec/market_bot/android/data/leaderboard-apps_editors_choice.txt
|
130
160
|
- spec/market_bot/android/data/leaderboard-apps_topselling_paid-page1.txt
|
data/Gemfile.lock
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
market_bot (0.13.0)
|
5
|
-
nokogiri
|
6
|
-
typhoeus (>= 0.6.0)
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: https://rubygems.org/
|
10
|
-
specs:
|
11
|
-
diff-lcs (1.1.3)
|
12
|
-
ethon (0.7.2)
|
13
|
-
ffi (>= 1.3.0)
|
14
|
-
ffi (1.9.6)
|
15
|
-
mini_portile (0.6.2)
|
16
|
-
nokogiri (1.6.6.2)
|
17
|
-
mini_portile (~> 0.6.0)
|
18
|
-
rspec (2.8.0)
|
19
|
-
rspec-core (~> 2.8.0)
|
20
|
-
rspec-expectations (~> 2.8.0)
|
21
|
-
rspec-mocks (~> 2.8.0)
|
22
|
-
rspec-core (2.8.0)
|
23
|
-
rspec-expectations (2.8.0)
|
24
|
-
diff-lcs (~> 1.1.2)
|
25
|
-
rspec-mocks (2.8.0)
|
26
|
-
typhoeus (0.7.1)
|
27
|
-
ethon (>= 0.7.1)
|
28
|
-
|
29
|
-
PLATFORMS
|
30
|
-
ruby
|
31
|
-
|
32
|
-
DEPENDENCIES
|
33
|
-
market_bot!
|
34
|
-
rspec (= 2.8.0)
|