card-mod-api_key 0.16.0 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/data/real.yml +6 -3
  3. data/set/right/api_key.rb +2 -2
  4. metadata +9 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 834aaa4fe1a02f6af160eaee77c62853fc01371fb8232f81f8614ed9af727134
4
- data.tar.gz: 509a372ce6d7376076409ff3770062ca231f358a7ef0a658d87c74a787985f4d
3
+ metadata.gz: 1c9821ad7dc999f7201f81c236bce43f74d4d73d519826ed8533eaafd2fa578e
4
+ data.tar.gz: 064bb8b3c81efb7f133f876b9971f210ef1a334cccb898eb8d3051098c444eb7
5
5
  SHA512:
6
- metadata.gz: 6587bffa6d3c8338c0ef90e1678dc6dab5de08eb85d8c53116701ecadcf391987457fbe74705b118d73be4f07cad3ef19b5257740b173f23bf98aff8a4ed1e58
7
- data.tar.gz: 5b75a96627c2f2268981af534cec8e659ca6e3c646efef79f42f8e0e751cb0eda9208cd92c6984291480d359bafa10f9e75d0d6b1860c8275844ba30900aa2c2
6
+ metadata.gz: 84177cbb258ce600c3ebac7201ad6aa960f9e5749886daaba9f6ce482b9e256257cd5dede6e32154cfa0de352876b014b4cd722bb045a30682a09edd9574216c
7
+ data.tar.gz: 01a6d9c01ab9883cf8a2707386edd697a76471230a17afccfe9810e4f10822d63d4a79c619972d630495d986ec757f6792494aa08b0734450241c7fd82cab745
data/data/real.yml CHANGED
@@ -3,6 +3,9 @@
3
3
  :fields:
4
4
  :right:
5
5
  :fields:
6
- :read: Help Desk
7
- :update: Help Desk
8
- :delete: Help Desk
6
+ :read:
7
+ - :help_desk
8
+ :update:
9
+ - :help_desk
10
+ :delete:
11
+ - :help_desk
data/set/right/api_key.rb CHANGED
@@ -21,11 +21,11 @@ def history?
21
21
  false
22
22
  end
23
23
 
24
- def ok_to_read
24
+ def ok_to_read?
25
25
  own_account? || super
26
26
  end
27
27
 
28
- def ok_to_create
28
+ def ok_to_create?
29
29
  own_account? || super
30
30
  end
31
31
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: card-mod-api_key
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ethan McCutchen
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-11-18 00:00:00.000000000 Z
13
+ date: 2024-10-31 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: card
@@ -18,28 +18,28 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 1.106.0
21
+ version: 1.108.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 1.106.0
28
+ version: 1.108.0
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: card-mod-account
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.16.0
35
+ version: 0.18.0
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 0.16.0
42
+ version: 0.18.0
43
43
  description: ''
44
44
  email:
45
45
  - info@decko.org
@@ -61,7 +61,7 @@ files:
61
61
  - set/right/api_key/core.haml
62
62
  homepage: https://decko.org
63
63
  licenses:
64
- - GPL-3.0
64
+ - GPL-3.0-or-later
65
65
  metadata:
66
66
  source_code_uri: https://github.com/decko-commons/decko
67
67
  homepage_uri: https://decko.org
@@ -78,14 +78,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - ">="
80
80
  - !ruby/object:Gem::Version
81
- version: '2.5'
81
+ version: '3.0'
82
82
  required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  requirements:
84
84
  - - ">="
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0'
87
87
  requirements: []
88
- rubygems_version: 3.4.10
88
+ rubygems_version: 3.5.7
89
89
  signing_key:
90
90
  specification_version: 4
91
91
  summary: API Keys and JWT Tokens for Decko