vigilante 1.0.14 → 1.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +24 -21
- data/VERSION +1 -1
- data/lib/vigilante/watched_operator.rb +1 -1
- data/vigilante.gemspec +4 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad7899c501a85ae210e2c3a5fb343c9e74c82fd0
|
4
|
+
data.tar.gz: 22a8e67940f4324363c1d1b404c2e4a3dddf5d44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46d7595cc78d73918f01edce0f4a2fb05da6ddf1ed4d2408e1a9e7042594862248bae603ee1050f177540db2f0a23bc41e58bb80c9529a3154418c21223a1278
|
7
|
+
data.tar.gz: 0c5e4f89e1de6b70f523fb4e820ac937b1f04eba2e632de73ebf99ed6ceebcc5c552b639edc7855dcc5f5df5e6ed9e1b769c2a568b7b200c6c8e601b91f649b0
|
data/Gemfile.lock
CHANGED
@@ -36,16 +36,17 @@ GEM
|
|
36
36
|
minitest (~> 5.1)
|
37
37
|
thread_safe (~> 0.3, >= 0.3.4)
|
38
38
|
tzinfo (~> 1.1)
|
39
|
-
addressable (2.
|
39
|
+
addressable (2.6.0)
|
40
|
+
public_suffix (>= 2.0.2, < 4.0)
|
40
41
|
arel (6.0.0)
|
41
42
|
builder (3.2.2)
|
42
43
|
descendants_tracker (0.0.4)
|
43
44
|
thread_safe (~> 0.3, >= 0.3.1)
|
44
45
|
diff-lcs (1.2.5)
|
45
46
|
erubis (2.7.0)
|
46
|
-
faraday (0.9.
|
47
|
+
faraday (0.9.2)
|
47
48
|
multipart-post (>= 1.2, < 3)
|
48
|
-
git (1.
|
49
|
+
git (1.5.0)
|
49
50
|
github_api (0.11.3)
|
50
51
|
addressable (~> 2.3)
|
51
52
|
descendants_tracker (~> 0.0.1)
|
@@ -56,38 +57,40 @@ GEM
|
|
56
57
|
oauth2
|
57
58
|
globalid (0.3.5)
|
58
59
|
activesupport (>= 4.1.0)
|
59
|
-
hashie (3.
|
60
|
-
highline (
|
60
|
+
hashie (3.6.0)
|
61
|
+
highline (2.0.2)
|
61
62
|
i18n (0.7.0)
|
62
|
-
jeweler (2.
|
63
|
+
jeweler (2.1.2)
|
63
64
|
builder
|
64
65
|
bundler (>= 1.0)
|
65
66
|
git (>= 1.2.5)
|
66
|
-
github_api
|
67
|
+
github_api (~> 0.11.0)
|
67
68
|
highline (>= 1.6.15)
|
68
69
|
nokogiri (>= 1.5.10)
|
69
70
|
rake
|
70
71
|
rdoc
|
72
|
+
semver
|
71
73
|
json (1.8.1)
|
72
|
-
jwt (
|
74
|
+
jwt (2.2.1)
|
73
75
|
loofah (2.0.2)
|
74
76
|
nokogiri (>= 1.5.9)
|
75
77
|
mail (2.6.3)
|
76
78
|
mime-types (>= 1.16, < 3)
|
77
79
|
mime-types (2.6.1)
|
78
|
-
|
80
|
+
mini_portile2 (2.1.0)
|
79
81
|
minitest (5.7.0)
|
80
|
-
multi_json (1.
|
81
|
-
multi_xml (0.
|
82
|
-
multipart-post (2.
|
83
|
-
nokogiri (1.6.
|
84
|
-
|
85
|
-
oauth2 (
|
86
|
-
faraday (>= 0.8, < 0.
|
87
|
-
jwt (
|
82
|
+
multi_json (1.13.1)
|
83
|
+
multi_xml (0.6.0)
|
84
|
+
multipart-post (2.1.1)
|
85
|
+
nokogiri (1.6.8.1)
|
86
|
+
mini_portile2 (~> 2.1.0)
|
87
|
+
oauth2 (1.4.1)
|
88
|
+
faraday (>= 0.8, < 0.16.0)
|
89
|
+
jwt (>= 1.0, < 3.0)
|
88
90
|
multi_json (~> 1.3)
|
89
91
|
multi_xml (~> 0.5)
|
90
|
-
rack (
|
92
|
+
rack (>= 1.2, < 3)
|
93
|
+
public_suffix (3.0.3)
|
91
94
|
rack (1.6.1)
|
92
95
|
rack-test (0.6.3)
|
93
96
|
rack (>= 1.0)
|
@@ -116,8 +119,7 @@ GEM
|
|
116
119
|
rake (>= 0.8.7)
|
117
120
|
thor (>= 0.18.1, < 2.0)
|
118
121
|
rake (10.4.2)
|
119
|
-
rdoc (
|
120
|
-
json (~> 1.4)
|
122
|
+
rdoc (5.1.0)
|
121
123
|
rspec (2.14.1)
|
122
124
|
rspec-core (~> 2.14.0)
|
123
125
|
rspec-expectations (~> 2.14.0)
|
@@ -134,6 +136,7 @@ GEM
|
|
134
136
|
rspec-core (~> 2.14.0)
|
135
137
|
rspec-expectations (~> 2.14.0)
|
136
138
|
rspec-mocks (~> 2.14.0)
|
139
|
+
semver (1.0.1)
|
137
140
|
shoulda-matchers (2.8.0)
|
138
141
|
activesupport (>= 3.0.0)
|
139
142
|
sprockets (3.2.0)
|
@@ -160,4 +163,4 @@ DEPENDENCIES
|
|
160
163
|
sqlite3
|
161
164
|
|
162
165
|
BUNDLED WITH
|
163
|
-
1.
|
166
|
+
1.16.0
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.15
|
@@ -10,7 +10,7 @@ module Vigilante
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def add_authorization(role, extent=nil)
|
13
|
-
ability = Ability.
|
13
|
+
ability = Ability.where("lower(name) = '#{role.downcase}'").first
|
14
14
|
raise StandardError.new("Role #{role} is not converted to a corresponding authorization. It does not exist.") if ability.nil?
|
15
15
|
|
16
16
|
# extent_params = {}
|
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.15 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "vigilante"
|
9
|
-
s.version = "1.0.
|
9
|
+
s.version = "1.0.15"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Nathan Van der Auwera"]
|
14
|
-
s.date = "
|
14
|
+
s.date = "2019-06-12"
|
15
15
|
s.description = "Vigilante is a db-backed authorisation, completely configurable and dynamic; where permissions can be limited to extents."
|
16
16
|
s.email = "nathan@dixis.com"
|
17
17
|
s.extra_rdoc_files = [
|
@@ -118,7 +118,7 @@ Gem::Specification.new do |s|
|
|
118
118
|
"vigilante.gemspec"
|
119
119
|
]
|
120
120
|
s.homepage = "http://github.com/vigilante"
|
121
|
-
s.rubygems_version = "2.
|
121
|
+
s.rubygems_version = "2.2.2"
|
122
122
|
s.summary = "Context-based, db-backed authorisation for your rails3 apps"
|
123
123
|
|
124
124
|
if s.respond_to? :specification_version then
|
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.15
|
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:
|
11
|
+
date: 2019-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -177,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
177
177
|
version: '0'
|
178
178
|
requirements: []
|
179
179
|
rubyforge_project:
|
180
|
-
rubygems_version: 2.
|
180
|
+
rubygems_version: 2.2.2
|
181
181
|
signing_key:
|
182
182
|
specification_version: 4
|
183
183
|
summary: Context-based, db-backed authorisation for your rails3 apps
|