file_utils 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.idea/workspace.xml +76 -43
- data/lib/file_utils.rb +1 -0
- data/lib/file_utils/version.rb +1 -1
- metadata +2 -1
data/.idea/workspace.xml
CHANGED
@@ -2,7 +2,8 @@
|
|
2
2
|
<project version="4">
|
3
3
|
<component name="ChangeListManager">
|
4
4
|
<list default="true" id="5aea4d68-4507-4177-a112-c280e0c8edfa" name="Default" comment="">
|
5
|
-
<change type="
|
5
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/file_utils.rb" />
|
6
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
6
7
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/file_utils/version.rb" afterPath="$PROJECT_DIR$/lib/file_utils/version.rb" />
|
7
8
|
</list>
|
8
9
|
<ignored path="file_utils.iws" />
|
@@ -25,19 +26,28 @@
|
|
25
26
|
</component>
|
26
27
|
<component name="FileEditorManager">
|
27
28
|
<leaf>
|
28
|
-
<file leaf-file-name="file_utils.rb" pinned="false" current="
|
29
|
+
<file leaf-file-name="file_utils.rb" pinned="false" current="false" current-in-tab="false">
|
29
30
|
<entry file="file://$PROJECT_DIR$/lib/file_utils/file_utils.rb">
|
30
31
|
<provider selected="true" editor-type-id="text-editor">
|
31
|
-
<state line="
|
32
|
+
<state line="68" column="2" selection-start="1244" selection-end="1244" vertical-scroll-proportion="0.0">
|
32
33
|
<folding />
|
33
34
|
</state>
|
34
35
|
</provider>
|
35
36
|
</entry>
|
36
37
|
</file>
|
37
|
-
<file leaf-file-name="
|
38
|
+
<file leaf-file-name="file_utils.rb" pinned="false" current="false" current-in-tab="false">
|
39
|
+
<entry file="file://$PROJECT_DIR$/lib/file_utils.rb">
|
40
|
+
<provider selected="true" editor-type-id="text-editor">
|
41
|
+
<state line="1" column="0" selection-start="32" selection-end="32" vertical-scroll-proportion="0.0">
|
42
|
+
<folding />
|
43
|
+
</state>
|
44
|
+
</provider>
|
45
|
+
</entry>
|
46
|
+
</file>
|
47
|
+
<file leaf-file-name="version.rb" pinned="false" current="true" current-in-tab="true">
|
38
48
|
<entry file="file://$PROJECT_DIR$/lib/file_utils/version.rb">
|
39
49
|
<provider selected="true" editor-type-id="text-editor">
|
40
|
-
<state line="1" column="18" selection-start="35" selection-end="35" vertical-scroll-proportion="0.
|
50
|
+
<state line="1" column="18" selection-start="35" selection-end="35" vertical-scroll-proportion="0.025931928">
|
41
51
|
<folding />
|
42
52
|
</state>
|
43
53
|
</provider>
|
@@ -62,6 +72,7 @@
|
|
62
72
|
<option value="$PROJECT_DIR$/Gemfile" />
|
63
73
|
<option value="$PROJECT_DIR$/Rakefile" />
|
64
74
|
<option value="$PROJECT_DIR$/lib/file_utils/file_utils.rb" />
|
75
|
+
<option value="$PROJECT_DIR$/lib/file_utils.rb" />
|
65
76
|
<option value="$PROJECT_DIR$/lib/file_utils/version.rb" />
|
66
77
|
</list>
|
67
78
|
</option>
|
@@ -98,6 +109,7 @@
|
|
98
109
|
<sortByType />
|
99
110
|
</navigator>
|
100
111
|
<panes>
|
112
|
+
<pane id="Scope" />
|
101
113
|
<pane id="ProjectPane">
|
102
114
|
<subPane>
|
103
115
|
<PATH>
|
@@ -130,6 +142,20 @@
|
|
130
142
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
131
143
|
</PATH_ELEMENT>
|
132
144
|
</PATH>
|
145
|
+
<PATH>
|
146
|
+
<PATH_ELEMENT>
|
147
|
+
<option name="myItemId" value="file_utils" />
|
148
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
149
|
+
</PATH_ELEMENT>
|
150
|
+
<PATH_ELEMENT>
|
151
|
+
<option name="myItemId" value="file_utils" />
|
152
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
153
|
+
</PATH_ELEMENT>
|
154
|
+
<PATH_ELEMENT>
|
155
|
+
<option name="myItemId" value="lib" />
|
156
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
157
|
+
</PATH_ELEMENT>
|
158
|
+
</PATH>
|
133
159
|
<PATH>
|
134
160
|
<PATH_ELEMENT>
|
135
161
|
<option name="myItemId" value="file_utils" />
|
@@ -150,7 +176,6 @@
|
|
150
176
|
</PATH>
|
151
177
|
</subPane>
|
152
178
|
</pane>
|
153
|
-
<pane id="Scope" />
|
154
179
|
</panes>
|
155
180
|
</component>
|
156
181
|
<component name="PropertiesComponent">
|
@@ -317,6 +342,30 @@
|
|
317
342
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
318
343
|
<method />
|
319
344
|
</configuration>
|
345
|
+
<configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
|
346
|
+
<predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
|
347
|
+
<module name="" />
|
348
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
349
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
350
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
351
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
352
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
353
|
+
<envs />
|
354
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
355
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
356
|
+
<COVERAGE_PATTERN ENABLED="true">
|
357
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
358
|
+
</COVERAGE_PATTERN>
|
359
|
+
</EXTENSION>
|
360
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
361
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
362
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
|
363
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
|
364
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
365
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
366
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
|
367
|
+
<method />
|
368
|
+
</configuration>
|
320
369
|
<list size="4">
|
321
370
|
<item index="0" class="java.lang.String" itemvalue="RSpec.DirectoryScanner" />
|
322
371
|
<item index="1" class="java.lang.String" itemvalue="RSpec.DirectoryScanner should return files in particular dir" />
|
@@ -338,12 +387,13 @@
|
|
338
387
|
<frame x="240" y="142" width="1588" height="1058" extended-state="0" />
|
339
388
|
<editor active="true" />
|
340
389
|
<layout>
|
390
|
+
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3298647" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
341
391
|
<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" />
|
342
392
|
<window_info id="CSS-X-Fire" 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" />
|
343
393
|
<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" />
|
344
394
|
<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" />
|
345
395
|
<window_info id="jenkinsBrowser" 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" />
|
346
|
-
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.25" sideWeight="0.
|
396
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.25" sideWeight="0.67013526" order="0" side_tool="false" content_ui="combo" />
|
347
397
|
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.39958376" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
348
398
|
<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" />
|
349
399
|
<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" />
|
@@ -353,7 +403,6 @@
|
|
353
403
|
<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" />
|
354
404
|
<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" />
|
355
405
|
<window_info id="Find" 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" />
|
356
|
-
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3298647" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
357
406
|
<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" />
|
358
407
|
<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" />
|
359
408
|
<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" />
|
@@ -415,13 +464,6 @@
|
|
415
464
|
<breakpoint-manager />
|
416
465
|
</component>
|
417
466
|
<component name="editorHistoryManager">
|
418
|
-
<entry file="file://$PROJECT_DIR$/Rakefile">
|
419
|
-
<provider selected="true" editor-type-id="text-editor">
|
420
|
-
<state line="11" column="38" selection-start="206" selection-end="206" vertical-scroll-proportion="0.0">
|
421
|
-
<folding />
|
422
|
-
</state>
|
423
|
-
</provider>
|
424
|
-
</entry>
|
425
467
|
<entry file="file://$PROJECT_DIR$/spec/directory_scanner_spec.rb">
|
426
468
|
<provider selected="true" editor-type-id="text-editor">
|
427
469
|
<state line="13" column="49" selection-start="315" selection-end="315" vertical-scroll-proportion="0.0">
|
@@ -438,44 +480,32 @@
|
|
438
480
|
</entry>
|
439
481
|
<entry file="file://$PROJECT_DIR$/.rvmrc">
|
440
482
|
<provider selected="true" editor-type-id="text-editor">
|
441
|
-
<state line="3" column="27" selection-start="81" selection-end="81" vertical-scroll-proportion="0.0"
|
442
|
-
<folding />
|
443
|
-
</state>
|
483
|
+
<state line="3" column="27" selection-start="81" selection-end="81" vertical-scroll-proportion="0.0" />
|
444
484
|
</provider>
|
445
485
|
</entry>
|
446
486
|
<entry file="file://$PROJECT_DIR$/Rakefile">
|
447
487
|
<provider selected="true" editor-type-id="text-editor">
|
448
|
-
<state line="11" column="38" selection-start="206" selection-end="206" vertical-scroll-proportion="0.0"
|
449
|
-
<folding />
|
450
|
-
</state>
|
488
|
+
<state line="11" column="38" selection-start="206" selection-end="206" vertical-scroll-proportion="0.0" />
|
451
489
|
</provider>
|
452
490
|
</entry>
|
453
491
|
<entry file="file://$PROJECT_DIR$/.rvmrc">
|
454
492
|
<provider selected="true" editor-type-id="text-editor">
|
455
|
-
<state line="3" column="27" selection-start="81" selection-end="81" vertical-scroll-proportion="0.0"
|
456
|
-
<folding />
|
457
|
-
</state>
|
493
|
+
<state line="3" column="27" selection-start="81" selection-end="81" vertical-scroll-proportion="0.0" />
|
458
494
|
</provider>
|
459
495
|
</entry>
|
460
496
|
<entry file="file://$PROJECT_DIR$/Rakefile">
|
461
497
|
<provider selected="true" editor-type-id="text-editor">
|
462
|
-
<state line="29" column="6" selection-start="489" selection-end="489" vertical-scroll-proportion="0.0"
|
463
|
-
<folding />
|
464
|
-
</state>
|
498
|
+
<state line="29" column="6" selection-start="489" selection-end="489" vertical-scroll-proportion="0.0" />
|
465
499
|
</provider>
|
466
500
|
</entry>
|
467
501
|
<entry file="file://$PROJECT_DIR$/.rvmrc">
|
468
502
|
<provider selected="true" editor-type-id="text-editor">
|
469
|
-
<state line="3" column="27" selection-start="81" selection-end="81" vertical-scroll-proportion="0.0"
|
470
|
-
<folding />
|
471
|
-
</state>
|
503
|
+
<state line="3" column="27" selection-start="81" selection-end="81" vertical-scroll-proportion="0.0" />
|
472
504
|
</provider>
|
473
505
|
</entry>
|
474
506
|
<entry file="file://$USER_HOME$/.rvm/gems/ruby-1.9.3-p194@file_utils/gems/rspec-core-2.9.0/lib/rspec/core/subject.rb">
|
475
507
|
<provider selected="true" editor-type-id="text-editor">
|
476
|
-
<state line="33" column="0" selection-start="1141" selection-end="1141" vertical-scroll-proportion="0.0"
|
477
|
-
<folding />
|
478
|
-
</state>
|
508
|
+
<state line="33" column="0" selection-start="1141" selection-end="1141" vertical-scroll-proportion="0.0" />
|
479
509
|
</provider>
|
480
510
|
</entry>
|
481
511
|
<entry file="file://$PROJECT_DIR$/Gemfile">
|
@@ -494,16 +524,12 @@
|
|
494
524
|
</entry>
|
495
525
|
<entry file="file://$PROJECT_DIR$/Rakefile">
|
496
526
|
<provider selected="true" editor-type-id="text-editor">
|
497
|
-
<state line="13" column="44" selection-start="235" selection-end="235" vertical-scroll-proportion="0.22269808"
|
498
|
-
<folding />
|
499
|
-
</state>
|
527
|
+
<state line="13" column="44" selection-start="235" selection-end="235" vertical-scroll-proportion="0.22269808" />
|
500
528
|
</provider>
|
501
529
|
</entry>
|
502
530
|
<entry file="file://$PROJECT_DIR$/.rvmrc">
|
503
531
|
<provider selected="true" editor-type-id="text-editor">
|
504
|
-
<state line="3" column="27" selection-start="81" selection-end="81" vertical-scroll-proportion="0.051391862"
|
505
|
-
<folding />
|
506
|
-
</state>
|
532
|
+
<state line="3" column="27" selection-start="81" selection-end="81" vertical-scroll-proportion="0.051391862" />
|
507
533
|
</provider>
|
508
534
|
</entry>
|
509
535
|
<entry file="file://$PROJECT_DIR$/lib/file_utils/directory_scanner.rb">
|
@@ -513,16 +539,23 @@
|
|
513
539
|
</state>
|
514
540
|
</provider>
|
515
541
|
</entry>
|
516
|
-
<entry file="file://$PROJECT_DIR$/lib/file_utils/
|
542
|
+
<entry file="file://$PROJECT_DIR$/lib/file_utils/file_utils.rb">
|
517
543
|
<provider selected="true" editor-type-id="text-editor">
|
518
|
-
<state line="
|
544
|
+
<state line="68" column="2" selection-start="1244" selection-end="1244" vertical-scroll-proportion="0.0">
|
519
545
|
<folding />
|
520
546
|
</state>
|
521
547
|
</provider>
|
522
548
|
</entry>
|
523
|
-
<entry file="file://$PROJECT_DIR$/lib/file_utils
|
549
|
+
<entry file="file://$PROJECT_DIR$/lib/file_utils.rb">
|
550
|
+
<provider selected="true" editor-type-id="text-editor">
|
551
|
+
<state line="1" column="0" selection-start="32" selection-end="32" vertical-scroll-proportion="0.0">
|
552
|
+
<folding />
|
553
|
+
</state>
|
554
|
+
</provider>
|
555
|
+
</entry>
|
556
|
+
<entry file="file://$PROJECT_DIR$/lib/file_utils/version.rb">
|
524
557
|
<provider selected="true" editor-type-id="text-editor">
|
525
|
-
<state line="
|
558
|
+
<state line="1" column="18" selection-start="35" selection-end="35" vertical-scroll-proportion="0.025931928">
|
526
559
|
<folding />
|
527
560
|
</state>
|
528
561
|
</provider>
|
data/lib/file_utils.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'file_utils/file_utils'
|
data/lib/file_utils/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: file_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -35,6 +35,7 @@ files:
|
|
35
35
|
- README.md
|
36
36
|
- Rakefile
|
37
37
|
- file_utils.gemspec
|
38
|
+
- lib/file_utils.rb
|
38
39
|
- lib/file_utils/directory_scanner.rb
|
39
40
|
- lib/file_utils/file_utils.rb
|
40
41
|
- lib/file_utils/version.rb
|