permits 1.1.5 → 1.1.6

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: 35b5250b6702f9d2a08bbccf4499086d206e22026ec09875ce6aa767d746996f
4
+ data.tar.gz: 2cb1161cd4f61559548e7a40c4317a7558d8ca9c4d3fd34ca2a34d8014be9f41
5
5
  SHA512:
6
- metadata.gz: c6bd4c797d689c2d29c238417db3887a9dbfa932766bc3bfb4e0a50121fb600adedcd235332236c2e29b04125d5a2441fcc66eaeb4905e5d13c87b162a0ad30f
7
- data.tar.gz: e4cb185772bf2bb950735748b6ad5a51e0417084bda8ea9418ba8d4cbe321e27babf97568a88d9d81ee9fe2e2699fc5494d9d95015d81f15ce0db0aa61238020
6
+ metadata.gz: 4f491e24fa0126b41071fe781a2395daba092bb67c853127ffa2a6be1a81c757200a00ab0a6ca9ad53dfa5383138f1d4364730aba753cf345626624f31c95896
7
+ data.tar.gz: 4beabf291abde9d20ee614ae25224f3d83abdcd9848b319f8865a8622bf4b8bd58b365e3ee73ace11312f7e7bf8d1a17eece3972421e1ac4a366ef8d916b6089
@@ -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.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
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.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Craig Gilchrist