vigilante 1.0.18 → 1.0.19

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: f35bff47c4dcdaac6d7f6713a3c30c95bd9b57054ab635b38a8308d8ed2a18c0
4
- data.tar.gz: 1cc0d2439f44bcc342d2230eec6e6940168fbadd72ab86a0fbeeaa394f6a6f42
3
+ metadata.gz: 363a75be5d481f676c2d812163c635baf3280402a65a8b6a6fbcaef8c4a08d5b
4
+ data.tar.gz: 7f129de424051f3e443c9ca274bd8b97119181979a80e16b540e88a5ce0d531d
5
5
  SHA512:
6
- metadata.gz: 87a77298924da072781540d3206e14e61013e56b9d9b900d2ea2f5d87f1d9053fde6104539c00f191f3baf7620129f4492902532ae35a756cad60bf962d02bca
7
- data.tar.gz: d052c3d0c1f07c59360e2f1913b046b7b4556944e845ec21358c3649d00cc410a62fcb90ce1e1581c7b15b3aecb5da01939b129eee498b6af731ede34a242937
6
+ metadata.gz: 663626efaf5aff2cb4e3db5d578928cbc21cb5ed3bcd609717e0f71af8a6ba8308202aaf8fb600125265c3058a8cd5d65189e84d3dc45064ba2f80e4b8ec9194
7
+ data.tar.gz: 60faee7a5a0cf83bef96bd4aca2765945b7a939394bb3b916781b9141fc88c0b3d485e3a2d80d5db4fb942a233d61d5fe099eb18a4d8a30a17fa28df87730b41
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.18
1
+ 1.0.19
@@ -1,5 +1,5 @@
1
1
  class Authorization < ActiveRecord::Base
2
- belongs_to :operator, :class_name => ::VIGILANTE_CONFIG['current_user_class'].to_s
2
+ belongs_to :operator, :class_name => ::VIGILANTE_CONFIG['current_user_class'].to_s, inverse_of: :authorizations, optional: true
3
3
  belongs_to :ability
4
4
 
5
5
  has_many :authorization_extents, :dependent => :delete_all
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: vigilante 1.0.18 ruby lib
5
+ # stub: vigilante 1.0.19 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "vigilante".freeze
9
- s.version = "1.0.18"
9
+ s.version = "1.0.19"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Nathan Van der Auwera".freeze]
14
- s.date = "2020-09-07"
14
+ s.date = "2020-09-08"
15
15
  s.description = "Vigilante is a db-backed authorisation, completely configurable and dynamic; where permissions can be limited to extents.".freeze
16
16
  s.email = "nathan@dixis.com".freeze
17
17
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vigilante
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.18
4
+ version: 1.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Van der Auwera
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-07 00:00:00.000000000 Z
11
+ date: 2020-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails