ZReviewTender 1.2.2 → 1.2.5

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/.version +1 -1
  3. data/bin/ZReviewTender +15 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 131462e31f15d696950ab84bf257a44472c2320af035bba7ed32d16436e0aff8
4
- data.tar.gz: dda0f41e2a517dd358982afff2ce0bb8339c66a33e889a182ea77a8980b8f06f
3
+ metadata.gz: c197ecf59b28ef67df11ec8795a6cd740e206211b072325dec5b02b9c1bec232
4
+ data.tar.gz: bd8ecd956b8e2c528a5a6d19dbf1f6c60be0be6e9fe0ccfeab2a3e6f840b2f2c
5
5
  SHA512:
6
- metadata.gz: 00cb1b8fd0f5722893256663377f3190068c6a24fdb36e9d386744659877d863a140bf3a76d0351de73dfc89650c1fa7539a064cd65a6dc5b0d579f8c251cfb1
7
- data.tar.gz: c3e6bab4fc3082f32dc0701644098fd4160070539e9809f524bd4d116ec877d2e5048c073989760cdb028ecf29d3e1785917e00dc36876448e2d132da2e7f240
6
+ metadata.gz: 9a761827f14d965bf732955a2df5aad4efc8ab3f6d7a2045c212cbecce8479192415f1f47ef4ffcad306fabc45854ab56eed43422425025ed43cfcd2a2768ee2
7
+ data.tar.gz: df78adf8c930f754031658063b8f8e8a8d7adb3aa56697c7e8e9fe8e3ea23efc2a12e12f5e05773741e408627d6167740f468399c40b0577a01fb16156703713
data/.version CHANGED
@@ -1 +1 @@
1
- 1.2.2
1
+ 1.2.5
data/bin/ZReviewTender CHANGED
@@ -91,6 +91,10 @@ class Main
91
91
  appleDestExampleYML = "#{basePath}/#{defaultConfigDirName}/#{defaultAppleConfigFileName}"
92
92
  androidDestExampleYML = "#{basePath}/#{defaultConfigDirName}/#{defaultAndroidConfigFileName}"
93
93
 
94
+ if !File.exists?("#{basePath}/latestCheckTimestamp/.keep")
95
+ File.open("#{basePath}/latestCheckTimestamp/.keep", 'w') { |file| file.write("") }
96
+ end
97
+ #
94
98
  if File.exists?(appleSourceExampleYML)
95
99
  if File.exists?(appleDestExampleYML)
96
100
  puts "Failed! Config YML File Exists: #{appleDestExampleYML}"
@@ -122,7 +126,17 @@ class Main
122
126
  end
123
127
  end
124
128
 
125
- opts.on('-v', '--versopm', 'show current version of ZReivewTender') do
129
+ opts.on('-d', '--delete', 'delete latest check timestamp log file.(factory reset)') do
130
+ FileUtils.rm_rf("#{basePath}/latestCheckTimestamp/")
131
+ Helper.createDirIfNotExist("#{basePath}/latestCheckTimestamp/")
132
+ if !File.exists?("#{basePath}/latestCheckTimestamp/.keep")
133
+ File.open("#{basePath}/latestCheckTimestamp/.keep", 'w') { |file| file.write("") }
134
+ end
135
+
136
+ puts "Clean all latest check timestamp log file in /latestCheckTimestamp success."
137
+ end
138
+
139
+ opts.on('-v', '--version', 'show current version of ZReivewTender') do
126
140
  version = Version.new
127
141
  puts "Current ZReviewTender Version: #{version.getLocalVersion()}"
128
142
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ZReviewTender
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - ZhgChgLi