mfa 0.0.3 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -2
  3. data/Onafile +8 -3
  4. metadata +4 -18
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d7bc0764c21856981c1deb52d9ea9291ee4d5c3628079ab27fa6de63c3b9dbdc
4
- data.tar.gz: '01822c792f34f998d6322c04f452bc43ef58b96d861121fcd1cdfb00b25f6831'
3
+ metadata.gz: 650afce869d163b8b608fe3d286192f21a899ab2f22bbcbac3d4954085d7194f
4
+ data.tar.gz: fbf21f17096a1fdfc65139882a247d9546a00334f89d2bb7a219dd636242bfcf
5
5
  SHA512:
6
- metadata.gz: c4ae2c65cf6da2b8785a156ee96a8e993a42ee232d425079ed4843bd85dbde5c1c4b1fbe616a098a50b71cd275816be0498c6327e8cc16d40b4a8406ec6ce3d2
7
- data.tar.gz: 4ad84fa28c1bdc8ecbeef52b12350431e6614b79499fb58a54c03fe49e742789f80cfdc154387deeff5736330a84e3742ea84ab99c0853b468747392185884de
6
+ metadata.gz: 917eb2e8774e7373f232c6fe46240c404ac6f82b800d14c545b1687a7fdd1acb8215382ffc1e485b447ab7c09ca34783ff3d05a9b1bea29ddfd8f4764add4a07
7
+ data.tar.gz: b40231060e864614c88e50fa26a83e623bab71aa1dd93cccb4ee4ff5f5e3a9d2cb748919c8dd1e12f2274775886f5ca2935ffc9908547b5c496d47289aa6c6fa
data/Gemfile CHANGED
@@ -1,6 +1,5 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'isna', '0.0.4'
4
3
  gem 'abstract_command', '0.0.6'
5
- gem 'ona', '1.0.0'
4
+ gem 'ona', '1.0.2'
6
5
 
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.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuyoshi Tlacaelel
@@ -10,20 +10,6 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2023-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: isna
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - '='
18
- - !ruby/object:Gem::Version
19
- version: 0.0.4
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - '='
25
- - !ruby/object:Gem::Version
26
- version: 0.0.4
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: abstract_command
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +30,14 @@ dependencies:
44
30
  requirements:
45
31
  - - '='
46
32
  - !ruby/object:Gem::Version
47
- version: 1.0.1
33
+ version: 1.0.2
48
34
  type: :runtime
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
38
  - - '='
53
39
  - !ruby/object:Gem::Version
54
- version: 1.0.1
40
+ version: 1.0.2
55
41
  description:
56
42
  email: kazu.dev@gmail.com
57
43
  executables:
@@ -84,5 +70,5 @@ requirements: []
84
70
  rubygems_version: 3.3.7
85
71
  signing_key:
86
72
  specification_version: 4
87
- summary: mfa - mfa utility tool
73
+ summary: mfa - MFA Management Shell Tool (for mac)
88
74
  test_files: []