gpis 0.0.6.1 → 0.0.6.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.
- data/.idea/gpis.iml +0 -2
- data/.idea/workspace.xml +49 -43
- data/gpis.gemspec +3 -3
- data/lib/gpis/gpis_scraper.rb +1 -0
- data/lib/gpis/version.rb +1 -1
- metadata +49 -1
data/.idea/gpis.iml
CHANGED
@@ -7,8 +7,6 @@
|
|
7
7
|
<content url="file://$MODULE_DIR$" />
|
8
8
|
<orderEntry type="inheritedJdk" />
|
9
9
|
<orderEntry type="sourceFolder" forTests="false" />
|
10
|
-
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.0.21, RVM: ruby-1.9.2-p290) [gem]" level="application" />
|
11
|
-
<orderEntry type="library" scope="PROVIDED" name="nokogiri (v1.5.2, RVM: ruby-1.9.2-p290) [gem]" level="application" />
|
12
10
|
</component>
|
13
11
|
</module>
|
14
12
|
|
data/.idea/workspace.xml
CHANGED
@@ -2,7 +2,10 @@
|
|
2
2
|
<project version="4">
|
3
3
|
<component name="ChangeListManager">
|
4
4
|
<list default="true" id="5a7cce55-79e3-449d-ab1c-02d21d595272" name="Default" comment="">
|
5
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/gpis.iml" afterPath="$PROJECT_DIR$/.idea/gpis.iml" />
|
5
6
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
7
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/gpis.gemspec" afterPath="$PROJECT_DIR$/gpis.gemspec" />
|
8
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/gpis/gpis_scraper.rb" afterPath="$PROJECT_DIR$/lib/gpis/gpis_scraper.rb" />
|
6
9
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/gpis/version.rb" afterPath="$PROJECT_DIR$/lib/gpis/version.rb" />
|
7
10
|
</list>
|
8
11
|
<ignored path="gpis.iws" />
|
@@ -43,16 +46,7 @@
|
|
43
46
|
<file leaf-file-name="gpis.gemspec" pinned="false" current="false" current-in-tab="false">
|
44
47
|
<entry file="file://$PROJECT_DIR$/gpis.gemspec">
|
45
48
|
<provider selected="true" editor-type-id="text-editor">
|
46
|
-
<state line="
|
47
|
-
<folding />
|
48
|
-
</state>
|
49
|
-
</provider>
|
50
|
-
</entry>
|
51
|
-
</file>
|
52
|
-
<file leaf-file-name="README.md" pinned="false" current="false" current-in-tab="false">
|
53
|
-
<entry file="file://$PROJECT_DIR$/README.md">
|
54
|
-
<provider selected="true" editor-type-id="text-editor">
|
55
|
-
<state line="25" column="74" selection-start="406" selection-end="406" vertical-scroll-proportion="0.0">
|
49
|
+
<state line="16" column="33" selection-start="899" selection-end="899" vertical-scroll-proportion="0.0">
|
56
50
|
<folding />
|
57
51
|
</state>
|
58
52
|
</provider>
|
@@ -61,7 +55,7 @@
|
|
61
55
|
<file leaf-file-name="version.rb" pinned="false" current="true" current-in-tab="true">
|
62
56
|
<entry file="file://$PROJECT_DIR$/lib/gpis/version.rb">
|
63
57
|
<provider selected="true" editor-type-id="text-editor">
|
64
|
-
<state line="1" column="20" selection-start="32" selection-end="32" vertical-scroll-proportion="0.
|
58
|
+
<state line="1" column="20" selection-start="32" selection-end="32" vertical-scroll-proportion="0.019427402">
|
65
59
|
<folding />
|
66
60
|
</state>
|
67
61
|
</provider>
|
@@ -88,7 +82,7 @@
|
|
88
82
|
<file leaf-file-name="gpis_scraper.rb" pinned="false" current="false" current-in-tab="false">
|
89
83
|
<entry file="file://$PROJECT_DIR$/lib/gpis/gpis_scraper.rb">
|
90
84
|
<provider selected="true" editor-type-id="text-editor">
|
91
|
-
<state line="
|
85
|
+
<state line="22" column="34" selection-start="716" selection-end="716" vertical-scroll-proportion="0.0">
|
92
86
|
<folding />
|
93
87
|
</state>
|
94
88
|
</provider>
|
@@ -108,10 +102,10 @@
|
|
108
102
|
<option name="changedFiles">
|
109
103
|
<list>
|
110
104
|
<option value="$PROJECT_DIR$/lib/gpis.rb" />
|
111
|
-
<option value="$PROJECT_DIR$/gpis.gemspec" />
|
112
105
|
<option value="$PROJECT_DIR$/lib/gpis/gpis_app_info.rb" />
|
113
|
-
<option value="$PROJECT_DIR$/lib/gpis/gpis_scraper.rb" />
|
114
106
|
<option value="$PROJECT_DIR$/README.md" />
|
107
|
+
<option value="$PROJECT_DIR$/gpis.gemspec" />
|
108
|
+
<option value="$PROJECT_DIR$/lib/gpis/gpis_scraper.rb" />
|
115
109
|
<option value="$PROJECT_DIR$/lib/gpis/version.rb" />
|
116
110
|
</list>
|
117
111
|
</option>
|
@@ -146,17 +140,22 @@
|
|
146
140
|
<sortByType />
|
147
141
|
</navigator>
|
148
142
|
<panes>
|
149
|
-
<pane id="Scope" />
|
150
143
|
<pane id="ProjectPane">
|
151
144
|
<subPane>
|
145
|
+
<PATH>
|
146
|
+
<PATH_ELEMENT>
|
147
|
+
<option name="myItemId" value="gpis" />
|
148
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
149
|
+
</PATH_ELEMENT>
|
150
|
+
</PATH>
|
152
151
|
<PATH>
|
153
152
|
<PATH_ELEMENT>
|
154
153
|
<option name="myItemId" value="gpis" />
|
155
154
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
156
155
|
</PATH_ELEMENT>
|
157
156
|
<PATH_ELEMENT>
|
158
|
-
<option name="myItemId" value="
|
159
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.
|
157
|
+
<option name="myItemId" value="gpis" />
|
158
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
160
159
|
</PATH_ELEMENT>
|
161
160
|
</PATH>
|
162
161
|
<PATH>
|
@@ -164,9 +163,18 @@
|
|
164
163
|
<option name="myItemId" value="gpis" />
|
165
164
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
166
165
|
</PATH_ELEMENT>
|
166
|
+
<PATH_ELEMENT>
|
167
|
+
<option name="myItemId" value="gpis" />
|
168
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
169
|
+
</PATH_ELEMENT>
|
170
|
+
<PATH_ELEMENT>
|
171
|
+
<option name="myItemId" value="lib" />
|
172
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
173
|
+
</PATH_ELEMENT>
|
167
174
|
</PATH>
|
168
175
|
</subPane>
|
169
176
|
</pane>
|
177
|
+
<pane id="Scope" />
|
170
178
|
</panes>
|
171
179
|
</component>
|
172
180
|
<component name="PropertiesComponent">
|
@@ -282,28 +290,28 @@
|
|
282
290
|
<editor active="true" />
|
283
291
|
<layout>
|
284
292
|
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
293
|
+
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
285
294
|
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
286
|
-
<window_info id="
|
295
|
+
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
|
296
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.35965848" sideWeight="0.6707441" order="0" side_tool="false" content_ui="combo" />
|
287
297
|
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
288
|
-
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
|
289
298
|
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
|
290
|
-
<window_info id="
|
291
|
-
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.43832824" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
292
|
-
<window_info id="Regex Tester" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
293
|
-
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
294
|
-
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
|
295
|
-
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.35538954" sideWeight="0.6707441" order="0" side_tool="false" content_ui="combo" />
|
296
|
-
<window_info id="DB Browser" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
299
|
+
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
|
297
300
|
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
298
|
-
<window_info id="
|
299
|
-
<window_info id="Pomodoro" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
301
|
+
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
300
302
|
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
301
303
|
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
302
304
|
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
303
305
|
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32925585" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
306
|
+
<window_info id="Unicode Browser" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
307
|
+
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.43832824" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
308
|
+
<window_info id="Regex Tester" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
304
309
|
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
310
|
+
<window_info id="DB Browser" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
311
|
+
<window_info id="DB Execution Console" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
305
312
|
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
306
313
|
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
314
|
+
<window_info id="Pomodoro" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
307
315
|
</layout>
|
308
316
|
</component>
|
309
317
|
<component name="VcsContentAnnotationSettings">
|
@@ -420,23 +428,21 @@
|
|
420
428
|
</state>
|
421
429
|
</provider>
|
422
430
|
</entry>
|
423
|
-
<entry file="file://$PROJECT_DIR$/
|
431
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
424
432
|
<provider selected="true" editor-type-id="text-editor">
|
425
|
-
<state line="
|
433
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
426
434
|
<folding />
|
427
435
|
</state>
|
428
436
|
</provider>
|
429
437
|
</entry>
|
430
|
-
<entry file="file://$PROJECT_DIR$/
|
438
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
431
439
|
<provider selected="true" editor-type-id="text-editor">
|
432
|
-
<state line="
|
433
|
-
<folding />
|
434
|
-
</state>
|
440
|
+
<state line="25" column="74" selection-start="406" selection-end="406" vertical-scroll-proportion="0.0" />
|
435
441
|
</provider>
|
436
442
|
</entry>
|
437
|
-
<entry file="file://$PROJECT_DIR$/lib/gpis
|
443
|
+
<entry file="file://$PROJECT_DIR$/lib/gpis.rb">
|
438
444
|
<provider selected="true" editor-type-id="text-editor">
|
439
|
-
<state line="
|
445
|
+
<state line="10" column="32" selection-start="179" selection-end="179" vertical-scroll-proportion="0.0">
|
440
446
|
<folding />
|
441
447
|
</state>
|
442
448
|
</provider>
|
@@ -448,30 +454,30 @@
|
|
448
454
|
</state>
|
449
455
|
</provider>
|
450
456
|
</entry>
|
451
|
-
<entry file="file://$PROJECT_DIR$/
|
457
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
452
458
|
<provider selected="true" editor-type-id="text-editor">
|
453
|
-
<state line="
|
459
|
+
<state line="3" column="4" selection-start="85" selection-end="85" vertical-scroll-proportion="0.0">
|
454
460
|
<folding />
|
455
461
|
</state>
|
456
462
|
</provider>
|
457
463
|
</entry>
|
458
|
-
<entry file="file://$PROJECT_DIR$/gpis.
|
464
|
+
<entry file="file://$PROJECT_DIR$/lib/gpis/gpis_scraper.rb">
|
459
465
|
<provider selected="true" editor-type-id="text-editor">
|
460
|
-
<state line="
|
466
|
+
<state line="22" column="34" selection-start="716" selection-end="716" vertical-scroll-proportion="0.0">
|
461
467
|
<folding />
|
462
468
|
</state>
|
463
469
|
</provider>
|
464
470
|
</entry>
|
465
|
-
<entry file="file://$PROJECT_DIR$/
|
471
|
+
<entry file="file://$PROJECT_DIR$/gpis.gemspec">
|
466
472
|
<provider selected="true" editor-type-id="text-editor">
|
467
|
-
<state line="
|
473
|
+
<state line="16" column="33" selection-start="899" selection-end="899" vertical-scroll-proportion="0.0">
|
468
474
|
<folding />
|
469
475
|
</state>
|
470
476
|
</provider>
|
471
477
|
</entry>
|
472
478
|
<entry file="file://$PROJECT_DIR$/lib/gpis/version.rb">
|
473
479
|
<provider selected="true" editor-type-id="text-editor">
|
474
|
-
<state line="1" column="20" selection-start="32" selection-end="32" vertical-scroll-proportion="0.
|
480
|
+
<state line="1" column="20" selection-start="32" selection-end="32" vertical-scroll-proportion="0.019427402">
|
475
481
|
<folding />
|
476
482
|
</state>
|
477
483
|
</provider>
|
data/gpis.gemspec
CHANGED
@@ -18,8 +18,8 @@ Gem::Specification.new do |gem|
|
|
18
18
|
|
19
19
|
gem.add_dependency "nokogiri"
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
|
21
|
+
gem.add_development_dependency "pry"
|
22
|
+
gem.add_development_dependency "pry-nav"
|
23
|
+
gem.add_development_dependency "pry-stack_explorer"
|
24
24
|
|
25
25
|
end
|
data/lib/gpis/gpis_scraper.rb
CHANGED
@@ -21,6 +21,7 @@ class GpisScraper
|
|
21
21
|
url = $!.uri
|
22
22
|
retry
|
23
23
|
rescue OpenURI::HTTPError => e
|
24
|
+
binding.pry
|
24
25
|
status_code = e.io.status[0] rescue 404
|
25
26
|
if status_code == 503
|
26
27
|
raise GpisServiceNotAvailable.new("Gpis: Service Not Available : #{e.message} :#{e.backtrace.join("\n")}")
|
data/lib/gpis/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gpis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.6.
|
4
|
+
version: 0.0.6.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -27,6 +27,54 @@ dependencies:
|
|
27
27
|
- - ! '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: pry
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: pry-nav
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: pry-stack_explorer
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
30
78
|
description: A Simple gem to scrape information about android applications from the
|
31
79
|
Google Play website. It has support for scraping info in multiple languages. For
|
32
80
|
now only name, category and description are supported, as only these were needed
|