octopus_auth 0.1.0.rc6 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/octopus_auth/issue.rb +1 -1
- data/lib/octopus_auth/revoke.rb +1 -1
- data/lib/octopus_auth/token_generator.rb +2 -0
- data/lib/octopus_auth/version.rb +1 -1
- data/octopus_auth.gemspec +2 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22ad32580ab09d2547713decfdbb931a19211a58a8b9459cf821fba7fac1a171
|
4
|
+
data.tar.gz: 1e92ebcbf73cfd2d1572137205a5a0159928699ca2cff07dcb74d6cb6ed0c3f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7e83cf01853b8c1a7285a21ef17a5850f09c4127d645ce6acb63559dd8c83cc0ff5330a16d6eabce9413435e996e1767311e152bb8c77dfc78190cf5cc6e581
|
7
|
+
data.tar.gz: 994a3cb6104aa16ce17475641ed5ab65053b7fe39069d5e9a2522eb9cde5aa408725bb510019250890ad1ca1e50620f9cd5b368e750dfc4b15590f8d87d8cfb2
|
data/Gemfile.lock
CHANGED
data/lib/octopus_auth/issue.rb
CHANGED
@@ -13,7 +13,7 @@ module OctopusAuth
|
|
13
13
|
access_token = OctopusAuth.configuration.model_class.new
|
14
14
|
|
15
15
|
# Set attributes
|
16
|
-
access_token.issued_at = Time.
|
16
|
+
access_token.issued_at = Time.now.utc
|
17
17
|
access_token.expires_at = access_token.issued_at + OctopusAuth.configuration.token_life_time
|
18
18
|
access_token.active = true
|
19
19
|
|
data/lib/octopus_auth/revoke.rb
CHANGED
data/lib/octopus_auth/version.rb
CHANGED
data/octopus_auth.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octopus_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TINYpulse Devops
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -129,12 +129,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
129
129
|
requirements:
|
130
130
|
- - ">="
|
131
131
|
- !ruby/object:Gem::Version
|
132
|
-
version:
|
132
|
+
version: 2.0.0
|
133
133
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
|
-
- - "
|
135
|
+
- - ">="
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
version:
|
137
|
+
version: '0'
|
138
138
|
requirements: []
|
139
139
|
rubyforge_project:
|
140
140
|
rubygems_version: 2.7.7
|