world_airports 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/workspace.xml +122 -38
- data/README.md +4 -3
- data/lib/scrapped.rb +1 -0
- data/lib/world_airports/version.rb +2 -1
- data/lib/world_airports.rb +1 -0
- data.tar.gz.sig +0 -0
- metadata +2 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 373380298e6fa2a82e08d108068d432b65ce70d2
|
4
|
+
data.tar.gz: 7f0a797141242f00fe5426a6a5f153e39c67f75f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43fefc7c0ac45b1b1fe85dcfeaf4d6e84dcd8f71f5beb4ac832ec3276d91ef307a0ada4fa29a6d4380f2242b6abebdcfc2b7a0be6c9d84f14c2817e07a6d156e
|
7
|
+
data.tar.gz: 9cfa57fffc234cbb34500925402a62a76f011e71878a621320211c3f583d8e6f8e9cae4c98b02fdcf1576dd20c1028245e56b949a915d2fe0e8f89805f8ec924
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/.idea/.rakeTasks
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<Settings><!--This file was automatically generated by Ruby plugin.
|
3
|
+
You are allowed to:
|
4
|
+
1. Remove rake task
|
5
|
+
2. Add existing rake tasks
|
6
|
+
To add existing rake tasks automatically delete this file and reload the project.
|
7
|
+
--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build world_airports-1.0.1.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Build and install world_airports-1.0.1.gem into system gems" fullCmd="install" taksId="install" /><RakeTask description="Create tag v1.0.1 and build and push world_airports-1.0.1.gem to Rubygems" fullCmd="release" taksId="release" /></RakeGroup></Settings>
|
data/.idea/workspace.xml
CHANGED
@@ -25,18 +25,8 @@
|
|
25
25
|
<file leaf-file-name="world_airports.gemspec" pinned="false" current="true" current-in-tab="true">
|
26
26
|
<entry file="file://$PROJECT_DIR$/world_airports.gemspec">
|
27
27
|
<provider selected="true" editor-type-id="text-editor">
|
28
|
-
<state vertical-scroll-proportion="0.
|
29
|
-
<caret line="
|
30
|
-
<folding />
|
31
|
-
</state>
|
32
|
-
</provider>
|
33
|
-
</entry>
|
34
|
-
</file>
|
35
|
-
<file leaf-file-name="version.rb" pinned="false" current="false" current-in-tab="false">
|
36
|
-
<entry file="file://$PROJECT_DIR$/lib/world_airports/version.rb">
|
37
|
-
<provider selected="true" editor-type-id="text-editor">
|
38
|
-
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="135">
|
39
|
-
<caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
|
28
|
+
<state vertical-scroll-proportion="0.1875" vertical-offset="0" max-vertical-offset="560">
|
29
|
+
<caret line="7" column="40" selection-start-line="7" selection-start-column="40" selection-end-line="7" selection-end-column="40" />
|
40
30
|
<folding />
|
41
31
|
</state>
|
42
32
|
</provider>
|
@@ -55,8 +45,8 @@
|
|
55
45
|
<file leaf-file-name="world_airports.rb" pinned="false" current="false" current-in-tab="false">
|
56
46
|
<entry file="file://$PROJECT_DIR$/lib/world_airports.rb">
|
57
47
|
<provider selected="true" editor-type-id="text-editor">
|
58
|
-
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="
|
59
|
-
<caret line="
|
48
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="570">
|
49
|
+
<caret line="0" column="17" selection-start-line="0" selection-start-column="17" selection-end-line="0" selection-end-column="17" />
|
60
50
|
<folding />
|
61
51
|
</state>
|
62
52
|
</provider>
|
@@ -76,16 +66,17 @@
|
|
76
66
|
<option value="$PROJECT_DIR$/scrapper.out" />
|
77
67
|
<option value="$PROJECT_DIR$/scrapper/scrapped.rb" />
|
78
68
|
<option value="$PROJECT_DIR$/.gitignore" />
|
69
|
+
<option value="$PROJECT_DIR$/README.md" />
|
79
70
|
<option value="$PROJECT_DIR$/lib/scrapped.rb" />
|
80
71
|
<option value="$PROJECT_DIR$/lib/world_airports.rb" />
|
81
|
-
<option value="$PROJECT_DIR$/lib/world_airports/version.rb" />
|
82
72
|
<option value="$PROJECT_DIR$/world_airports.gemspec" />
|
73
|
+
<option value="$PROJECT_DIR$/lib/world_airports/version.rb" />
|
83
74
|
</list>
|
84
75
|
</option>
|
85
76
|
</component>
|
86
77
|
<component name="ProjectFrameBounds">
|
87
|
-
<option name="x" value="
|
88
|
-
<option name="y" value="
|
78
|
+
<option name="x" value="567" />
|
79
|
+
<option name="y" value="63" />
|
89
80
|
<option name="width" value="1073" />
|
90
81
|
<option name="height" value="868" />
|
91
82
|
</component>
|
@@ -133,6 +124,52 @@
|
|
133
124
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
134
125
|
</PATH_ELEMENT>
|
135
126
|
</PATH>
|
127
|
+
<PATH>
|
128
|
+
<PATH_ELEMENT>
|
129
|
+
<option name="myItemId" value="world_airports" />
|
130
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
131
|
+
</PATH_ELEMENT>
|
132
|
+
<PATH_ELEMENT>
|
133
|
+
<option name="myItemId" value="world_airports" />
|
134
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
135
|
+
</PATH_ELEMENT>
|
136
|
+
<PATH_ELEMENT>
|
137
|
+
<option name="myItemId" value="scrapper" />
|
138
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
139
|
+
</PATH_ELEMENT>
|
140
|
+
</PATH>
|
141
|
+
<PATH>
|
142
|
+
<PATH_ELEMENT>
|
143
|
+
<option name="myItemId" value="world_airports" />
|
144
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
145
|
+
</PATH_ELEMENT>
|
146
|
+
<PATH_ELEMENT>
|
147
|
+
<option name="myItemId" value="world_airports" />
|
148
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
149
|
+
</PATH_ELEMENT>
|
150
|
+
<PATH_ELEMENT>
|
151
|
+
<option name="myItemId" value="lib" />
|
152
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
153
|
+
</PATH_ELEMENT>
|
154
|
+
</PATH>
|
155
|
+
<PATH>
|
156
|
+
<PATH_ELEMENT>
|
157
|
+
<option name="myItemId" value="world_airports" />
|
158
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
159
|
+
</PATH_ELEMENT>
|
160
|
+
<PATH_ELEMENT>
|
161
|
+
<option name="myItemId" value="world_airports" />
|
162
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
163
|
+
</PATH_ELEMENT>
|
164
|
+
<PATH_ELEMENT>
|
165
|
+
<option name="myItemId" value="lib" />
|
166
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
167
|
+
</PATH_ELEMENT>
|
168
|
+
<PATH_ELEMENT>
|
169
|
+
<option name="myItemId" value="world_airports" />
|
170
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
171
|
+
</PATH_ELEMENT>
|
172
|
+
</PATH>
|
136
173
|
</subPane>
|
137
174
|
</pane>
|
138
175
|
<pane id="Scope" />
|
@@ -227,24 +264,24 @@
|
|
227
264
|
<servers />
|
228
265
|
</component>
|
229
266
|
<component name="ToolWindowManager">
|
230
|
-
<frame x="
|
231
|
-
<editor active="
|
267
|
+
<frame x="567" y="63" width="1073" height="868" extended-state="0" />
|
268
|
+
<editor active="false" />
|
232
269
|
<layout>
|
233
270
|
<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="1" side_tool="false" content_ui="tabs" />
|
234
|
-
<window_info id="
|
271
|
+
<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="11" side_tool="false" content_ui="tabs" />
|
272
|
+
<window_info id="Terminal" active="true" anchor="top" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.23243934" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
273
|
+
<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="10" side_tool="false" content_ui="tabs" />
|
235
274
|
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.17678382" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
236
|
-
<window_info id="
|
275
|
+
<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="2" side_tool="false" content_ui="tabs" />
|
276
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.25994182" sideWeight="0.5" order="1" side_tool="false" content_ui="combo" />
|
237
277
|
<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="7" side_tool="false" content_ui="tabs" />
|
238
|
-
<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="2" side_tool="true" content_ui="tabs" />
|
239
278
|
<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="0" side_tool="true" content_ui="tabs" />
|
240
|
-
<window_info id="
|
241
|
-
<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="-1" side_tool="false" content_ui="tabs" />
|
242
|
-
<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="10" side_tool="false" content_ui="tabs" />
|
243
|
-
<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="2" side_tool="false" content_ui="tabs" />
|
244
|
-
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.25509214" sideWeight="0.5" order="1" side_tool="false" content_ui="combo" />
|
279
|
+
<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="2" side_tool="true" content_ui="tabs" />
|
245
280
|
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.43805873" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
281
|
+
<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="3" side_tool="false" content_ui="tabs" />
|
246
282
|
<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="8" side_tool="false" content_ui="tabs" />
|
247
283
|
<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="4" side_tool="false" content_ui="tabs" />
|
284
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33971903" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
248
285
|
<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="2" side_tool="false" content_ui="tabs" />
|
249
286
|
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.2857143" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
250
287
|
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
@@ -272,50 +309,97 @@
|
|
272
309
|
<breakpoint-manager />
|
273
310
|
</component>
|
274
311
|
<component name="editorHistoryManager">
|
275
|
-
<entry file="file://$PROJECT_DIR
|
312
|
+
<entry file="file://$PROJECT_DIR$/world_airports.gemspec">
|
276
313
|
<provider selected="true" editor-type-id="text-editor">
|
277
|
-
<state vertical-scroll-proportion="0.
|
278
|
-
<caret line="
|
314
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="315" max-vertical-offset="480">
|
315
|
+
<caret line="21" column="70" selection-start-line="21" selection-start-column="70" selection-end-line="21" selection-end-column="70" />
|
316
|
+
<folding />
|
317
|
+
</state>
|
318
|
+
</provider>
|
319
|
+
</entry>
|
320
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
321
|
+
<provider selected="true" editor-type-id="text-editor">
|
322
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="315" max-vertical-offset="540">
|
323
|
+
<caret line="21" column="25" selection-start-line="21" selection-start-column="25" selection-end-line="21" selection-end-column="25" />
|
324
|
+
<folding />
|
325
|
+
</state>
|
326
|
+
</provider>
|
327
|
+
</entry>
|
328
|
+
<entry file="file://$PROJECT_DIR$/lib/world_airports/version.rb">
|
329
|
+
<provider selected="true" editor-type-id="text-editor">
|
330
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="15" max-vertical-offset="135">
|
331
|
+
<caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
|
279
332
|
<folding />
|
280
333
|
</state>
|
281
334
|
</provider>
|
282
335
|
</entry>
|
283
336
|
<entry file="file://$PROJECT_DIR$/scrapper/scrapper.rb">
|
284
337
|
<provider selected="true" editor-type-id="text-editor">
|
285
|
-
<state vertical-scroll-proportion="0.0" vertical-offset="
|
338
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="85" max-vertical-offset="720">
|
286
339
|
<caret line="42" column="11" selection-start-line="42" selection-start-column="11" selection-end-line="42" selection-end-column="11" />
|
287
340
|
<folding />
|
288
341
|
</state>
|
289
342
|
</provider>
|
290
343
|
</entry>
|
344
|
+
<entry file="file://$PROJECT_DIR$/lib/world_airports.rb">
|
345
|
+
<provider selected="true" editor-type-id="text-editor">
|
346
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="420" max-vertical-offset="555">
|
347
|
+
<caret line="28" column="7" selection-start-line="28" selection-start-column="7" selection-end-line="28" selection-end-column="7" />
|
348
|
+
<folding />
|
349
|
+
</state>
|
350
|
+
</provider>
|
351
|
+
</entry>
|
352
|
+
<entry file="file://$PROJECT_DIR$/.gitignore">
|
353
|
+
<provider selected="true" editor-type-id="text-editor">
|
354
|
+
<state vertical-scroll-proportion="0.28795812" vertical-offset="0" max-vertical-offset="573">
|
355
|
+
<caret line="11" column="9" selection-start-line="11" selection-start-column="9" selection-end-line="11" selection-end-column="9" />
|
356
|
+
</state>
|
357
|
+
</provider>
|
358
|
+
</entry>
|
291
359
|
<entry file="file://$PROJECT_DIR$/lib/scrapped.rb">
|
292
360
|
<provider selected="true" editor-type-id="text-editor">
|
293
361
|
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="560">
|
294
|
-
<caret line="0" column="
|
362
|
+
<caret line="0" column="17" selection-start-line="0" selection-start-column="17" selection-end-line="0" selection-end-column="17" />
|
363
|
+
<folding />
|
364
|
+
</state>
|
365
|
+
</provider>
|
366
|
+
</entry>
|
367
|
+
<entry file="file://$PROJECT_DIR$/scrapper/scrapper.rb">
|
368
|
+
<provider selected="true" editor-type-id="text-editor">
|
369
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="160" max-vertical-offset="720">
|
370
|
+
<caret line="42" column="11" selection-start-line="42" selection-start-column="11" selection-end-line="42" selection-end-column="11" />
|
295
371
|
<folding />
|
296
372
|
</state>
|
297
373
|
</provider>
|
298
374
|
</entry>
|
299
375
|
<entry file="file://$PROJECT_DIR$/lib/world_airports.rb">
|
300
376
|
<provider selected="true" editor-type-id="text-editor">
|
301
|
-
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="
|
302
|
-
<caret line="
|
377
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="573">
|
378
|
+
<caret line="0" column="17" selection-start-line="0" selection-start-column="17" selection-end-line="0" selection-end-column="17" />
|
303
379
|
<folding />
|
304
380
|
</state>
|
305
381
|
</provider>
|
306
382
|
</entry>
|
307
383
|
<entry file="file://$PROJECT_DIR$/lib/world_airports/version.rb">
|
308
384
|
<provider selected="true" editor-type-id="text-editor">
|
309
|
-
<state vertical-scroll-proportion="0.
|
310
|
-
<caret line="
|
385
|
+
<state vertical-scroll-proportion="0.05235602" vertical-offset="0" max-vertical-offset="573">
|
386
|
+
<caret line="2" column="18" selection-start-line="2" selection-start-column="18" selection-end-line="2" selection-end-column="18" />
|
387
|
+
<folding />
|
388
|
+
</state>
|
389
|
+
</provider>
|
390
|
+
</entry>
|
391
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
392
|
+
<provider selected="true" editor-type-id="text-editor">
|
393
|
+
<state vertical-scroll-proportion="0.8130841" vertical-offset="0" max-vertical-offset="535">
|
394
|
+
<caret line="29" column="28" selection-start-line="29" selection-start-column="28" selection-end-line="29" selection-end-column="28" />
|
311
395
|
<folding />
|
312
396
|
</state>
|
313
397
|
</provider>
|
314
398
|
</entry>
|
315
399
|
<entry file="file://$PROJECT_DIR$/world_airports.gemspec">
|
316
400
|
<provider selected="true" editor-type-id="text-editor">
|
317
|
-
<state vertical-scroll-proportion="0.
|
318
|
-
<caret line="
|
401
|
+
<state vertical-scroll-proportion="0.1875" vertical-offset="0" max-vertical-offset="560">
|
402
|
+
<caret line="7" column="40" selection-start-line="7" selection-start-column="40" selection-end-line="7" selection-end-column="40" />
|
319
403
|
<folding />
|
320
404
|
</state>
|
321
405
|
</provider>
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# WorldAirports
|
2
2
|
|
3
|
-
|
3
|
+
world_airports is a lightweight ruby gem that allow you to get several information such as airport name, location, city and country based on an IATA code.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -18,7 +18,8 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
|
21
|
+
require 'world_airports'
|
22
|
+
WorldAirports.iata("CGK")
|
22
23
|
|
23
24
|
## Contributing
|
24
25
|
|
@@ -26,4 +27,4 @@ TODO: Write usage instructions here
|
|
26
27
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
28
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
29
|
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
-
5. Create a new Pull Request
|
30
|
+
5. Create a new Pull Request
|