paper-auth 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/paper-auth/version.rb +1 -1
- data/paper-auth.gemspec +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd580795d6826f65f4f61bdc2f086e31d649854c
|
4
|
+
data.tar.gz: 96269dcaecbd33a608b69328bf749a73a1497988
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bc8188ac209c298b451ec10204ec490202456fb5b541305afc89ebab8e3372d16f5eab9ea28a56ba682cf35cc05fff30e17d9f38cb9b96b9d092f6c227f9c12
|
7
|
+
data.tar.gz: ce956e33b59d87d6fea0d6c9b2cecc71734385620b7458d7ba0b3101fb4ec57f894a08ee5a9accf41bb158e36672d9ed6c02fdd35dd400af83ff33c862e3d2a4
|
data/README.md
CHANGED
@@ -24,7 +24,7 @@ Or install it yourself as:
|
|
24
24
|
|
25
25
|
Create a new instance of PaperAuth.
|
26
26
|
|
27
|
-
```
|
27
|
+
```ruby
|
28
28
|
paper = PaperAuth.new()
|
29
29
|
```
|
30
30
|
|
@@ -34,7 +34,7 @@ Currently you do not need to provide any parameters.
|
|
34
34
|
|
35
35
|
Create a pdf using PaperAuth.
|
36
36
|
|
37
|
-
```
|
37
|
+
```ruby
|
38
38
|
pdf = paper.create(0, "Hello World!")
|
39
39
|
```
|
40
40
|
|
@@ -44,7 +44,7 @@ The first parameter should be something specific to the user (Ex. User ID), and
|
|
44
44
|
|
45
45
|
You can easily request for an ID using PaperAuth.
|
46
46
|
|
47
|
-
```
|
47
|
+
```ruby
|
48
48
|
id = paper.get()
|
49
49
|
```
|
50
50
|
|
@@ -54,7 +54,7 @@ Currently you do not need to provide any parameters. This will just generate a r
|
|
54
54
|
|
55
55
|
You can easily verify a two factor authentication code.
|
56
56
|
|
57
|
-
```
|
57
|
+
```ruby
|
58
58
|
verify = paper.verify(0, "Hello World!", "1A", "1A2B3")
|
59
59
|
```
|
60
60
|
|
data/lib/paper-auth/version.rb
CHANGED
data/paper-auth.gemspec
CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = PaperAuth::VERSION
|
9
9
|
spec.authors = ["Manthan Mallikarjun"]
|
10
10
|
spec.email = ["manthan@nahtnam.com"]
|
11
|
-
spec.summary = %q{A paper based two factor
|
12
|
-
spec.description = %q{A paper based two factor
|
11
|
+
spec.summary = %q{A paper based two factor authentication.}
|
12
|
+
spec.description = %q{A paper based two factor authentication.}
|
13
13
|
spec.homepage = ""
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paper-auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manthan Mallikarjun
|
@@ -80,7 +80,7 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
-
description: A paper based two factor
|
83
|
+
description: A paper based two factor authentication.
|
84
84
|
email:
|
85
85
|
- manthan@nahtnam.com
|
86
86
|
executables: []
|
@@ -126,5 +126,5 @@ rubyforge_project:
|
|
126
126
|
rubygems_version: 2.4.5
|
127
127
|
signing_key:
|
128
128
|
specification_version: 4
|
129
|
-
summary: A paper based two factor
|
129
|
+
summary: A paper based two factor authentication.
|
130
130
|
test_files: []
|