csv_uploader_tool 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7a68f75a17c856794c824e558aa3f7134948ed29
4
- data.tar.gz: 57e227b2ab56cf3b69d9331a02175f50bb9f3c0b
3
+ metadata.gz: 4df0d0d9e41509c6589920e43faaf9845387c9ef
4
+ data.tar.gz: c070780009b538a385049508c23b34562e93282f
5
5
  SHA512:
6
- metadata.gz: 5ddaa8c6043bb7a54001145558c00e3a4ac685154aa378689de3caa5083498435d15291b4cf90c8c8ec4068a9465db091c00e8719d6f768f9cf828cfe4c46426
7
- data.tar.gz: e60abba2f3f58ca8a42560b93b3b3af4637796566056df7db2b65110d9963b631803af2a03fa17c4176c7017c3409fc56914aba8373dbc8bb259dd144a6c73ae
6
+ metadata.gz: 483d145e9226f723e500d938f613a8d140de5cef9ab8b5de1cca9db9ad8deba8c9a4794867f7ca6886e30069c7182f7a74eb1d6cdd110037def3c7b6ee3efb9b
7
+ data.tar.gz: 2db7bdf9991501f3518c1de1898e081e757f922e6dd45872ec329325b67bc1c2d71d94d9afdadddadabb2b7dbfcb3dd2f61ff0483ffbf5f4fc43b5291f91fac9
data/.idea/workspace.xml CHANGED
@@ -2,7 +2,11 @@
2
2
  <project version="4">
3
3
  <component name="ChangeListManager">
4
4
  <list default="true" id="1fc21d97-f2e1-4849-9a6b-9f11815647c2" name="Default" comment="">
5
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/csv_uploader_tool.gemspec" afterPath="$PROJECT_DIR$/csv_uploader_tool.gemspec" />
5
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
6
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/README.md" afterPath="$PROJECT_DIR$/README.md" />
7
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/csv_uploader_tool/csv_stream.rb" afterPath="$PROJECT_DIR$/lib/csv_uploader_tool/csv_stream.rb" />
8
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/csv_uploader_tool/csv_uploader.rb" afterPath="$PROJECT_DIR$/lib/csv_uploader_tool/csv_uploader.rb" />
9
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/csv_uploader_tool/version.rb" afterPath="$PROJECT_DIR$/lib/csv_uploader_tool/version.rb" />
6
10
  </list>
7
11
  <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
8
12
  <option name="TRACKING_ENABLED" value="true" />
@@ -12,22 +16,22 @@
12
16
  <option name="LAST_RESOLUTION" value="IGNORE" />
13
17
  </component>
14
18
  <component name="FileEditorManager">
15
- <leaf>
16
- <file leaf-file-name="csv_uploader_tool.gemspec" pinned="false" current-in-tab="true">
19
+ <leaf SIDE_TABS_SIZE_LIMIT_KEY="375">
20
+ <file leaf-file-name="csv_uploader_tool.gemspec" pinned="false" current-in-tab="false">
17
21
  <entry file="file://$PROJECT_DIR$/csv_uploader_tool.gemspec">
18
22
  <provider selected="true" editor-type-id="text-editor">
19
- <state relative-caret-position="269">
20
- <caret line="15" column="2" lean-forward="false" selection-start-line="15" selection-start-column="2" selection-end-line="15" selection-end-column="2" />
23
+ <state relative-caret-position="285">
24
+ <caret line="15" column="0" lean-forward="false" selection-start-line="15" selection-start-column="0" selection-end-line="15" selection-end-column="0" />
21
25
  <folding />
22
26
  </state>
23
27
  </provider>
24
28
  </entry>
25
29
  </file>
26
- <file leaf-file-name="version.rb" pinned="false" current-in-tab="false">
30
+ <file leaf-file-name="version.rb" pinned="false" current-in-tab="true">
27
31
  <entry file="file://$PROJECT_DIR$/lib/csv_uploader_tool/version.rb">
28
32
  <provider selected="true" editor-type-id="text-editor">
29
- <state relative-caret-position="0">
30
- <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
33
+ <state relative-caret-position="57">
34
+ <caret line="3" column="0" lean-forward="true" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
31
35
  <folding />
32
36
  </state>
33
37
  </provider>
@@ -46,8 +50,8 @@
46
50
  <file leaf-file-name="csv_stream.rb" pinned="false" current-in-tab="false">
47
51
  <entry file="file://$PROJECT_DIR$/lib/csv_uploader_tool/csv_stream.rb">
48
52
  <provider selected="true" editor-type-id="text-editor">
49
- <state relative-caret-position="532">
50
- <caret line="28" column="0" lean-forward="false" selection-start-line="28" selection-start-column="0" selection-end-line="28" selection-end-column="0" />
53
+ <state relative-caret-position="665">
54
+ <caret line="35" column="5" lean-forward="false" selection-start-line="35" selection-start-column="5" selection-end-line="35" selection-end-column="5" />
51
55
  <folding />
