ggev 0.3.0 → 0.4.0
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/bin/ggev +4 -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: a94cf580071246d71f5c06d858ad656c5a21639ae8b14994616ea4104ff99c91
|
4
|
+
data.tar.gz: 5ff6c9a224a8c141340cc73c2bbf5fdce4760e60ebce4500f7f987fa4a500d68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3676a322d02535dcb310b7c0ee3ebafbf1561a2207dcb7aab19c67dc603e478fb6d0e962aa446e8f78813bf9e43da074e7b78ec1da37a5156d5b108f93e95d4
|
7
|
+
data.tar.gz: 6da572ce3b887e00afc4404a27de67e631d8c6d044c12ad160ee82ee1c4af31fe4e3532545653e30d30817e40e626c4be5d1ebe74b4fc826128a346e267c165c
|
data/bin/ggev
CHANGED
@@ -46,6 +46,8 @@ end
|
|
46
46
|
cmd = ARGV[0]
|
47
47
|
ARGV.slice!(0)
|
48
48
|
|
49
|
+
puts "test for new version"
|
50
|
+
|
49
51
|
## Process commands
|
50
52
|
if cmd=="init"
|
51
53
|
if File.exists?(DEFAULT_CONFIG_FILE)
|
@@ -116,7 +118,7 @@ if cmd=="push"
|
|
116
118
|
cache_file_path = "#{mod_path}/#{file_name}"
|
117
119
|
|
118
120
|
puts "#{origin_file_path} =(enc)=> #{cache_file_path} ..."
|
119
|
-
must_run_cmd("openssl enc -#{DEFAULT_ENC_CIPHER} -base64 -k #{cfg["encrypt"]["key"]} -in #{origin_file_path} -out #{cache_file_path}")
|
121
|
+
must_run_cmd("openssl enc -#{DEFAULT_ENC_CIPHER} -md sha256 -base64 -k #{cfg["encrypt"]["key"]} -in #{origin_file_path} -out #{cache_file_path}")
|
120
122
|
}
|
121
123
|
}
|
122
124
|
|
@@ -182,7 +184,7 @@ if cmd=="pull"
|
|
182
184
|
cache_file_path = "#{mod_path}/#{file_name}"
|
183
185
|
|
184
186
|
puts "#{cache_file_path} =(enc)=> #{origin_file_path} ..."
|
185
|
-
must_run_cmd("openssl enc -#{cipher} -base64 -k #{cfg["encrypt"]["key"]} -d -in #{cache_file_path} -out #{origin_file_path}")
|
187
|
+
must_run_cmd("openssl enc -#{cipher} -md sha256 -base64 -k #{cfg["encrypt"]["key"]} -d -in #{cache_file_path} -out #{origin_file_path}")
|
186
188
|
}
|
187
189
|
}
|
188
190
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ggev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- supergui
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Manage personal ENV
|
14
14
|
email: supergui@live.cn
|