arkaan 0.8.4 → 0.8.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2468793434f4cff53022cd9e9dc0d61ed21ddca1
4
- data.tar.gz: 993d56fec0dd24d627234c021f73da0d4338c169
3
+ metadata.gz: 2acc7fc7df77c24cb6429078f5697a8862e0d5e7
4
+ data.tar.gz: c9af65e7b6da63161f0e0513b4b5fb773b23612f
5
5
  SHA512:
6
- metadata.gz: 01b0161d67a1cbf9a16114a6dd674218fff0e3a88b0a4b1f5c4a49515d35c6e8e57c8355d7857898654a4009958ca671c9f2ae92838fd0c9491f1fd2ff02291b
7
- data.tar.gz: 9254b0ed8a257544b8fc195101b9ae1112c781b656d2e36029afa2ea202e5eabce0c60506db24cf975f91d8e5958540e9bda3c0ffdee79acda7889bc48225c6f
6
+ metadata.gz: 747c280b255a24557c1477673f4472cc4bafd90b1e83459885e56989527101df5ac608dfe6357d316ac870a2f220a3b772cca6355c018600e811ec6e5248d5bb
7
+ data.tar.gz: 5f8f4b058a40fe18ca92c83084bb2129299320b0fee3778de102a95067d110af3dea6ca00e4bba126c8ad6ca11bf2b5859f2095c8b8c0f4b481663d9d9ebb8f9
@@ -11,9 +11,6 @@ module Arkaan
11
11
  # @!attribute [rw] token
12
12
  # @return [String] the unique token for this session, used to identify it and be sure the user is connected on this application.
13
13
  field :token, type: String
14
- # @!attribute [rw] expiration
15
- # @return [Integer] the time of expiration of the session, in seconds.
16
- field :expiration, type: Integer, default: 0
17
14
 
18
15
  # @!attribute [rw] account
19
16
  # @return [Arkaan::Account] the account connected to the application.
@@ -23,9 +20,6 @@ module Arkaan
23
20
  presence: {message: 'session.token.blank'},
24
21
  uniqueness: {message: 'session.token.uniq', if: :token?},
25
22
  length: {minimum: 10, message: 'session.token.short', if: :token?}
26
-
27
- validates :expiration,
28
- presence: {message: 'session.expiration.blank'}
29
23
  end
30
24
  end
31
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arkaan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4
4
+ version: 0.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincent Courtois