VictoriaFreSh 2020.7.26 → 2020.7.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/victoriafresh.rb +10 -2
- 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: '068f826ae2bb63aeeb9102b4e3b4a73cab1a09b439ffcf625f8c178a67f4a933'
|
4
|
+
data.tar.gz: a4ed53b45631676cb9df08fcaae80095de3308f95bdae33f75977e3011dc7b16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 582549c2df3debdab3a810586d684c4e2f2edfcca2d3284011c4b5a4d78c82c9c24eb8acde9ce7e32135132b59f0b3e3943f6e427a16ab1bf1e1dd788547c964
|
7
|
+
data.tar.gz: 6382fad74196eaaaaf9c1569618a505fadbfc6dbb1ec00cbc71b7aa3285fefe0f729284d128c5138f006b7134eaae724d282b09450fee097af07b21ca13ca91b
|
data/lib/victoriafresh.rb
CHANGED
@@ -23,8 +23,16 @@ class VictoriaFresh
|
|
23
23
|
|
24
24
|
def makeDirectory(pathPrefix, packagedFile) #创建目录
|
25
25
|
puts 'mkdir' #Debug
|
26
|
-
|
27
|
-
|
26
|
+
|
27
|
+
pathToMake=File.join(pathPrefix, packagedFile.name)
|
28
|
+
|
29
|
+
puts pathToMake #Debug.
|
30
|
+
|
31
|
+
if (Dir.exist?(pathToMake)) #目录已经存在
|
32
|
+
else #目录 不存在
|
33
|
+
Dir.mkdir(pathToMake) #=> 0
|
34
|
+
end #if (Dir.exist?(pathToMake)) #目录已经存在
|
35
|
+
|
28
36
|
|
29
37
|
end #makeDirectory(pathPrefix, packagedFile) #创建目录
|
30
38
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: VictoriaFreSh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2020.7.
|
4
|
+
version: 2020.7.27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hxcan Cai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: beefcake
|