otp 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 950f885b455852f76538a68b7c6fb05b01a467cb
4
- data.tar.gz: ff52168dded70e183a28edd3ef1803b9a2fd9ecc
3
+ metadata.gz: e14084fa181108aaef27649542707aeecd32e28e
4
+ data.tar.gz: 0e84765015b6e11dd7e749f2b8874dcff81f82cb
5
5
  SHA512:
6
- metadata.gz: 86fbcf11687d81382349e07639c5f70824c00b913040e453bc71e0cccfebad662e377d38a28b2be0667f94ea8d181449f71d75f109bb31a1b01d11b8e3051b95
7
- data.tar.gz: 4d004267238bea39655fb54492deb785b818cfcd63eed217c299444e230a60c2fa03a075367e7365cb9a7f96f383cb36660176b4069432d20590b41f1b78d42b
6
+ metadata.gz: 4d300f040ab6b2ea17dee244e7ad6ab9d6e7bef3b2c6ab7e14fff33191aeefd8a69ff4005275bdd13fe8c9f54b1c0d69a383085baf745d1c7a57f580309534e2
7
+ data.tar.gz: c38c82ee636d5bbdc4f418cc135ad2aa07f516cf3ede793403f1d260c4ac98f89b2c75b4b9c3980bad9b21cd11c26fbbd498c37ebdeace45a490ff37f9563774
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.1.6
4
+ - 2.2.2
data/Gemfile CHANGED
@@ -2,3 +2,7 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in otp.gemspec
4
4
  gemspec
5
+
6
+ group :development, :test do
7
+ gem "test-unit"
8
+ end
@@ -1,4 +1,4 @@
1
1
  module OTP
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
4
4
 
@@ -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", post:2, post:2)) # pass for 5
48
- assert(hotp.verify("287922", post:2, post:2)) # pass for 6
49
- assert(hotp.verify("162583", post:2, post:2)) # pass for 7
50
- assert(!hotp.verify("399871", post:2, post:2)) # pass for 8
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.5
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.2.2
87
+ rubygems_version: 2.4.7
87
88
  signing_key:
88
89
  specification_version: 4
89
90
  summary: One-Time Password Library