52
56
  </state>
53
57
  </provider>
@@ -56,13 +60,28 @@
56
60
  <file leaf-file-name="csv_uploader.rb" pinned="false" current-in-tab="false">
57
61
  <entry file="file://$PROJECT_DIR$/lib/csv_uploader_tool/csv_uploader.rb">
58
62
  <provider selected="true" editor-type-id="text-editor">
59
- <state relative-caret-position="380">
60
- <caret line="20" column="30" lean-forward="false" selection-start-line="20" selection-start-column="30" selection-end-line="20" selection-end-column="30" />
63
+ <state relative-caret-position="874">
64
+ <caret line="46" column="5" lean-forward="false" selection-start-line="46" selection-start-column="5" selection-end-line="46" selection-end-column="5" />
61
65
  <folding />
62
66
  </state>
63
67
  </provider>
64
68
  </entry>
65
69
  </file>
70
+ <file leaf-file-name="README.md" pinned="false" current-in-tab="false">
71
+ <entry file="file://$PROJECT_DIR$/README.md">
72
+ <provider selected="true" editor-type-id="split-provider[text-editor;MarkdownPreviewEditor]">
73
+ <state split_layout="SPLIT">
74
+ <first_editor relative-caret-position="414">
75
+ <caret line="23" column="0" lean-forward="true" selection-start-line="23" selection-start-column="0" selection-end-line="23" selection-end-column="0" />
76
+ <folding />
77
+ </first_editor>
78
+ <second_editor>
79
+ <js_state />
80
+ </second_editor>
81
+ </state>
82
+ </provider>
83
+ </entry>
84
+ </file>
66
85
  <file leaf-file-name="csv_uploader_tool.rb" pinned="false" current-in-tab="false">
67
86
  <entry file="file://$PROJECT_DIR$/lib/csv_uploader_tool.rb">
68
87
  <provider selected="true" editor-type-id="text-editor">
@@ -120,12 +139,14 @@
120
139
  <list>
121
140
  <option value="$PROJECT_DIR$/.gitignore" />
122
141
  <option value="$PROJECT_DIR$/lib/csv_uploader_tool/csv_maker.rb" />
123
- <option value="$PROJECT_DIR$/lib/csv_uploader_tool/csv_stream.rb" />
124
- <option value="$PROJECT_DIR$/lib/csv_uploader_tool/csv_uploader.rb" />
125
142
  <option value="$PROJECT_DIR$/lib/csv_uploader_tool.rb" />
126
143
  <option value="$PROJECT_DIR$/spec/csv_uploader_tool_spec.rb" />
127
144
  <option value="$PROJECT_DIR$/Gemfile" />
128
145
  <option value="$PROJECT_DIR$/csv_uploader_tool.gemspec" />
146
+ <option value="$PROJECT_DIR$/lib/csv_uploader_tool/csv_stream.rb" />
147
+ <option value="$PROJECT_DIR$/lib/csv_uploader_tool/csv_uploader.rb" />
148
+ <option value="$PROJECT_DIR$/README.md" />
149
+ <option value="$PROJECT_DIR$/lib/csv_uploader_tool/version.rb" />
129
150
  </list>
130
151
  </option>
131
152
  </component>
@@ -135,7 +156,8 @@
135
156
  <detection-done>true</detection-done>
136
157
  <sorting>DEFINITION_ORDER</sorting>
137
158
  </component>
138
- <component name="ProjectFrameBounds" fullScreen="true">
159
+ <component name="ProjectFrameBounds" extendedState="6" fullScreen="true">
160
+ <option name="x" value="1" />
139
161
  <option name="y" value="22" />
140
162
  <option name="width" value="1680" />
141
163
  <option name="height" value="1024" />
@@ -155,7 +177,6 @@
155
177
  <foldersAlwaysOnTop value="true" />
156
178
  </navigator>
157
179
  <panes>
158
- <pane id="Scratches" />
159
180
  <pane id="ProjectPane">
160
181
  <subPane>
161
182
  <expand>
@@ -184,6 +205,7 @@
184
205
  </subPane>
185
206
  </pane>
186
207
  <pane id="Scope" />
208
+ <pane id="Scratches" />
187
209
  </panes>
188
210
  </component>
189
211
  <component name="PropertiesComponent">
@@ -214,34 +236,35 @@
214
236
  <option name="number" value="Default" />
215
237
  <option name="presentableId" value="Default" />
216
238
  <updated>1506574866246</updated>
217
- <workItem from="1506574867552" duration="1134000" />
239
+ <workItem from="1506574867552" duration="1392000" />
240
+ <workItem from="1506663517491" duration="341000" />
218
241
  </task>
