file_utils 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.idea/workspace.xml +130 -49
- data/CHANGES +5 -1
- data/lib/file_utils/directory_scanner.rb +2 -2
- data/lib/file_utils/version.rb +1 -1
- data/spec/directory_scanner_spec.rb +3 -3
- 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: c30877d8c28ef4b26efeef06b1e8dedb9a1cf02c
|
4
|
+
data.tar.gz: 7e0bfb59c642e239e517a053fab457cf91b16547
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 043233a3ad2cb18af89436a8c6fcd5c982612d59e388b823568366e576706ae56d2e2cc6edb672fa52585e8b1e523eb8bbcd971274447398136edc6d2ee6ed49
|
7
|
+
data.tar.gz: 7afcf95575fbb06003b1b039ebb0636bb569e093ffef5e89d2366ddfa5a55b1f35f1c3a08686281018a85649b8ac9d2f8f07c3c85cc797316ee64d7acbbf2bfc
|
data/.idea/workspace.xml
CHANGED
@@ -2,6 +2,10 @@
|
|
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="MODIFICATION" beforePath="$PROJECT_DIR$/CHANGES" afterPath="$PROJECT_DIR$/CHANGES" />
|
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
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/file_utils/version.rb" afterPath="$PROJECT_DIR$/lib/file_utils/version.rb" />
|
5
9
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
6
10
|
</list>
|
7
11
|
<ignored path="file_utils.iws" />
|
@@ -30,8 +34,8 @@
|
|
30
34
|
<file leaf-file-name="directory_scanner_spec.rb" pinned="false" current-in-tab="false">
|
31
35
|
<entry file="file://$PROJECT_DIR$/spec/directory_scanner_spec.rb">
|
32
36
|
<provider selected="true" editor-type-id="text-editor">
|
33
|
-
<state vertical-scroll-proportion="-
|
34
|
-
<caret line="
|
37
|
+
<state vertical-scroll-proportion="-12.64" vertical-offset="29" max-vertical-offset="525">
|
38
|
+
<caret line="23" column="37" selection-start-line="23" selection-start-column="37" selection-end-line="23" selection-end-column="37" />
|
35
39
|
<folding />
|
36
40
|
</state>
|
37
41
|
</provider>
|
@@ -40,8 +44,8 @@
|
|
40
44
|
<file leaf-file-name="directory_scanner.rb" pinned="false" current-in-tab="false">
|
41
45
|
<entry file="file://$PROJECT_DIR$/lib/file_utils/directory_scanner.rb">
|
42
46
|
<provider selected="true" editor-type-id="text-editor">
|
43
|
-
<state vertical-scroll-proportion="-
|
44
|
-
<caret line="
|
47
|
+
<state vertical-scroll-proportion="-4.8" vertical-offset="390" max-vertical-offset="1110">
|
48
|
+
<caret line="34" column="9" selection-start-line="0" selection-start-column="0" selection-end-line="68" selection-end-column="3" />
|
45
49
|
<folding />
|
46
50
|
</state>
|
47
51
|
</provider>
|
@@ -60,8 +64,8 @@
|
|
60
64
|
<file leaf-file-name="CHANGES" pinned="false" current-in-tab="true">
|
61
65
|
<entry file="file://$PROJECT_DIR$/CHANGES">
|
62
66
|
<provider selected="true" editor-type-id="text-editor">
|
63
|
-
<state vertical-scroll-proportion="0.
|
64
|
-
<caret line="
|
67
|
+
<state vertical-scroll-proportion="0.6653226" vertical-offset="0" max-vertical-offset="496">
|
68
|
+
<caret line="22" column="16" selection-start-line="22" selection-start-column="16" selection-end-line="22" selection-end-column="16" />
|
65
69
|
<folding />
|
66
70
|
</state>
|
67
71
|
</provider>
|
@@ -86,8 +90,8 @@
|
|
86
90
|
<option name="CHANGED_PATHS">
|
87
91
|
<list>
|
88
92
|
<option value="$PROJECT_DIR$/.ruby-version" />
|
89
|
-
<option value="$PROJECT_DIR$/spec/directory_scanner_spec.rb" />
|
90
93
|
<option value="$PROJECT_DIR$/lib/file_utils/directory_scanner.rb" />
|
94
|
+
<option value="$PROJECT_DIR$/spec/directory_scanner_spec.rb" />
|
91
95
|
<option value="$PROJECT_DIR$/lib/file_utils/version.rb" />
|
92
96
|
<option value="$PROJECT_DIR$/CHANGES" />
|
93
97
|
</list>
|
@@ -418,6 +422,26 @@
|
|
418
422
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
419
423
|
<method />
|
420
424
|
</configuration>
|
425
|
+
<configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
|
426
|
+
<module name="" />
|
427
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
428
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
|
429
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
430
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
431
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
432
|
+
<envs />
|
433
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
434
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
435
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
436
|
+
<COVERAGE_PATTERN ENABLED="true">
|
437
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
438
|
+
</COVERAGE_PATTERN>
|
439
|
+
</EXTENSION>
|
440
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
441
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
|
442
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
443
|
+
<method />
|
444
|
+
</configuration>
|
421
445
|
<configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
|
422
446
|
<method />
|
423
447
|
</configuration>
|
@@ -468,6 +492,12 @@
|
|
468
492
|
<method />
|
469
493
|
</configuration>
|
470
494
|
<configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
|
495
|
+
<node-options />
|
496
|
+
<gulpfile />
|
497
|
+
<tasks />
|
498
|
+
<arguments />
|
499
|
+
<pass-parent-envs>true</pass-parent-envs>
|
500
|
+
<envs />
|
471
501
|
<method />
|
472
502
|
</configuration>
|
473
503
|
<list size="4">
|
@@ -477,12 +507,11 @@
|
|
477
507
|
<item index="3" class="java.lang.String" itemvalue="RSpec.directory_scanner_spec" />
|
478
508
|
</list>
|
479
509
|
<recent_temporary>
|
480
|
-
<list size="
|
510
|
+
<list size="4">
|
481
511
|
<item index="0" class="java.lang.String" itemvalue="RSpec.directory_scanner_spec" />
|
482
512
|
<item index="1" class="java.lang.String" itemvalue="RSpec.DirectoryScanner should apply 'includes' filter" />
|
483
513
|
<item index="2" class="java.lang.String" itemvalue="RSpec.DirectoryScanner should return files in particular dir" />
|
484
514
|
<item index="3" class="java.lang.String" itemvalue="RSpec.DirectoryScanner" />
|
485
|
-
<item index="4" class="java.lang.String" itemvalue="RSpec.directory_scanner_spec" />
|
486
515
|
</list>
|
487
516
|
</recent_temporary>
|
488
517
|
</component>
|
@@ -505,32 +534,32 @@
|
|
505
534
|
</component>
|
506
535
|
<component name="ToolWindowManager">
|
507
536
|
<frame x="39" y="23" width="1401" height="877" extended-state="6" />
|
508
|
-
<editor active="
|
537
|
+
<editor active="false" />
|
509
538
|
<layout>
|
510
|
-
<window_info id="Changes" active="
|
511
|
-
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3290653" sideWeight="0.5" order="
|
539
|
+
<window_info id="Changes" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3290653" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
540
|
+
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3290653" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
|
541
|
+
<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" />
|
512
542
|
<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" />
|
513
|
-
<window_info id="
|
514
|
-
<window_info id="
|
543
|
+
<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
|
+
<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.26048565" sideWeight="0.67013526" order="0" side_tool="false" content_ui="combo" />
|
515
546
|
<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
|
+
<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" />
|
516
548
|
<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" />
|
517
|
-
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3290653" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
518
|
-
<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" />
|
519
|
-
<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" />
|
520
|
-
<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="-1" side_tool="false" content_ui="tabs" />
|
521
|
-
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.2531273" sideWeight="0.67013526" order="0" side_tool="false" content_ui="combo" />
|
522
|
-
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3298647" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
523
|
-
<window_info id="Tail" 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" />
|
524
549
|
<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" />
|
525
550
|
<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" />
|
526
|
-
<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" />
|
527
551
|
<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" />
|
552
|
+
<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" />
|
528
553
|
<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" />
|
554
|
+
<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" />
|
555
|
+
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3290653" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
529
556
|
<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" />
|
530
557
|
<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" />
|
531
558
|
<window_info id="Jenkins" 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" />
|
532
|
-
<window_info id="
|
559
|
+
<window_info id="Tail" 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" />
|
560
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3298647" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
533
561
|
<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" />
|
562
|
+
<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" />
|
534
563
|
</layout>
|
535
564
|
</component>
|
536
565
|
<component name="Vcs.Log.UiProperties">
|
@@ -557,11 +586,74 @@
|
|
557
586
|
<watches-manager />
|
558
587
|
</component>
|
559
588
|
<component name="editorHistoryManager">
|
589
|
+
<entry file="file://$PROJECT_DIR$/spec/directory_scanner_spec.rb">
|
590
|
+
<provider selected="true" editor-type-id="text-editor">
|
591
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="29" max-vertical-offset="525">
|
592
|
+
<caret line="13" column="0" selection-start-line="13" selection-start-column="0" selection-end-line="13" selection-end-column="0" />
|
593
|
+
<folding />
|
594
|
+
</state>
|
595
|
+
</provider>
|
596
|
+
</entry>
|
597
|
+
<entry file="file://$PROJECT_DIR$/lib/file_utils/directory_scanner.rb">
|
598
|
+
<provider selected="true" editor-type-id="text-editor">
|
599
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="390" max-vertical-offset="1110">
|
600
|
+
<caret line="26" column="22" selection-start-line="26" selection-start-column="22" selection-end-line="26" selection-end-column="22" />
|
601
|
+
<folding />
|
602
|
+
</state>
|
603
|
+
</provider>
|
604
|
+
</entry>
|
605
|
+
<entry file="file://$PROJECT_DIR$/lib/file_utils/version.rb">
|
606
|
+
<provider selected="true" editor-type-id="text-editor">
|
607
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="15" max-vertical-offset="135">
|
608
|
+
<caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
|
609
|
+
<folding />
|
610
|
+
</state>
|
611
|
+
</provider>
|
612
|
+
</entry>
|
613
|
+
<entry file="file://$PROJECT_DIR$/CHANGES">
|
614
|
+
<provider selected="true" editor-type-id="text-editor">
|
615
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="100">
|
616
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
617
|
+
<folding />
|
618
|
+
</state>
|
619
|
+
</provider>
|
620
|
+
</entry>
|
621
|
+
<entry file="file://$PROJECT_DIR$/spec/directory_scanner_spec.rb">
|
622
|
+
<provider selected="true" editor-type-id="text-editor">
|
623
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="29" max-vertical-offset="525">
|
624
|
+
<caret line="13" column="0" selection-start-line="13" selection-start-column="0" selection-end-line="13" selection-end-column="0" />
|
625
|
+
<folding />
|
626
|
+
</state>
|
627
|
+
</provider>
|
628
|
+
</entry>
|
629
|
+
<entry file="file://$PROJECT_DIR$/lib/file_utils/directory_scanner.rb">
|
630
|
+
<provider selected="true" editor-type-id="text-editor">
|
631
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="390" max-vertical-offset="1110">
|
632
|
+
<caret line="26" column="22" selection-start-line="26" selection-start-column="22" selection-end-line="26" selection-end-column="22" />
|
633
|
+
<folding />
|
634
|
+
</state>
|
635
|
+
</provider>
|
636
|
+
</entry>
|
637
|
+
<entry file="file://$PROJECT_DIR$/lib/file_utils/version.rb">
|
638
|
+
<provider selected="true" editor-type-id="text-editor">
|
639
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="15" max-vertical-offset="135">
|
640
|
+
<caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
|
641
|
+
<folding />
|
642
|
+
</state>
|
643
|
+
</provider>
|
644
|
+
</entry>
|
645
|
+
<entry file="file://$PROJECT_DIR$/CHANGES">
|
646
|
+
<provider selected="true" editor-type-id="text-editor">
|
647
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="100">
|
648
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
649
|
+
<folding />
|
650
|
+
</state>
|
651
|
+
</provider>
|
652
|
+
</entry>
|
560
653
|
<entry file="file://$PROJECT_DIR$/lib/file_utils/file_utils.rb">
|
561
654
|
<provider selected="true" editor-type-id="text-editor">
|
562
655
|
<state vertical-scroll-proportion="0.0" vertical-offset="60" max-vertical-offset="1215">
|
563
656
|
<caret line="4" column="16" selection-start-line="4" selection-start-column="16" selection-end-line="4" selection-end-column="16" />
|
564
|
-
<folding />
|
565
657
|
</state>
|
566
658
|
</provider>
|
567
659
|
</entry>
|
@@ -585,20 +677,18 @@
|
|
585
677
|
<provider selected="true" editor-type-id="text-editor">
|
586
678
|
<state vertical-scroll-proportion="0.0" vertical-offset="75" max-vertical-offset="585">
|
587
679
|
<caret line="5" column="27" selection-start-line="5" selection-start-column="27" selection-end-line="5" selection-end-column="27" />
|
588
|
-
<folding />
|
589
680
|
</state>
|
590
681
|
</provider>
|
591
682
|
</entry>
|
592
683
|
<entry file="file://$PROJECT_DIR$/README.md">
|
684
|
+
<provider editor-type-id="MarkdownPreviewEditor">
|
685
|
+
<state />
|
686
|
+
</provider>
|
593
687
|
<provider selected="true" editor-type-id="text-editor">
|
594
688
|
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="135">
|
595
689
|
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
596
|
-
<folding />
|
597
690
|
</state>
|
598
691
|
</provider>
|
599
|
-
<provider editor-type-id="MarkdownPreviewEditor">
|
600
|
-
<state />
|
601
|
-
</provider>
|
602
692
|
</entry>
|
603
693
|
<entry file="file://$PROJECT_DIR$/CHANGES">
|
604
694
|
<provider selected="true" editor-type-id="text-editor">
|
@@ -612,7 +702,6 @@
|
|
612
702
|
<provider selected="true" editor-type-id="text-editor">
|
613
703
|
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90">
|
614
704
|
<caret line="0" column="10" selection-start-line="0" selection-start-column="10" selection-end-line="0" selection-end-column="10" />
|
615
|
-
<folding />
|
616
705
|
</state>
|
617
706
|
</provider>
|
618
707
|
</entry>
|
@@ -620,7 +709,6 @@
|
|
620
709
|
<provider selected="true" editor-type-id="text-editor">
|
621
710
|
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90">
|
622
711
|
<caret line="0" column="5" selection-start-line="0" selection-start-column="5" selection-end-line="0" selection-end-column="5" />
|
623
|
-
<folding />
|
624
712
|
</state>
|
625
713
|
</provider>
|
626
714
|
</entry>
|
@@ -636,7 +724,6 @@
|
|
636
724
|
<provider selected="true" editor-type-id="text-editor">
|
637
725
|
<state vertical-scroll-proportion="0.0" vertical-offset="15" max-vertical-offset="105">
|
638
726
|
<caret line="1" column="0" selection-start-line="1" selection-start-column="0" selection-end-line="1" selection-end-column="0" />
|
639
|
-
<folding />
|
640
727
|
</state>
|
641
728
|
</provider>
|
642
729
|
</entry>
|
@@ -658,20 +745,18 @@
|
|
658
745
|
<provider selected="true" editor-type-id="text-editor">
|
659
746
|
<state vertical-scroll-proportion="0.0" vertical-offset="15" max-vertical-offset="105">
|
660
747
|
<caret line="1" column="0" selection-start-line="1" selection-start-column="0" selection-end-line="1" selection-end-column="0" />
|
661
|
-
<folding />
|
662
748
|
</state>
|
663
749
|
</provider>
|
664
750
|
</entry>
|
665
751
|
<entry file="file://$PROJECT_DIR$/README.md">
|
752
|
+
<provider editor-type-id="MarkdownPreviewEditor">
|
753
|
+
<state />
|
754
|
+
</provider>
|
666
755
|
<provider selected="true" editor-type-id="text-editor">
|
667
756
|
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="0">
|
668
757
|
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
669
|
-
<folding />
|
670
758
|
</state>
|
671
759
|
</provider>
|
672
|
-
<provider editor-type-id="MarkdownPreviewEditor">
|
673
|
-
<state />
|
674
|
-
</provider>
|
675
760
|
</entry>
|
676
761
|
<entry file="file://$PROJECT_DIR$/Gemfile">
|
677
762
|
<provider selected="true" editor-type-id="text-editor">
|
@@ -685,7 +770,6 @@
|
|
685
770
|
<provider selected="true" editor-type-id="text-editor">
|
686
771
|
<state vertical-scroll-proportion="0.0" vertical-offset="75" max-vertical-offset="585">
|
687
772
|
<caret line="5" column="27" selection-start-line="5" selection-start-column="27" selection-end-line="5" selection-end-column="27" />
|
688
|
-
<folding />
|
689
773
|
</state>
|
690
774
|
</provider>
|
691
775
|
</entry>
|
@@ -693,7 +777,6 @@
|
|
693
777
|
<provider selected="true" editor-type-id="text-editor">
|
694
778
|
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90">
|
695
779
|
<caret line="0" column="10" selection-start-line="0" selection-start-column="10" selection-end-line="0" selection-end-column="10" />
|
696
|
-
<folding />
|
697
780
|
</state>
|
698
781
|
</provider>
|
699
782
|
</entry>
|
@@ -701,7 +784,6 @@
|
|
701
784
|
<provider selected="true" editor-type-id="text-editor">
|
702
785
|
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90">
|
703
786
|
<caret line="0" column="3" selection-start-line="0" selection-start-column="3" selection-end-line="0" selection-end-column="3" />
|
704
|
-
<folding />
|
705
787
|
</state>
|
706
788
|
</provider>
|
707
789
|
</entry>
|
@@ -709,22 +791,21 @@
|
|
709
791
|
<provider selected="true" editor-type-id="text-editor">
|
710
792
|
<state vertical-scroll-proportion="0.12738854" vertical-offset="0" max-vertical-offset="1215">
|
711
793
|
<caret line="4" column="16" selection-start-line="4" selection-start-column="16" selection-end-line="4" selection-end-column="16" />
|
712
|
-
<folding />
|
713
794
|
</state>
|
714
795
|
</provider>
|
715
796
|
</entry>
|
716
|
-
<entry file="file://$PROJECT_DIR$/
|
797
|
+
<entry file="file://$PROJECT_DIR$/lib/file_utils/directory_scanner.rb">
|
717
798
|
<provider selected="true" editor-type-id="text-editor">
|
718
|
-
<state vertical-scroll-proportion="-
|
719
|
-
<caret line="
|
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" />
|
720
801
|
<folding />
|
721
802
|
</state>
|
722
803
|
</provider>
|
723
804
|
</entry>
|
724
|
-
<entry file="file://$PROJECT_DIR$/
|
805
|
+
<entry file="file://$PROJECT_DIR$/spec/directory_scanner_spec.rb">
|
725
806
|
<provider selected="true" editor-type-id="text-editor">
|
726
|
-
<state vertical-scroll-proportion="-
|
727
|
-
<caret line="
|
807
|
+
<state vertical-scroll-proportion="-12.64" vertical-offset="29" max-vertical-offset="525">
|
808
|
+
<caret line="23" column="37" selection-start-line="23" selection-start-column="37" selection-end-line="23" selection-end-column="37" />
|
728
809
|
<folding />
|
729
810
|
</state>
|
730
811
|
</provider>
|
@@ -739,8 +820,8 @@
|
|
739
820
|
</entry>
|
740
821
|
<entry file="file://$PROJECT_DIR$/CHANGES">
|
741
822
|
<provider selected="true" editor-type-id="text-editor">
|
742
|
-
<state vertical-scroll-proportion="0.
|
743
|
-
<caret line="
|
823
|
+
<state vertical-scroll-proportion="0.6653226" vertical-offset="0" max-vertical-offset="496">
|
824
|
+
<caret line="22" column="16" selection-start-line="22" selection-start-column="16" selection-end-line="22" selection-end-column="16" />
|
744
825
|
<folding />
|
745
826
|
</state>
|
746
827
|
</provider>
|
data/CHANGES
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
class DirectoryScanner
|
2
|
-
def scan dir, params={}
|
2
|
+
def scan dir, normalize=false, params={}
|
3
3
|
dir = File.expand_path(dir)
|
4
4
|
|
5
5
|
files = []
|
6
6
|
|
7
7
|
scan_with_files dir, tokenize(params[:includes]), tokenize(params[:excludes]), files
|
8
8
|
|
9
|
-
normalize(files, dir)
|
9
|
+
normalize ? normalize(files, dir): files
|
10
10
|
end
|
11
11
|
|
12
12
|
private
|
data/lib/file_utils/version.rb
CHANGED
@@ -9,19 +9,19 @@ end
|
|
9
9
|
describe DirectoryScanner do
|
10
10
|
|
11
11
|
it "should return files in particular dir" do
|
12
|
-
result = subject.scan "lib"
|
12
|
+
result = subject.scan "lib", true
|
13
13
|
|
14
14
|
result.should include "file_utils/version.rb"
|
15
15
|
end
|
16
16
|
|
17
17
|
it "should apply 'includes' filter" do
|
18
|
-
result = subject.scan ".", :includes => ".md"
|
18
|
+
result = subject.scan ".", true, :includes => ".md"
|
19
19
|
|
20
20
|
result.should include "README.md"
|
21
21
|
end
|
22
22
|
|
23
23
|
it "should apply 'excludes' filter" do
|
24
|
-
result = subject.scan ".", :excludes => ".md"
|
24
|
+
result = subject.scan ".", true, :excludes => ".md"
|
25
25
|
|
26
26
|
result.should_not include "README.md"
|
27
27
|
end
|