consul 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +5 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +7 -0
- data/Gemfile +1 -1
- data/Gemfile.7-0 +17 -0
- data/Gemfile.7-0.lock +132 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/consul.gemspec +2 -0
- data/lib/consul/version.rb +1 -1
- metadata +7 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a06033efab4b0e24d658424200cb54c5344d477eef168af3d29e5351269e23c6
|
4
|
+
data.tar.gz: 6933c5cc01fd2be2c050079a665a43f72c06e943e06eb871bbe233129bae7ba9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fbc83485d78d84caf40dbec281549e6e24650b4c1fbe6f57c3a2a81324b42f0bfbf90c8b98f4be9e603f7e0056c51335dd95695d6e8904b32fefa7b34f658b0
|
7
|
+
data.tar.gz: 2e4f583711220be120cd5461ea24ac4246607b236fb5812987813aa4779d4d1da59e5cfbdac65d0b31566b0189c10417b9d4c1e5a40f17a510ab78ab151bda23
|
data/.github/workflows/test.yml
CHANGED
@@ -20,8 +20,12 @@ jobs:
|
|
20
20
|
gemfile: Gemfile.6-1
|
21
21
|
- ruby: 2.7.3
|
22
22
|
gemfile: Gemfile.6-1
|
23
|
-
- ruby:
|
23
|
+
- ruby: 2.7.3
|
24
|
+
gemfile: Gemfile.7-0
|
25
|
+
- ruby: 3.0.3
|
24
26
|
gemfile: Gemfile.6-1
|
27
|
+
- ruby: 3.0.3
|
28
|
+
gemfile: Gemfile.7-0
|
25
29
|
env:
|
26
30
|
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
|
27
31
|
steps:
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.0.3
|
data/CHANGELOG.md
CHANGED
@@ -9,6 +9,13 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
|
|
9
9
|
|
10
10
|
### Compatible changes
|
11
11
|
|
12
|
+
## 1.1.1 - 2022-03-16
|
13
|
+
|
14
|
+
### Compatible changes
|
15
|
+
|
16
|
+
- Activate rubygems MFA
|
17
|
+
- support rails 7
|
18
|
+
|
12
19
|
## 1.1.0 - 2021-09-28
|
13
20
|
|
14
21
|
### Breaking changes
|
data/Gemfile
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
Gemfile.7-0
|
data/Gemfile.7-0
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
# Runtime dependencies
|
4
|
+
gem 'railties', '>= 7.0'
|
5
|
+
gem 'assignable_values'
|
6
|
+
|
7
|
+
# Development dependencies
|
8
|
+
gem 'rspec'
|
9
|
+
gem 'rspec-rails'
|
10
|
+
gem 'rspec_candy'
|
11
|
+
gem 'shoulda-matchers'
|
12
|
+
gem 'sqlite3'
|
13
|
+
gem 'database_cleaner'
|
14
|
+
gem 'gemika'
|
15
|
+
|
16
|
+
# Gem under test
|
17
|
+
gem 'consul', :path => '.'
|
data/Gemfile.7-0.lock
ADDED
@@ -0,0 +1,132 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
consul (1.1.1)
|
5
|
+
activerecord (>= 3.2)
|
6
|
+
activesupport (>= 3.2)
|
7
|
+
edge_rider (>= 0.3.0)
|
8
|
+
memoized (>= 1.0.2)
|
9
|
+
railties (>= 3.2)
|
10
|
+
|
11
|
+
GEM
|
12
|
+
remote: https://rubygems.org/
|
13
|
+
specs:
|
14
|
+
actionpack (7.0.0)
|
15
|
+
actionview (= 7.0.0)
|
16
|
+
activesupport (= 7.0.0)
|
17
|
+
rack (~> 2.0, >= 2.2.0)
|
18
|
+
rack-test (>= 0.6.3)
|
19
|
+
rails-dom-testing (~> 2.0)
|
20
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
21
|
+
actionview (7.0.0)
|
22
|
+
activesupport (= 7.0.0)
|
23
|
+
builder (~> 3.1)
|
24
|
+
erubi (~> 1.4)
|
25
|
+
rails-dom-testing (~> 2.0)
|
26
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
27
|
+
activemodel (7.0.0)
|
28
|
+
activesupport (= 7.0.0)
|
29
|
+
activerecord (7.0.0)
|
30
|
+
activemodel (= 7.0.0)
|
31
|
+
activesupport (= 7.0.0)
|
32
|
+
activesupport (7.0.0)
|
33
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
34
|
+
i18n (>= 1.6, < 2)
|
35
|
+
minitest (>= 5.1)
|
36
|
+
tzinfo (~> 2.0)
|
37
|
+
assignable_values (0.16.5)
|
38
|
+
activerecord (>= 2.3)
|
39
|
+
builder (3.2.4)
|
40
|
+
concurrent-ruby (1.1.9)
|
41
|
+
crass (1.0.6)
|
42
|
+
database_cleaner (2.0.1)
|
43
|
+
database_cleaner-active_record (~> 2.0.0)
|
44
|
+
database_cleaner-active_record (2.0.1)
|
45
|
+
activerecord (>= 5.a)
|
46
|
+
database_cleaner-core (~> 2.0.0)
|
47
|
+
database_cleaner-core (2.0.1)
|
48
|
+
diff-lcs (1.4.4)
|
49
|
+
edge_rider (2.0.0)
|
50
|
+
activerecord (>= 3.2)
|
51
|
+
erubi (1.10.0)
|
52
|
+
gemika (0.6.1)
|
53
|
+
i18n (1.8.11)
|
54
|
+
concurrent-ruby (~> 1.0)
|
55
|
+
loofah (2.13.0)
|
56
|
+
crass (~> 1.0.2)
|
57
|
+
nokogiri (>= 1.5.9)
|
58
|
+
memoized (1.0.2)
|
59
|
+
method_source (1.0.0)
|
60
|
+
mini_portile2 (2.6.1)
|
61
|
+
minitest (5.15.0)
|
62
|
+
nokogiri (1.12.5)
|
63
|
+
mini_portile2 (~> 2.6.1)
|
64
|
+
racc (~> 1.4)
|
65
|
+
racc (1.6.0)
|
66
|
+
rack (2.2.3)
|
67
|
+
rack-test (1.1.0)
|
68
|
+
rack (>= 1.0, < 3)
|
69
|
+
rails-dom-testing (2.0.3)
|
70
|
+
activesupport (>= 4.2.0)
|
71
|
+
nokogiri (>= 1.6)
|
72
|
+
rails-html-sanitizer (1.4.2)
|
73
|
+
loofah (~> 2.3)
|
74
|
+
railties (7.0.0)
|
75
|
+
actionpack (= 7.0.0)
|
76
|
+
activesupport (= 7.0.0)
|
77
|
+
method_source
|
78
|
+
rake (>= 12.2)
|
79
|
+
thor (~> 1.0)
|
80
|
+
zeitwerk (~> 2.5)
|
81
|
+
rake (13.0.6)
|
82
|
+
rspec (3.10.0)
|
83
|
+
rspec-core (~> 3.10.0)
|
84
|
+
rspec-expectations (~> 3.10.0)
|
85
|
+
rspec-mocks (~> 3.10.0)
|
86
|
+
rspec-core (3.10.1)
|
87
|
+
rspec-support (~> 3.10.0)
|
88
|
+
rspec-expectations (3.10.1)
|
89
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
90
|
+
rspec-support (~> 3.10.0)
|
91
|
+
rspec-mocks (3.10.2)
|
92
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
93
|
+
rspec-support (~> 3.10.0)
|
94
|
+
rspec-rails (5.0.2)
|
95
|
+
actionpack (>= 5.2)
|
96
|
+
activesupport (>= 5.2)
|
97
|
+
railties (>= 5.2)
|
98
|
+
rspec-core (~> 3.10)
|
99
|
+
rspec-expectations (~> 3.10)
|
100
|
+
rspec-mocks (~> 3.10)
|
101
|
+
rspec-support (~> 3.10)
|
102
|
+
rspec-support (3.10.3)
|
103
|
+
rspec_candy (0.5.1)
|
104
|
+
rspec
|
105
|
+
sneaky-save
|
106
|
+
shoulda-matchers (5.0.0)
|
107
|
+
activesupport (>= 5.2.0)
|
108
|
+
sneaky-save (0.1.3)
|
109
|
+
activerecord (>= 3.2.0)
|
110
|
+
sqlite3 (1.4.2)
|
111
|
+
thor (1.1.0)
|
112
|
+
tzinfo (2.0.4)
|
113
|
+
concurrent-ruby (~> 1.0)
|
114
|
+
zeitwerk (2.5.1)
|
115
|
+
|
116
|
+
PLATFORMS
|
117
|
+
ruby
|
118
|
+
|
119
|
+
DEPENDENCIES
|
120
|
+
assignable_values
|
121
|
+
consul!
|
122
|
+
database_cleaner
|
123
|
+
gemika
|
124
|
+
railties (>= 7.0)
|
125
|
+
rspec
|
126
|
+
rspec-rails
|
127
|
+
rspec_candy
|
128
|
+
shoulda-matchers
|
129
|
+
sqlite3
|
130
|
+
|
131
|
+
BUNDLED WITH
|
132
|
+
2.2.25
|
data/Gemfile.lock
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
Gemfile.7-0.lock
|
data/README.md
CHANGED
@@ -9,7 +9,7 @@ Consul is an authorization solution for Ruby on Rails where you describe *sets o
|
|
9
9
|
We have used Consul in combination with [assignable_values](https://github.com/makandra/assignable_values) to solve a variety of authorization requirements ranging from boring to bizarre.
|
10
10
|
Also see our crash course video: [Solving bizare authorization requirements with Rails](http://bizarre-authorization.talks.makandra.com/).
|
11
11
|
|
12
|
-
Consul is tested with Rails 5.2 and
|
12
|
+
Consul is tested with Rails 5.2, 6.1 and 7.0 on Ruby 2.5, 2.7 and 3.0 (only if supported, for each Ruby/Rails combination). If you need support for Rails 3.2, please use [v0.13.2](https://github.com/makandra/consul/tree/v0.13.2).
|
13
13
|
|
14
14
|
|
15
15
|
Describing access to your application
|
data/consul.gemspec
CHANGED
@@ -13,8 +13,10 @@ Gem::Specification.new do |s|
|
|
13
13
|
|
14
14
|
if RUBY_VERSION.to_f >= 2.0
|
15
15
|
s.metadata = {
|
16
|
+
'source_code_uri' => s.homepage,
|
16
17
|
'bug_tracker_uri' => 'https://github.com/makandra/consul/issues',
|
17
18
|
'changelog_uri' => 'https://github.com/makandra/consul/blob/master/CHANGELOG.md',
|
19
|
+
'rubygems_mfa_required' => 'true',
|
18
20
|
}
|
19
21
|
end
|
20
22
|
|
data/lib/consul/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: consul
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henning Koch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: memoized
|
@@ -95,6 +95,8 @@ files:
|
|
95
95
|
- Gemfile.5-2.lock
|
96
96
|
- Gemfile.6-1
|
97
97
|
- Gemfile.6-1.lock
|
98
|
+
- Gemfile.7-0
|
99
|
+
- Gemfile.7-0.lock
|
98
100
|
- Gemfile.lock
|
99
101
|
- LICENSE
|
100
102
|
- README.md
|
@@ -114,8 +116,10 @@ homepage: https://github.com/makandra/consul
|
|
114
116
|
licenses:
|
115
117
|
- MIT
|
116
118
|
metadata:
|
119
|
+
source_code_uri: https://github.com/makandra/consul
|
117
120
|
bug_tracker_uri: https://github.com/makandra/consul/issues
|
118
121
|
changelog_uri: https://github.com/makandra/consul/blob/master/CHANGELOG.md
|
122
|
+
rubygems_mfa_required: 'true'
|
119
123
|
post_install_message:
|
120
124
|
rdoc_options: []
|
121
125
|
require_paths:
|
@@ -131,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
131
135
|
- !ruby/object:Gem::Version
|
132
136
|
version: '0'
|
133
137
|
requirements: []
|
134
|
-
rubygems_version: 3.
|
138
|
+
rubygems_version: 3.2.22
|
135
139
|
signing_key:
|
136
140
|
specification_version: 4
|
137
141
|
summary: A scope-based authorization solution for Ruby on Rails.
|