sink3 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sink3/main.rb +6 -11
- data/lib/sink3/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf1b237eda4a1a43f23fbba25471c652201aa05392bc1e292812585f7a3fc5e2
|
4
|
+
data.tar.gz: e689696ad585165583c2c56a17d653071bec6f6b363b13db0d006f8908cd2e8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdf2ddf9eb3b8a056d2acf22481a64ef0e045579ad705ea219c4102b62f9a93a3b30f229776e85f662d715657b284f9361f1d7db4fd2ac8938247e9b0fd9a04a
|
7
|
+
data.tar.gz: 5052a3ad6ed84f10ba6a241cf506d0a7daa04ffc0a166710b2ea6db774becdc557d2ef4a8dd98c80512387499394defd18c1d0f906130bf46d23b5fc0767c240
|
data/lib/sink3/main.rb
CHANGED
@@ -29,18 +29,13 @@ module Sink3
|
|
29
29
|
prefix = nil
|
30
30
|
[paths].flatten.each do |path|
|
31
31
|
path = Pathname.new(path)
|
32
|
-
|
33
32
|
raise "specified path does not exist" unless path.exist?
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
puts "prefix is not set" if Sink3.config.verbose
|
41
|
-
end
|
42
|
-
end
|
43
|
-
|
33
|
+
|
34
|
+
if path.relative? || Sink3.config.skip_full_path
|
35
|
+
prefix = nil
|
36
|
+
else
|
37
|
+
path = path.realdirpath
|
38
|
+
end
|
44
39
|
Sink3::PathCrawler.new(path, prefix).start
|
45
40
|
end
|
46
41
|
end
|
data/lib/sink3/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sink3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fabrizio Regini
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-v1
|