arkaan 3.2.2 → 3.3.0

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
  SHA256:
3
- metadata.gz: 5ebf422b7c02bea8df7fce800ea91606bd0d86d35ced1ee8022efa51d0eddad7
4
- data.tar.gz: b69615ad4172b707db8904452f47a25ddad146daa8d34489bd62744c2ba3c4b1
3
+ metadata.gz: 65f8289754a8004de723395b4b56b51c3a03298e12e2862bb93229a0b5a2628c
4
+ data.tar.gz: 784a148f4f3ceb643e5b2e644e0c79afd5207aaa8ed5c82c9dadd6b264a0ee6f
5
5
  SHA512:
6
- metadata.gz: cc52a789776037fc95a260f7af0d34ffb6121b9c22b13874c1a09099a957b106f0d69c47459264efe0ab6c9937f6947345dfce939945889a907d4fe96bcec086
7
- data.tar.gz: 304ab6628f38dabddf11a695436643791df7cac6c2dc061480d11e6f8c61f120e85014259369613ecab24bd27fab1579b3cc759203cd33f19f9aad92a6fe9d2c
6
+ metadata.gz: 4553b140636382535cfaa9157d711c4e96d42e79c6f52dc4665eead60c9d73f9b9eaea1ab6c1f8f9849d8ae1f57d7ec880baacd67e42981ed663dca68c7a91bf
7
+ data.tar.gz: af868a3f99aea837395fb859bb0c5fe056d5b4f2c109c524a5eca7f077f0c03965d22d006f99e5121ec0bb40a1f09c30ffd6a9d5c63ef7c6ecf81acae0967801
@@ -8,12 +8,18 @@ module Arkaan
8
8
  include Mongoid::Document
9
9
  include Mongoid::Timestamps
10
10
 
11
+ # @!attribute [rw] label
12
+ # @return [String] the label attached to the device, describing it in details.
13
+ field :label, type: String
11
14
  # @!attribute [rw] user_agent
12
15
  # @return [String] the string representation of the browser and OS of the user
13
16
  field :user_agent, type: String
14
17
  # @!attribute [rw] ip
15
18
  # @return [String] the IP address of the user
16
19
  field :ip, type: String
20
+ # @!attribute [rw] safe
21
+ # @return [Boolean] TRUE if the device is considered safe, FALSE otherwise
22
+ field :safe, type: Boolean, default: false
17
23
 
18
24
  # @!attribute [rw] sessions
19
25
  # @return [Array<Arkaan::Authentication::Session] the sessions this browser is linked to.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arkaan
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.2
4
+ version: 3.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincent Courtois
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-11 00:00:00.000000000 Z
11
+ date: 2020-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: database_cleaner