snuffleupagus 0.1.2 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/README.md +2 -2
- data/lib/snuffleupagus/version.rb +1 -1
- data/snuffleupagus.gemspec +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2dd5c1068aff9a6379b738a87bb637659f4f14cbdf13704a2365358a4125f049
|
4
|
+
data.tar.gz: 86694f423f231e75df38eb99ea6b9a43c7e76156db5aff33fb518442a36064a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b32bc530248c0e899c7cb3b99374ddb884ec2c95e1f638496c0862ea3d5afc12f0b90d5b213270ea941daadd5d66b6779841171f27760c55d4a56c2f578ce97a
|
7
|
+
data.tar.gz: 3ed356ebf8c56829c9a91ed1349739b4c886364b41f5e9a42689205bbd5a586f7dc16a96a3637d14512e6da16d61077b1101ab68fe7a945f6c4ab595634d9ebf
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -23,7 +23,7 @@ gem 'snuffleupagus'
|
|
23
23
|
|
24
24
|
```ruby
|
25
25
|
snuffy = Snuffleupagus::AuthToken.new('p4ssw0rd')
|
26
|
-
snuffy.create_token
|
26
|
+
snuffy.create_token context: 'my-context'
|
27
27
|
#=> "53616c7465645f5f25dba4d4a97b238c4560ab46ffdfb77b28ad3e7121ab1917"
|
28
28
|
```
|
29
29
|
|
@@ -31,6 +31,6 @@ snuffy.create_token
|
|
31
31
|
|
32
32
|
```ruby
|
33
33
|
snuffy = Snuffleupagus::AuthToken.new('p4ssw0rd')
|
34
|
-
snuffy.
|
34
|
+
snuffy.token_valid? token: "53616c7465645f5f25dba4d4a97b238c4560ab46ffdfb77b28ad3e7121ab1917", context: 'my-context'
|
35
35
|
#=> true
|
36
36
|
```
|
data/snuffleupagus.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.description = 'Simple auth token generator/validator'
|
13
13
|
s.summary = "snuffleupagus-#{s.version}"
|
14
14
|
s.required_rubygems_version = '> 1.3.6'
|
15
|
-
s.required_ruby_version = ['>= 2.5.0', '<
|
15
|
+
s.required_ruby_version = ['>= 2.5.0', '< 3.1.0']
|
16
16
|
|
17
17
|
s.add_development_dependency 'rake', '~> 12.3', '>= 12.3.3'
|
18
18
|
s.add_development_dependency 'rspec', '~> 3'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snuffleupagus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Bromwich
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -95,7 +95,7 @@ files:
|
|
95
95
|
homepage: https://github.com/Studiosity/snuffleupagus
|
96
96
|
licenses: []
|
97
97
|
metadata: {}
|
98
|
-
post_install_message:
|
98
|
+
post_install_message:
|
99
99
|
rdoc_options: []
|
100
100
|
require_paths:
|
101
101
|
- lib
|
@@ -106,15 +106,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
106
106
|
version: 2.5.0
|
107
107
|
- - "<"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version:
|
109
|
+
version: 3.1.0
|
110
110
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
111
111
|
requirements:
|
112
112
|
- - ">"
|
113
113
|
- !ruby/object:Gem::Version
|
114
114
|
version: 1.3.6
|
115
115
|
requirements: []
|
116
|
-
rubygems_version: 3.0.
|
117
|
-
signing_key:
|
116
|
+
rubygems_version: 3.0.9
|
117
|
+
signing_key:
|
118
118
|
specification_version: 4
|
119
|
-
summary: snuffleupagus-0.1
|
119
|
+
summary: snuffleupagus-0.2.1
|
120
120
|
test_files: []
|