socrates 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/socrates/core/state_data.rb +4 -2
- data/lib/socrates/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ec8d3fe2a3292b1dcfcceecb7b7b988a2d16665
|
4
|
+
data.tar.gz: 0e09a7d93302051a5117a44d297fc514818dc73e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84df3d652f807989b133d0188b9a16e8a45e6b28b6787398888e25329d83531c687d6ae0c397c6ed9e368407eddca13789c895a10382f2573acf45283a67a9f2
|
7
|
+
data.tar.gz: ad9ce7f1a969e776c9885cdc3c27b7bcb8126b80c42bebcf00fb2f0af356cbcd140757bd1a0a5a5e59891754449cab8129aa12c505dba21f8522a4ca3d36651b
|
@@ -23,9 +23,11 @@ module Socrates
|
|
23
23
|
end
|
24
24
|
|
25
25
|
def expired?
|
26
|
-
return false
|
26
|
+
return false if last_interaction_timestamp.nil? ||
|
27
|
+
Socrates.config.expired_timeout.nil? ||
|
28
|
+
Socrates.config.expired_timeout.zero?
|
27
29
|
|
28
|
-
elapsed_time >
|
30
|
+
elapsed_time > Socrates.config.expired_timeout
|
29
31
|
end
|
30
32
|
|
31
33
|
def elapsed_time
|
data/lib/socrates/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: socrates
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Nelson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|