mfa 0.0.2 → 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 +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f56529ecdc0a747999a457c4feace4a5d3af5c4c43883911d8f82433323abd46
4
- data.tar.gz: 631cc91f75b62f1170c1e6f2cab42e96370c839e0a071956b655f2d82d5f6be5
3
+ metadata.gz: 8f42cb637e6a19fa805b2a7102828a494d418b12a77509463693d1b15ac86196
4
+ data.tar.gz: 4ab7dfadcbd42e4666e5d098bd96ee1ecf76f54b6b82ae1bfe60288a6e86b746
5
5
  SHA512:
6
- metadata.gz: 367851419b05f9302fd01bfbb1036a43e0c713e0da5308ec356d38657f17425da64e595b31bf85b83b17fbc5f3945b78969c1379d78c99f37fc4be340fcd1ccc
7
- data.tar.gz: 41ce5cdfcb86d2844ec8533eafb482f8c7a0b48d8d345bd255edaad78907690f48d771e965595271d7abc406f9f156238680844788f99735b928a41c666f14cc
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.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuyoshi Tlacaelel
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 1.0.0
47
+ version: 1.0.1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 1.0.0
54
+ version: 1.0.1
55
55
  description:
56
56
  email: kazu.dev@gmail.com
57
57
  executables:
@@ -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: []