219
242
  <servers />
220
243
  </component>
221
244
  <component name="TimeTrackingManager">
222
- <option name="totallyTimeSpent" value="1134000" />
245
+ <option name="totallyTimeSpent" value="1733000" />
223
246
  </component>
224
247
  <component name="ToolWindowManager">
225
- <frame x="0" y="0" width="1680" height="1050" extended-state="0" />
248
+ <frame x="0" y="0" width="1680" height="1050" extended-state="6" />
226
249
  <editor active="true" />
227
250
  <layout>
228
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
251
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.2536855" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
229
252
  <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
230
- <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
231
- <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
232
- <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
233
- <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
253
+ <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
254
+ <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
255
+ <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
234
256
  <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
235
- <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.31362724" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
236
- <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
237
- <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
257
+ <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32865733" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
258
+ <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
238
259
  <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
239
- <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
240
260
  <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
241
261
  <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
242
- <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
243
262
  <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
263
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
264
+ <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
265
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
244
266
  <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
267
+ <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
245
268
  </layout>
246
269
  </component>
247
270
  <component name="TypeScriptGeneratedFilesManager">
@@ -255,10 +278,10 @@
255
278
  <watches-manager />
256
279
  </component>
257
280
  <component name="editorHistoryManager">
258
- <entry file="file://$PROJECT_DIR$/.gitignore">
281
+ <entry file="file://$PROJECT_DIR$/csv_uploader_tool.gemspec">
259
282
  <provider selected="true" editor-type-id="text-editor">
260
- <state relative-caret-position="209">
261
- <caret line="11" column="5" lean-forward="false" selection-start-line="11" selection-start-column="5" selection-end-line="11" selection-end-column="5" />
283
+ <state relative-caret-position="285">
284
+ <caret line="15" column="0" lean-forward="false" selection-start-line="15" selection-start-column="0" selection-end-line="15" selection-end-column="0" />
262
285
  <folding />
263
286
  </state>
264
287
  </provider>
@@ -295,6 +318,30 @@
295
318
  </state>
296
319
  </provider>
297
320
  </entry>
321
+ <entry file="file://$PROJECT_DIR$/spec/csv_uploader_tool_spec.rb">
322
+ <provider selected="true" editor-type-id="text-editor">
323
+ <state relative-caret-position="285">
324
+ <caret line="15" column="3" lean-forward="false" selection-start-line="15" selection-start-column="3" selection-end-line="15" selection-end-column="3" />
325
+ <folding />
326
+ </state>
327
+ </provider>
328
+ </entry>
329
+ <entry file="file://$PROJECT_DIR$/Gemfile">
330
+ <provider selected="true" editor-type-id="text-editor">
331
+ <state relative-caret-position="133">
332
+ <caret line="7" column="29" lean-forward="false" selection-start-line="7" selection-start-column="29" selection-end-line="7" selection-end-column="29" />
333
+ <folding />
334
+ </state>
335
+ </provider>
336
+ </entry>
337
+ <entry file="file://$PROJECT_DIR$/.gitignore">
338
+ <provider selected="true" editor-type-id="text-editor">
339
+ <state relative-caret-position="209">
340
+ <caret line="11" column="5" lean-forward="false" selection-start-line="11" selection-start-column="5" selection-end-line="11" selection-end-column="5" />
341
+ <folding />
342
+ </state>
343
+ </provider>
344
+ </entry>
298
345
  <entry file="file://$PROJECT_DIR$/lib/csv_uploader_tool.rb">
299
346
  <provider selected="true" editor-type-id="text-editor">
300
347
  <state relative-caret-position="76">
@@ -303,6 +350,22 @@
303
350
  </state>
304
351
  </provider>
305
352
  </entry>
353
+ <entry file="file://$PROJECT_DIR$/.gitignore">
354
+ <provider selected="true" editor-type-id="text-editor">
355
+ <state relative-caret-position="209">
356
+ <caret line="11" column="5" lean-forward="false" selection-start-line="11" selection-start-column="5" selection-end-line="11" selection-end-column="5" />
357
+ <folding />
358
+ </state>
359
+ </provider>
360
+ </entry>
361
+ <entry file="file://$PROJECT_DIR$/lib/csv_uploader_tool/csv_maker.rb">
362
+ <provider selected="true" editor-type-id="text-editor">
363
+ <state relative-caret-position="342">
364
+ <caret line="18" column="3" lean-forward="false" selection-start-line="18" selection-start-column="3" selection-end-line="18" selection-end-column="3" />
365
+ <folding />
366
+ </state>
367
+ </provider>
368
+ </entry>
306
369
  <entry file="file://$PROJECT_DIR$/spec/csv_uploader_tool_spec.rb">
307
370
  <provider selected="true" editor-type-id="text-editor">
308
371
  <state relative-caret-position="285">
