ZReviewTender 1.2.4 → 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 +11 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ac1713093b3b22b1f08236ec02cb0a121e49c6cae6cd2522bcccbe8cbd6483c
4
- data.tar.gz: deee41c0761e5338f7bcd96d22a72407f2d46adeaa39d9ce17b96283475682e2
3
+ metadata.gz: c197ecf59b28ef67df11ec8795a6cd740e206211b072325dec5b02b9c1bec232
4
+ data.tar.gz: bd8ecd956b8e2c528a5a6d19dbf1f6c60be0be6e9fe0ccfeab2a3e6f840b2f2c
5
5
  SHA512:
6
- metadata.gz: 8b5ee795276aeffeddbd2bbd4ec64e97a75af99e7e729b5550aba39c8593fc65efc32ba0f2bdc33840fbb68ac6d19871a8ac7db1fde6e19c354d544eb3f2c66a
7
- data.tar.gz: ad0ba15c85da2a6759f5af93e8f9080d7944be9c91201f2c30ca8b4d19fda3d40b4d8679ca0e93b509f93cab259bb574275a78ee84d7a69032febd442d99a10a
6
+ metadata.gz: 9a761827f14d965bf732955a2df5aad4efc8ab3f6d7a2045c212cbecce8479192415f1f47ef4ffcad306fabc45854ab56eed43422425025ed43cfcd2a2768ee2
7
+ data.tar.gz: df78adf8c930f754031658063b8f8e8a8d7adb3aa56697c7e8e9fe8e3ea23efc2a12e12f5e05773741e408627d6167740f468399c40b0577a01fb16156703713
data/.version CHANGED
@@ -1 +1 @@
1
- 1.2.4
1
+ 1.2.5
data/bin/ZReviewTender CHANGED
@@ -126,7 +126,17 @@ class Main
126
126
  end
127
127
  end
128
128
 
129
- 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
130
140
  version = Version.new
131
141
  puts "Current ZReviewTender Version: #{version.getLocalVersion()}"
132
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.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - ZhgChgLi