permits 1.1.5 → 1.1.7

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: 0d2fdd49073e82cfb27434f4057a87c6705f3d937aa5ee87d0d1a2fbd7006e09
4
- data.tar.gz: d7287a5d517d4070efc1c18019fb8aef4b7d307651f04ca026cb17ccef706fd0
3
+ metadata.gz: e3a357ecf26f7167d9db676feb9a531b9b0da9f947b7dd1c3c418e9b47985c8a
4
+ data.tar.gz: cd781b274e37e96569cabcd03352cee49a3b871156d4d1958b587e4b945e885c
5
5
  SHA512:
6
- metadata.gz: c6bd4c797d689c2d29c238417db3887a9dbfa932766bc3bfb4e0a50121fb600adedcd235332236c2e29b04125d5a2441fcc66eaeb4905e5d13c87b162a0ad30f
7
- data.tar.gz: e4cb185772bf2bb950735748b6ad5a51e0417084bda8ea9418ba8d4cbe321e27babf97568a88d9d81ee9fe2e2699fc5494d9d95015d81f15ce0db0aa61238020
6
+ metadata.gz: 5004dae3a0fbdd4b917d598da28df41fad5610e2f5d77165331cc6d0ebbe2efc27391d25f8f63a8d1eeb0f773a83861410dca93efcdd384a1dcdca434afce0f0
7
+ data.tar.gz: 941614c9198dfe5617cee375467ad75e94f28b3d3b65fd4e8e670afa48f1f9c97f4e91d022085b92541ea8ca4ab0696a5f12857c473cb4efa7896480786aeffd
@@ -12,6 +12,8 @@ class CreatePermitsPermissions < ActiveRecord::Migration[7.1]
12
12
 
13
13
  add_index :permits_permissions, [:owner_id, :owner_type]
14
14
  add_index :permits_permissions, [:resource_id, :resource_type]
15
+ add_index :permits_permissions, [:owner_type, :owner_id, :resource_type, :resource_id]
16
+ add_index :permits_permissions, [:owner_type, :owner_id, :resource_type, :resource_id, :permits]
15
17
  add_index :permits_permissions, :started_at
16
18
  add_index :permits_permissions, :ended_at
17
19
  add_index :permits_permissions, :permits
@@ -1,3 +1,3 @@
1
1
  module Permits
2
- VERSION = "1.1.5"
2
+ VERSION = "1.1.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: permits
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Craig Gilchrist
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-27 00:00:00.000000000 Z
11
+ date: 2024-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aasm
@@ -28,14 +28,14 @@ dependencies:
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '7.1'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '7.1'
41
41
  - !ruby/object:Gem::Dependency
@@ -70,14 +70,14 @@ dependencies:
70
70
  name: rails
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '7.1'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '7.1'
83
83
  - !ruby/object:Gem::Dependency