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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/ggev +4 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd2b7b52bd1fcf147cc82c5a51a160ee023c7358b6ff3e4029dfe3d850b6c149
4
- data.tar.gz: b4dbc431f9d16660aa790697458c89d523e4020f6f80139588dda8197ca2147d
3
+ metadata.gz: a94cf580071246d71f5c06d858ad656c5a21639ae8b14994616ea4104ff99c91
4
+ data.tar.gz: 5ff6c9a224a8c141340cc73c2bbf5fdce4760e60ebce4500f7f987fa4a500d68
5
5
  SHA512:
6
- metadata.gz: 5bbcd0cb63e91d38bcc72dce372b3a553acc4b2a96b2fc2e0fe5ef79c88b2b02eaed0cbc3f8633b4e6f8860c32859ec10aa7e430cdb5723889190290a1224ddb
7
- data.tar.gz: 22a26795ae8f03b40a4a71036f8f953c252f96f33496198ca79b4791f7645118a63b21ffd6f423b42597eced456b73c578a01b71e70e2eb7bb844705a0186763
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.3.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-07 00:00:00.000000000 Z
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