otp 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -0
- data/Gemfile +4 -0
- data/lib/otp/version.rb +1 -1
- data/test/test_hotp.rb +4 -4
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e14084fa181108aaef27649542707aeecd32e28e
|
4
|
+
data.tar.gz: 0e84765015b6e11dd7e749f2b8874dcff81f82cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d300f040ab6b2ea17dee244e7ad6ab9d6e7bef3b2c6ab7e14fff33191aeefd8a69ff4005275bdd13fe8c9f54b1c0d69a383085baf745d1c7a57f580309534e2
|
7
|
+
data.tar.gz: c38c82ee636d5bbdc4f418cc135ad2aa07f516cf3ede793403f1d260c4ac98f89b2c75b4b9c3980bad9b21cd11c26fbbd498c37ebdeace45a490ff37f9563774
|
data/.travis.yml
ADDED
data/Gemfile
CHANGED
data/lib/otp/version.rb
CHANGED
data/test/test_hotp.rb
CHANGED
@@ -44,9 +44,9 @@ class TestHTOP < Test::Unit::TestCase
|
|
44
44
|
assert(!hotp.verify("359152", last:2, post:2)) # pass for 2
|
45
45
|
assert(hotp.verify("969429", last:2, post:2)) # pass for 3
|
46
46
|
assert(hotp.verify("338314", last:2, post:2)) # pass for 4
|
47
|
-
assert(hotp.verify("254676",
|
48
|
-
assert(hotp.verify("287922",
|
49
|
-
assert(hotp.verify("162583",
|
50
|
-
assert(!hotp.verify("399871",
|
47
|
+
assert(hotp.verify("254676", last:2, post:2)) # pass for 5
|
48
|
+
assert(hotp.verify("287922", last:2, post:2)) # pass for 6
|
49
|
+
assert(hotp.verify("162583", last:2, post:2)) # pass for 7
|
50
|
+
assert(!hotp.verify("399871", last:2, post:2)) # pass for 8
|
51
51
|
end
|
52
52
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: otp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuuzou Gotou
|
@@ -46,6 +46,7 @@ extensions: []
|
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
48
|
- ".gitignore"
|
49
|
+
- ".travis.yml"
|
49
50
|
- Gemfile
|
50
51
|
- LICENSE.txt
|
51
52
|
- README.md
|
@@ -83,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
84
|
version: '0'
|
84
85
|
requirements: []
|
85
86
|
rubyforge_project:
|
86
|
-
rubygems_version: 2.
|
87
|
+
rubygems_version: 2.4.7
|
87
88
|
signing_key:
|
88
89
|
specification_version: 4
|
89
90
|
summary: One-Time Password Library
|