google_play_scraper 0.0.1 → 0.0.2

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.
@@ -1,3 +1,3 @@
1
1
  module GooglePlayScraper
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -25,5 +25,17 @@ describe GooglePlayScraper::Search do
25
25
  results.first.logo_url_small.should == 'https://lh3.ggpht.com/m8vHSrnD8kqMpYkgyQDxWpren2Pi5Vn-Eemj-xyHwcGUsbsi0rcYy0dR5Qzi5B566ig=w170'
26
26
  results.first.url.should == 'https://play.google.com/store/apps/details?id=com.sparqcode.sparqeye.android'
27
27
  end
28
+
29
+ it 'should be able to find keek' do
30
+ search = GooglePlayScraper::Search.new('Keek')
31
+ results = search.run
32
+ results.size.should == 10
33
+ results.first.name.should == 'Keek - Social Video'
34
+ results.first.developer.should == 'Keek Inc.'
35
+ results.first.id.should == 'com.keek'
36
+ results.first.logo_url.should == 'https://lh3.ggpht.com/SJSSPnOXBAQuz3miopva-ECfwz7YZJkaeTnIGPIYXxF6TCQ393_p1DAEtiEtfeUhDoOu=w340'
37
+ results.first.logo_url_small.should == 'https://lh3.ggpht.com/SJSSPnOXBAQuz3miopva-ECfwz7YZJkaeTnIGPIYXxF6TCQ393_p1DAEtiEtfeUhDoOu=w170'
38
+ results.first.url.should == 'https://play.google.com/store/apps/details?id=com.keek'
39
+ end
28
40
  end
29
41
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google_play_scraper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -78,7 +78,8 @@ files:
78
78
  - spec/google_play_scraper/search_spec.rb
79
79
  - spec/spec_helper.rb
80
80
  homepage: ''
81
- licenses: []
81
+ licenses:
82
+ - MIT
82
83
  post_install_message:
83
84
  rdoc_options: []
84
85
  require_paths: