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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fb1752ddf881525550623974d387bb02fd5c6848ee608f530480338bc06cadb5
4
- data.tar.gz: a043a1d823fb16888f3fff870371d8013d6cf4fb54b54111d1010261e57b5aa4
3
+ metadata.gz: 5430db4643c04284680830dfa98af44f421c088260dbfdfc654550a249d3707e
4
+ data.tar.gz: dc7d8b9400f9f98c3b6b4b1d01d11d2dbfb4d887ee25a17687067f9b08256d59
5
5
  SHA512:
6
- metadata.gz: 586423104b8f82ef1fc261f51eecc46d46e776eeae7914981ec46ad1e5413b5390255efcf2f9628c282093a95128f2ee52c88ca8ec290076ef1de7e9f059b0f5
7
- data.tar.gz: 2424c259f1eda82b0284671856462f7f51a995c7a52da053972d3423777ec08af00950030622ba1b53ae91b66353b7a35509fd8e70e743f5994f80a9bec1e148
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, digits: 6, period: 30)
14
+ def call(service: nil, username: nil, key: nil, **)
17
15
  service_obj = Mytotp::Models::Service.new(service: service, username: username,
18
- key: key, digits: digits, period: period)
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!}}"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mytotp
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
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.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-16 00:00:00.000000000 Z
11
+ date: 2022-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clipboard