mfa 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/Onafile +8 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d7bc0764c21856981c1deb52d9ea9291ee4d5c3628079ab27fa6de63c3b9dbdc
4
- data.tar.gz: '01822c792f34f998d6322c04f452bc43ef58b96d861121fcd1cdfb00b25f6831'
3
+ metadata.gz: 8f42cb637e6a19fa805b2a7102828a494d418b12a77509463693d1b15ac86196
4
+ data.tar.gz: 4ab7dfadcbd42e4666e5d098bd96ee1ecf76f54b6b82ae1bfe60288a6e86b746
5
5
  SHA512:
6
- metadata.gz: c4ae2c65cf6da2b8785a156ee96a8e993a42ee232d425079ed4843bd85dbde5c1c4b1fbe616a098a50b71cd275816be0498c6327e8cc16d40b4a8406ec6ce3d2
7
- data.tar.gz: 4ad84fa28c1bdc8ecbeef52b12350431e6614b79499fb58a54c03fe49e742789f80cfdc154387deeff5736330a84e3742ea84ab99c0853b468747392185884de
6
+ metadata.gz: b7cad219f7f7e8db2976952bd3a2b270836ef3b3d6cf1393b60ec29358631866b144f735f91dfaeffe6ed355946d2ecab23146a2b2072d41a4674aa8f7444d19
7
+ data.tar.gz: 7e2c5b9ee708a741904e50ee51e5ade00c211d57a71baad0c587c82fc1ce6246d106c909d4bcba737b458c5af17a46bf6f6e3662df836012fcd96611c12d44f2
data/Onafile CHANGED
@@ -101,8 +101,10 @@ Ona.action(
101
101
  command = Command::DeleteKeychain.new
102
102
  command.keychain = KEYCHAIN
103
103
  print_command command.to_s
104
- command.system
105
- reset_mfa_list
104
+ if Ona.confirm('Are you sure you want to delete the MFA Keychain?', 'yes')
105
+ command.system
106
+ reset_mfa_list
107
+ end
106
108
  end
107
109
 
108
110
  Ona.action(
@@ -177,7 +179,10 @@ Ona.action(
177
179
  command.service = mfa.service
178
180
  command.keychain = KEYCHAIN
179
181
  print_command command.to_s
180
- command.system
182
+ if Ona.confirm('Are you sure you want to remove this entry?', 'yes')
183
+ command.system
184
+ reset_mfa_list
185
+ end
181
186
  end
182
187
 
183
188
  Ona.action(
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mfa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuyoshi Tlacaelel
@@ -84,5 +84,5 @@ requirements: []
84
84
  rubygems_version: 3.3.7
85
85
  signing_key:
86
86
  specification_version: 4
87
- summary: mfa - mfa utility tool
87
+ summary: mfa - MFA Management Shell Tool (for mac)
88
88
  test_files: []