arkaan 2.7.3 → 2.7.4

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: a83c8382a59bc6c36c6d3e57fec6e1b36ae844b11236a33ef648d0e01b96a516
4
- data.tar.gz: 7de1e0cc0429fd5c45a5742ebf3a88edf71be48c8231140a51ec691e074a970e
3
+ metadata.gz: e8f25bc056ed41bf018b590375a9feb4dbd06a8847acb85a186cfd5f8a2e3efc
4
+ data.tar.gz: '068890dbe12597fdd1cd7fae6be931492481ef3c851ade44c6f4f019691a1f61'
5
5
  SHA512:
6
- metadata.gz: ac529b127c994f01ce22bc1f25695effe0849b2b3ddb69e407b79b83178edd601467741d37210c331a60490550c3a1225c161912e9d18a1fb2fbe282ac3570f3
7
- data.tar.gz: 5f5dac519c25cad9aae2e55db96caee89eb9f239e289470dede24c42dd5b38068b7e1e1d2cd00b2facc196c29e50c3e79957379085fd3f0e26fdde5efc952a95
6
+ metadata.gz: 291e88989f2e0fb4a07a1a6d9236038806af36d43c54deed06c1564a6d24636d66781fd06e3a94c2366a990d78aa80d56ab4d89ad20dc4579265f1d17ae05a7d
7
+ data.tar.gz: d584b02cfbdfab1f188a5c74d88da5d053a830218a9fa7dbc941c0610ccacef0a16081d99ebadcbbe48a0442030414226bd0e30de8e6de39a507a4d8567ec145
@@ -11,7 +11,7 @@ module Arkaan
11
11
  field :name, type: String
12
12
  # @!attribute [rw] key
13
13
  # @return [String] the unique key for the application, identifying it when requesting a token for the API.
14
- field :key, type: String, default: ->{ SecureRandom.hex }
14
+ field :application_key, type: String, default: ->{ SecureRandom.hex }
15
15
  # @!attribute [rw] premium
16
16
  # @return [Boolean] a value indicating whether the application should automatically receive a token when an account is created, or not.
17
17
  field :premium, type: Boolean, default: false
@@ -31,7 +31,7 @@ module Arkaan
31
31
  length: {minimum: 6, message: 'minlength'},
32
32
  uniqueness: {message: 'uniq'}
33
33
 
34
- validates :key,
34
+ validates :application_key,
35
35
  presence: {message: 'required'},
36
36
  uniqueness: {message: 'uniq'}
37
37
 
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: 2.7.3
4
+ version: 2.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincent Courtois