file_utils 1.1.1 → 1.1.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.
- checksums.yaml +4 -4
- data/.idea/workspace.xml +82 -44
- data/CHANGES +5 -1
- data/lib/file_utils/directory_scanner.rb +7 -3
- data/lib/file_utils/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0715d4f5bf8288d939c5905a10573cf2cfeeac82
|
|
4
|
+
data.tar.gz: 60a807b78fdfdd8fbee25245fb19a78e543f432c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1085a2f7b59d9e46e1ebb52fe3cff91df84a424d273f006e7ef80aad764664bc4b98850f0b72b4d1e3b2fa8f166cfd653be10f5575528e15a9837cc7fa04f86f
|
|
7
|
+
data.tar.gz: 49652d276cf664b9d709ae4ab618779150fbf5e295973e6393cc970e862734d6511b33eb850e911c7f3c1f92d7ac2b8e3197945a72b9c9aacd5fbc382f89a0da
|
data/.idea/workspace.xml
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
<list default="true" id="5aea4d68-4507-4177-a112-c280e0c8edfa" name="Default" comment="">
|
|
5
5
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/CHANGES" afterPath="$PROJECT_DIR$/CHANGES" />
|
|
6
6
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/file_utils/directory_scanner.rb" afterPath="$PROJECT_DIR$/lib/file_utils/directory_scanner.rb" />
|
|
7
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/spec/directory_scanner_spec.rb" afterPath="$PROJECT_DIR$/spec/directory_scanner_spec.rb" />
|
|
8
7
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/file_utils/version.rb" afterPath="$PROJECT_DIR$/lib/file_utils/version.rb" />
|
|
9
8
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
|
10
9
|
</list>
|
|
@@ -34,7 +33,7 @@
|
|
|
34
33
|
<file leaf-file-name="directory_scanner_spec.rb" pinned="false" current-in-tab="false">
|
|
35
34
|
<entry file="file://$PROJECT_DIR$/spec/directory_scanner_spec.rb">
|
|
36
35
|
<provider selected="true" editor-type-id="text-editor">
|
|
37
|
-
<state vertical-scroll-proportion="
|
|
36
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="29" max-vertical-offset="525">
|
|
38
37
|
<caret line="23" column="37" selection-start-line="23" selection-start-column="37" selection-end-line="23" selection-end-column="37" />
|
|
39
38
|
<folding />
|
|
40
39
|
</state>
|
|
@@ -44,8 +43,8 @@
|
|
|
44
43
|
<file leaf-file-name="directory_scanner.rb" pinned="false" current-in-tab="false">
|
|
45
44
|
<entry file="file://$PROJECT_DIR$/lib/file_utils/directory_scanner.rb">
|
|
46
45
|
<provider selected="true" editor-type-id="text-editor">
|
|
47
|
-
<state vertical-scroll-proportion="
|
|
48
|
-
<caret line="
|
|
46
|
+
<state vertical-scroll-proportion="17.76" vertical-offset="699" max-vertical-offset="1170">
|
|
47
|
+
<caret line="17" column="9" selection-start-line="17" selection-start-column="9" selection-end-line="17" selection-end-column="9" />
|
|
49
48
|
<folding />
|
|
50
49
|
</state>
|
|
51
50
|
</provider>
|
|
@@ -64,8 +63,8 @@
|
|
|
64
63
|
<file leaf-file-name="CHANGES" pinned="false" current-in-tab="true">
|
|
65
64
|
<entry file="file://$PROJECT_DIR$/CHANGES">
|
|
66
65
|
<provider selected="true" editor-type-id="text-editor">
|
|
67
|
-
<state vertical-scroll-proportion="0.
|
|
68
|
-
<caret line="
|
|
66
|
+
<state vertical-scroll-proportion="0.8467742" vertical-offset="0" max-vertical-offset="510">
|
|
67
|
+
<caret line="28" column="2" selection-start-line="28" selection-start-column="2" selection-end-line="28" selection-end-column="35" />
|
|
69
68
|
<folding />
|
|
70
69
|
</state>
|
|
71
70
|
</provider>
|
|
@@ -90,8 +89,8 @@
|
|
|
90
89
|
<option name="CHANGED_PATHS">
|
|
91
90
|
<list>
|
|
92
91
|
<option value="$PROJECT_DIR$/.ruby-version" />
|
|
93
|
-
<option value="$PROJECT_DIR$/lib/file_utils/directory_scanner.rb" />
|
|
94
92
|
<option value="$PROJECT_DIR$/spec/directory_scanner_spec.rb" />
|
|
93
|
+
<option value="$PROJECT_DIR$/lib/file_utils/directory_scanner.rb" />
|
|
95
94
|
<option value="$PROJECT_DIR$/lib/file_utils/version.rb" />
|
|
96
95
|
<option value="$PROJECT_DIR$/CHANGES" />
|
|
97
96
|
</list>
|
|
@@ -132,6 +131,7 @@
|
|
|
132
131
|
<sortByType />
|
|
133
132
|
</navigator>
|
|
134
133
|
<panes>
|
|
134
|
+
<pane id="Scope" />
|
|
135
135
|
<pane id="ProjectPane">
|
|
136
136
|
<subPane>
|
|
137
137
|
<PATH>
|
|
@@ -198,7 +198,6 @@
|
|
|
198
198
|
</PATH>
|
|
199
199
|
</subPane>
|
|
200
200
|
</pane>
|
|
201
|
-
<pane id="Scope" />
|
|
202
201
|
</panes>
|
|
203
202
|
</component>
|
|
204
203
|
<component name="PropertiesComponent">
|
|
@@ -354,21 +353,6 @@
|
|
|
354
353
|
<ConfigurationWrapper RunnerId="RubyRunner" />
|
|
355
354
|
<method />
|
|
356
355
|
</configuration>
|
|
357
|
-
<configuration default="true" type="ErlangApplicationRunConfiguration" factoryName="Erlang Application">
|
|
358
|
-
<module name="" />
|
|
359
|
-
<option name="erlFlags" value="" />
|
|
360
|
-
<option name="moduleAndFunction" value="" />
|
|
361
|
-
<option name="name" value="Erlang" />
|
|
362
|
-
<option name="params" value="" />
|
|
363
|
-
<option name="saveOutputToFile" value="false" />
|
|
364
|
-
<option name="showConsoleOnStdErr" value="false" />
|
|
365
|
-
<option name="showConsoleOnStdOut" value="false" />
|
|
366
|
-
<method />
|
|
367
|
-
</configuration>
|
|
368
|
-
<configuration default="true" type="JavaScriptTestRunnerKarma" factoryName="Karma" config-file="">
|
|
369
|
-
<envs />
|
|
370
|
-
<method />
|
|
371
|
-
</configuration>
|
|
372
356
|
<configuration default="true" type="BashConfigurationType" factoryName="Bash">
|
|
373
357
|
<option name="INTERPRETER_OPTIONS" value="" />
|
|
374
358
|
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
|
@@ -380,14 +364,19 @@
|
|
|
380
364
|
<envs />
|
|
381
365
|
<method />
|
|
382
366
|
</configuration>
|
|
383
|
-
<configuration default="true" type="
|
|
367
|
+
<configuration default="true" type="JavaScriptTestRunnerKarma" factoryName="Karma" config-file="">
|
|
368
|
+
<envs />
|
|
369
|
+
<method />
|
|
370
|
+
</configuration>
|
|
371
|
+
<configuration default="true" type="ErlangApplicationRunConfiguration" factoryName="Erlang Application">
|
|
384
372
|
<module name="" />
|
|
385
|
-
<option name="
|
|
386
|
-
<option name="
|
|
373
|
+
<option name="erlFlags" value="" />
|
|
374
|
+
<option name="moduleAndFunction" value="" />
|
|
375
|
+
<option name="name" value="Erlang" />
|
|
376
|
+
<option name="params" value="" />
|
|
387
377
|
<option name="saveOutputToFile" value="false" />
|
|
388
378
|
<option name="showConsoleOnStdErr" value="false" />
|
|
389
379
|
<option name="showConsoleOnStdOut" value="false" />
|
|
390
|
-
<option name="skipDependencies" value="true" />
|
|
391
380
|
<method />
|
|
392
381
|
</configuration>
|
|
393
382
|
<configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
|
|
@@ -422,6 +411,16 @@
|
|
|
422
411
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
|
423
412
|
<method />
|
|
424
413
|
</configuration>
|
|
414
|
+
<configuration default="true" type="RebarEunitRunConfigurationType" factoryName="Erlang Rebar Eunit">
|
|
415
|
+
<module name="" />
|
|
416
|
+
<option name="command" value="eunit" />
|
|
417
|
+
<option name="name" value="Erlang Rebar Eunit" />
|
|
418
|
+
<option name="saveOutputToFile" value="false" />
|
|
419
|
+
<option name="showConsoleOnStdErr" value="false" />
|
|
420
|
+
<option name="showConsoleOnStdOut" value="false" />
|
|
421
|
+
<option name="skipDependencies" value="true" />
|
|
422
|
+
<method />
|
|
423
|
+
</configuration>
|
|
425
424
|
<configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
|
|
426
425
|
<module name="" />
|
|
427
426
|
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
|
@@ -442,9 +441,6 @@
|
|
|
442
441
|
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
|
443
442
|
<method />
|
|
444
443
|
</configuration>
|
|
445
|
-
<configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
|
|
446
|
-
<method />
|
|
447
|
-
</configuration>
|
|
448
444
|
<configuration default="true" type="ErlangUnitRunConfigurationType" factoryName="Erlang Eunit">
|
|
449
445
|
<module name="" />
|
|
450
446
|
<option name="name" value="Erlang" />
|
|
@@ -460,6 +456,9 @@
|
|
|
460
456
|
</option>
|
|
461
457
|
<method />
|
|
462
458
|
</configuration>
|
|
459
|
+
<configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
|
|
460
|
+
<method />
|
|
461
|
+
</configuration>
|
|
463
462
|
<configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
|
|
464
463
|
<predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
|
|
465
464
|
<module name="" />
|
|
@@ -529,7 +528,13 @@
|
|
|
529
528
|
<option name="project" value="LOCAL" />
|
|
530
529
|
<updated>1424536646486</updated>
|
|
531
530
|
</task>
|
|
532
|
-
<
|
|
531
|
+
<task id="LOCAL-00002" summary="Fix issue">
|
|
532
|
+
<created>1424537428290</created>
|
|
533
|
+
<option name="number" value="00002" />
|
|
534
|
+
<option name="project" value="LOCAL" />
|
|
535
|
+
<updated>1424537428290</updated>
|
|
536
|
+
</task>
|
|
537
|
+
<option name="localTasksCounter" value="3" />
|
|
533
538
|
<servers />
|
|
534
539
|
</component>
|
|
535
540
|
<component name="ToolWindowManager">
|
|
@@ -542,7 +547,7 @@
|
|
|
542
547
|
<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" />
|
|
543
548
|
<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" />
|
|
544
549
|
<window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
|
|
545
|
-
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.
|
|
550
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.26416484" sideWeight="0.67013526" order="0" side_tool="false" content_ui="combo" />
|
|
546
551
|
<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" />
|
|
547
552
|
<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" />
|
|
548
553
|
<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" />
|
|
@@ -579,13 +584,46 @@
|
|
|
579
584
|
<TodoPanelSettings />
|
|
580
585
|
</option>
|
|
581
586
|
<MESSAGE value="Adding full path for files" />
|
|
582
|
-
<
|
|
587
|
+
<MESSAGE value="Fix issue" />
|
|
588
|
+
<option name="LAST_COMMIT_MESSAGE" value="Fix issue" />
|
|
583
589
|
</component>
|
|
584
590
|
<component name="XDebuggerManager">
|
|
585
591
|
<breakpoint-manager />
|
|
586
592
|
<watches-manager />
|
|
587
593
|
</component>
|
|
588
594
|
<component name="editorHistoryManager">
|
|
595
|
+
<entry file="file://$PROJECT_DIR$/spec/directory_scanner_spec.rb">
|
|
596
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
597
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="29" max-vertical-offset="525">
|
|
598
|
+
<caret line="23" column="37" selection-start-line="23" selection-start-column="37" selection-end-line="23" selection-end-column="37" />
|
|
599
|
+
<folding />
|
|
600
|
+
</state>
|
|
601
|
+
</provider>
|
|
602
|
+
</entry>
|
|
603
|
+
<entry file="file://$PROJECT_DIR$/lib/file_utils/directory_scanner.rb">
|
|
604
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
605
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="390" max-vertical-offset="1110">
|
|
606
|
+
<caret line="34" column="9" selection-start-line="0" selection-start-column="0" selection-end-line="68" selection-end-column="3" />
|
|
607
|
+
<folding />
|
|
608
|
+
</state>
|
|
609
|
+
</provider>
|
|
610
|
+
</entry>
|
|
611
|
+
<entry file="file://$PROJECT_DIR$/lib/file_utils/version.rb">
|
|
612
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
613
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="15" max-vertical-offset="135">
|
|
614
|
+
<caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
|
|
615
|
+
<folding />
|
|
616
|
+
</state>
|
|
617
|
+
</provider>
|
|
618
|
+
</entry>
|
|
619
|
+
<entry file="file://$PROJECT_DIR$/CHANGES">
|
|
620
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
621
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="100">
|
|
622
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
623
|
+
<folding />
|
|
624
|
+
</state>
|
|
625
|
+
</provider>
|
|
626
|
+
</entry>
|
|
589
627
|
<entry file="file://$PROJECT_DIR$/spec/directory_scanner_spec.rb">
|
|
590
628
|
<provider selected="true" editor-type-id="text-editor">
|
|
591
629
|
<state vertical-scroll-proportion="0.0" vertical-offset="29" max-vertical-offset="525">
|
|
@@ -794,17 +832,9 @@
|
|
|
794
832
|
</state>
|
|
795
833
|
</provider>
|
|
796
834
|
</entry>
|
|
797
|
-
<entry file="file://$PROJECT_DIR$/lib/file_utils/directory_scanner.rb">
|
|
798
|
-
<provider selected="true" editor-type-id="text-editor">
|
|
799
|
-
<state vertical-scroll-proportion="-4.8" vertical-offset="390" max-vertical-offset="1110">
|
|
800
|
-
<caret line="34" column="9" selection-start-line="0" selection-start-column="0" selection-end-line="68" selection-end-column="3" />
|
|
801
|
-
<folding />
|
|
802
|
-
</state>
|
|
803
|
-
</provider>
|
|
804
|
-
</entry>
|
|
805
835
|
<entry file="file://$PROJECT_DIR$/spec/directory_scanner_spec.rb">
|
|
806
836
|
<provider selected="true" editor-type-id="text-editor">
|
|
807
|
-
<state vertical-scroll-proportion="
|
|
837
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="29" max-vertical-offset="525">
|
|
808
838
|
<caret line="23" column="37" selection-start-line="23" selection-start-column="37" selection-end-line="23" selection-end-column="37" />
|
|
809
839
|
<folding />
|
|
810
840
|
</state>
|
|
@@ -818,10 +848,18 @@
|
|
|
818
848
|
</state>
|
|
819
849
|
</provider>
|
|
820
850
|
</entry>
|
|
851
|
+
<entry file="file://$PROJECT_DIR$/lib/file_utils/directory_scanner.rb">
|
|
852
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
853
|
+
<state vertical-scroll-proportion="17.76" vertical-offset="699" max-vertical-offset="1170">
|
|
854
|
+
<caret line="17" column="9" selection-start-line="17" selection-start-column="9" selection-end-line="17" selection-end-column="9" />
|
|
855
|
+
<folding />
|
|
856
|
+
</state>
|
|
857
|
+
</provider>
|
|
858
|
+
</entry>
|
|
821
859
|
<entry file="file://$PROJECT_DIR$/CHANGES">
|
|
822
860
|
<provider selected="true" editor-type-id="text-editor">
|
|
823
|
-
<state vertical-scroll-proportion="0.
|
|
824
|
-
<caret line="
|
|
861
|
+
<state vertical-scroll-proportion="0.8467742" vertical-offset="0" max-vertical-offset="510">
|
|
862
|
+
<caret line="28" column="2" selection-start-line="28" selection-start-column="2" selection-end-line="28" selection-end-column="35" />
|
|
825
863
|
<folding />
|
|
826
864
|
</state>
|
|
827
865
|
</provider>
|
data/CHANGES
CHANGED
|
@@ -11,10 +11,14 @@ class DirectoryScanner
|
|
|
11
11
|
|
|
12
12
|
private
|
|
13
13
|
|
|
14
|
-
def tokenize
|
|
15
|
-
return [] if
|
|
14
|
+
def tokenize val
|
|
15
|
+
return [] if val.nil?
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
if val.kind_of? Array
|
|
18
|
+
val
|
|
19
|
+
else
|
|
20
|
+
val.split(/\s+|,/).reject {|t| t.length == 0}
|
|
21
|
+
end
|
|
18
22
|
end
|
|
19
23
|
|
|
20
24
|
def scan_with_files dir, includes, excludes, files
|
data/lib/file_utils/version.rb
CHANGED