mytotp 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mytotp/commands/services/add.rb +2 -4
- data/lib/mytotp/version.rb +1 -1
- 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: 5430db4643c04284680830dfa98af44f421c088260dbfdfc654550a249d3707e
|
4
|
+
data.tar.gz: dc7d8b9400f9f98c3b6b4b1d01d11d2dbfb4d887ee25a17687067f9b08256d59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bba5a6a3d08fab02caf637088acf15792452411b0a6ba7b80db72286e6349ccba89201031baa7f2e99e74866310c6fd073217ba3c1d3e7b0a111c95ac1a8c0fb
|
7
|
+
data.tar.gz: 10d327657644c0a8b996faf8cf2a879d715dac6c7a5df94d86877f5172b81d40f3a58ec1ad26e6c080aa3177e05f6f67388caeaa72cb6e319b676ed75797bc5f
|
@@ -10,12 +10,10 @@ module Mytotp
|
|
10
10
|
argument :service, desc: "Service name."
|
11
11
|
argument :username, desc: "Account's username"
|
12
12
|
argument :key, desc: "Secret key"
|
13
|
-
argument :digits, desc: "Length of the token"
|
14
|
-
argument :period, desc: "Duration of the token"
|
15
13
|
|
16
|
-
def call(service: nil, username: nil, key: nil,
|
14
|
+
def call(service: nil, username: nil, key: nil, **)
|
17
15
|
service_obj = Mytotp::Models::Service.new(service: service, username: username,
|
18
|
-
key: key
|
16
|
+
key: key)
|
19
17
|
service_obj = ask_for_incomplete(service_obj)
|
20
18
|
service_obj.save
|
21
19
|
puts CLI::UI.fmt "{{green:Correct saved!}}"
|
data/lib/mytotp/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mytotp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- a-chacon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: clipboard
|