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 +4 -4
- data/VERSION +1 -1
- data/app/models/authorization.rb +1 -1
- data/vigilante.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 363a75be5d481f676c2d812163c635baf3280402a65a8b6a6fbcaef8c4a08d5b
|
4
|
+
data.tar.gz: 7f129de424051f3e443c9ca274bd8b97119181979a80e16b540e88a5ce0d531d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 663626efaf5aff2cb4e3db5d578928cbc21cb5ed3bcd609717e0f71af8a6ba8308202aaf8fb600125265c3058a8cd5d65189e84d3dc45064ba2f80e4b8ec9194
|
7
|
+
data.tar.gz: 60faee7a5a0cf83bef96bd4aca2765945b7a939394bb3b916781b9141fc88c0b3d485e3a2d80d5db4fb942a233d61d5fe099eb18a4d8a30a17fa28df87730b41
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.19
|
data/app/models/authorization.rb
CHANGED
@@ -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
|
data/vigilante.gemspec
CHANGED
@@ -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.
|
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.
|
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-
|
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.
|
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-
|
11
|
+
date: 2020-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|