sanky-pf 0.0.2 → 0.0.3
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/lib/sanky/pathfinder/finder.rb +1 -1
- data/lib/sanky/pathfinder/version.rb +1 -1
- data/test/test_finder.rb +6 -2
- metadata +1 -3
- data/sanky-pf-0.0.1.gem +0 -0
- data/tags +0 -27
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b5fcb6f6e972de40fffd47d0f72cc17ccfe2efba
|
|
4
|
+
data.tar.gz: 7212a2f12667bb4d5a571a4a4e9b131309777426
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 37c6694e8b762493d0a23cad1e5c00dd743f8ae842582cac33cda55c1c49d2219f9c254ccbe0ac04b56f26ebeadc093e19995e96f530091c40965dd1e020030e
|
|
7
|
+
data.tar.gz: 7e120ed6c4f8507fbeb65d4f60ca34c4b4b78f4d4f25f4d0820e682268d24a4087b4431c72800eec032cd5636d09a1230e0be1e9260a7487850743d6e8c84cd7
|
|
@@ -15,7 +15,7 @@ module Sanky
|
|
|
15
15
|
@arguments.map! do |original|
|
|
16
16
|
# subsitute windows backslashes for forwardslashes and strip whitespace
|
|
17
17
|
original = original.strip.gsub(/\\/, "/")
|
|
18
|
-
original.sub!(/L:/, "/Volumes/
|
|
18
|
+
original.sub!(/L:/, "/Volumes/SankyNet Drive")
|
|
19
19
|
original.sub!(/Z:/, "/Volumes/Sanky Direct Drive/Sanky Shared")
|
|
20
20
|
original.sub!(/Z:/, "/Volumes/Sanky Direct Drive/Sanky Shared")
|
|
21
21
|
original.sub!(/smb:\/\/sankycomserver/, "/Volumes")
|
data/test/test_finder.rb
CHANGED
|
@@ -6,7 +6,10 @@ class TestFinder < Test::Unit::TestCase
|
|
|
6
6
|
|
|
7
7
|
context "finder" do
|
|
8
8
|
setup do
|
|
9
|
-
@args = [
|
|
9
|
+
@args = [
|
|
10
|
+
'/test/doc1.txt', 'test/doc2.txt', 'volumes/doc3.txt', '/Volumes/doc4.txt',
|
|
11
|
+
"L:\\CCBQ\\0-HTML-CCBQ\\Email\\2013\\2013-12-11_CCBQ_Holiday_Appeal-2"
|
|
12
|
+
]
|
|
10
13
|
@finder = Sanky::PathFinder::Finder.new(@args)
|
|
11
14
|
end
|
|
12
15
|
|
|
@@ -22,7 +25,8 @@ class TestFinder < Test::Unit::TestCase
|
|
|
22
25
|
'/Volumes/test/doc1.txt',
|
|
23
26
|
'/Volumes/test/doc2.txt',
|
|
24
27
|
'/Volumes/volumes/doc3.txt',
|
|
25
|
-
'/Volumes/doc4.txt'
|
|
28
|
+
'/Volumes/doc4.txt',
|
|
29
|
+
'/Volumes/SankyNet Drive/CCBQ/0-HTML-CCBQ/Email/2013/2013-12-11_CCBQ_Holiday_Appeal-2'
|
|
26
30
|
]
|
|
27
31
|
|
|
28
32
|
assert_equal expected_results, @finder.convert.to_s
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sanky-pf
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matt Ryan
|
|
@@ -60,9 +60,7 @@ files:
|
|
|
60
60
|
- lib/sanky/pathfinder/runner.rb
|
|
61
61
|
- lib/sanky/pathfinder/version.rb
|
|
62
62
|
- README.md
|
|
63
|
-
- sanky-pf-0.0.1.gem
|
|
64
63
|
- sanky-pf.gemspec
|
|
65
|
-
- tags
|
|
66
64
|
- test/test_finder.rb
|
|
67
65
|
- test/test_options.rb
|
|
68
66
|
homepage: https://github.com/sankynet/sankypf
|
data/sanky-pf-0.0.1.gem
DELETED
|
Binary file
|
data/tags
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
|
|
2
|
-
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
|
|
3
|
-
!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/
|
|
4
|
-
!_TAG_PROGRAM_NAME Exuberant Ctags //
|
|
5
|
-
!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
|
|
6
|
-
!_TAG_PROGRAM_VERSION 5.8 //
|
|
7
|
-
Finder lib/sanky/pathfinder/finder.rb /^ class Finder$/;" c class:Sanky.PathFinder
|
|
8
|
-
Options lib/sanky/pathfinder/options.rb /^ class Options$/;" c class:Sanky.PathFinder
|
|
9
|
-
PathFinder lib/sanky/pathfinder/finder.rb /^ module PathFinder$/;" m class:Sanky
|
|
10
|
-
PathFinder lib/sanky/pathfinder/options.rb /^ module PathFinder$/;" m class:Sanky
|
|
11
|
-
PathFinder lib/sanky/pathfinder/runner.rb /^ module PathFinder$/;" m class:Sanky
|
|
12
|
-
PathFinder lib/sanky/pathfinder/version.rb /^ module PathFinder$/;" m class:Sanky
|
|
13
|
-
Runner lib/sanky/pathfinder/runner.rb /^ class Runner$/;" c class:Sanky.PathFinder
|
|
14
|
-
Sanky lib/sanky/pathfinder/finder.rb /^module Sanky$/;" m
|
|
15
|
-
Sanky lib/sanky/pathfinder/options.rb /^module Sanky$/;" m
|
|
16
|
-
Sanky lib/sanky/pathfinder/runner.rb /^module Sanky$/;" m
|
|
17
|
-
Sanky lib/sanky/pathfinder/version.rb /^module Sanky$/;" m
|
|
18
|
-
TestFinder test/test_finder.rb /^class TestFinder < Test::Unit::TestCase$/;" c
|
|
19
|
-
TestOptions test/test_options.rb /^class TestOptions < Test::Unit::TestCase$/;" c
|
|
20
|
-
convert lib/sanky/pathfinder/finder.rb /^ def convert$/;" f class:Sanky.PathFinder.Finder
|
|
21
|
-
initialize lib/sanky/pathfinder/finder.rb /^ def initialize(arguments)$/;" f class:Sanky.PathFinder.Finder
|
|
22
|
-
initialize lib/sanky/pathfinder/options.rb /^ def initialize(argv)$/;" f class:Sanky.PathFinder.Options
|
|
23
|
-
initialize lib/sanky/pathfinder/runner.rb /^ def initialize(argv)$/;" f class:Sanky.PathFinder.Runner
|
|
24
|
-
open lib/sanky/pathfinder/finder.rb /^ def open$/;" f class:Sanky.PathFinder.Finder
|
|
25
|
-
parse lib/sanky/pathfinder/options.rb /^ def parse(argv)$/;" f class:Sanky.PathFinder.Options
|
|
26
|
-
run lib/sanky/pathfinder/runner.rb /^ def run$/;" f class:Sanky.PathFinder.Runner
|
|
27
|
-
to_s lib/sanky/pathfinder/finder.rb /^ def to_s$/;" f class:Sanky.PathFinder.Finder
|