@@ -321,8 +384,53 @@
321
384
  </entry>
322
385
  <entry file="file://$PROJECT_DIR$/csv_uploader_tool.gemspec">
323
386
  <provider selected="true" editor-type-id="text-editor">
324
- <state relative-caret-position="269">
325
- <caret line="15" column="2" lean-forward="false" selection-start-line="15" selection-start-column="2" selection-end-line="15" selection-end-column="2" />
387
+ <state relative-caret-position="285">
388
+ <caret line="15" column="0" lean-forward="false" selection-start-line="15" selection-start-column="0" selection-end-line="15" selection-end-column="0" />
389
+ <folding />
390
+ </state>
391
+ </provider>
392
+ </entry>
393
+ <entry file="file://$PROJECT_DIR$/lib/csv_uploader_tool.rb">
394
+ <provider selected="true" editor-type-id="text-editor">
395
+ <state relative-caret-position="76">
396
+ <caret line="4" column="66" lean-forward="false" selection-start-line="4" selection-start-column="66" selection-end-line="4" selection-end-column="66" />
397
+ <folding />
398
+ </state>
399
+ </provider>
400
+ </entry>
401
+ <entry file="file://$PROJECT_DIR$/lib/csv_uploader_tool/csv_stream.rb">
402
+ <provider selected="true" editor-type-id="text-editor">
403
+ <state relative-caret-position="665">
404
+ <caret line="35" column="5" lean-forward="false" selection-start-line="35" selection-start-column="5" selection-end-line="35" selection-end-column="5" />
405
+ <folding />
406
+ </state>
407
+ </provider>
408
+ </entry>
409
+ <entry file="file://$PROJECT_DIR$/lib/csv_uploader_tool/csv_uploader.rb">
410
+ <provider selected="true" editor-type-id="text-editor">
411
+ <state relative-caret-position="874">
412
+ <caret line="46" column="5" lean-forward="false" selection-start-line="46" selection-start-column="5" selection-end-line="46" selection-end-column="5" />
413
+ <folding />
414
+ </state>
415
+ </provider>
416
+ </entry>
417
+ <entry file="file://$PROJECT_DIR$/README.md">
418
+ <provider selected="true" editor-type-id="split-provider[text-editor;MarkdownPreviewEditor]">
419
+ <state split_layout="SPLIT">
420
+ <first_editor relative-caret-position="414">
421
+ <caret line="23" column="0" lean-forward="true" selection-start-line="23" selection-start-column="0" selection-end-line="23" selection-end-column="0" />
422
+ <folding />
423
+ </first_editor>
424
+ <second_editor>
425
+ <js_state />
426
+ </second_editor>
427
+ </state>
428
+ </provider>
429
+ </entry>
430
+ <entry file="file://$PROJECT_DIR$/lib/csv_uploader_tool/version.rb">
431
+ <provider selected="true" editor-type-id="text-editor">
432
+ <state relative-caret-position="57">
433
+ <caret line="3" column="0" lean-forward="true" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
326
434
  <folding />
327
435
  </state>
328
436
  </provider>
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- csv_uploader_tool (0.1.0)
4
+ csv_uploader_tool (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -22,7 +22,6 @@ Or install it yourself as:
22
22
 
23
23
  ## Usage
24
24
 
25
- TODO: Write usage instructions here
26
25
 
27
26
  ## Development
28
27
 
@@ -14,6 +14,15 @@ class CsvStream
14
14
  file_stream.close
15
15
  file.path
16
16
  end
17
+
18
+ def fetch(dir)
19
+ all_files = Dir[dir+'/*'].select {|x| x =~ /_.*(csv)/ }
20
+ actual_names = []
21
+ all_files.each do |path|
22
+ actual_names << File.basename(path)
23
+ end
24
+ actual_names
25
+ end
17
26
  end
18
27
 
19
28
  def write(stream)
@@ -15,6 +15,18 @@ class CsvUploader
15
15
  def mkdir(dir)
16
16
  FileUtils.mkpath dir unless File.directory?(dir)
17
17
  end
18
+
19
+ def fetch(dir)
20
+ CsvStream.fetch dir
21
+ end
22
+
23
+ def size(dir)
24
+ File.absolute_path(dir).size
25
+ end
26
+
27
+ def remove_all_for(dir)
28
+ FileUtils.remove_dir dir
29
+ end
18
30
  end
19
31
 
20
32
  def save(stream)
@@ -33,5 +45,4 @@ class CsvUploader
33
45
  def write_stream(stream, filename)
34
46
  CsvStream.write(stream, @dir, filename)
35
47
  end
36
-
37
48
  end
@@ -1,3 +1,3 @@
1
1
  module CsvUploaderTool
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: csv_uploader_tool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jakub41
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-28 00:00:00.000000000 Z
11
+ date: 2017-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler