wobauth 5.1.2 → 5.1.3

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: ed605664e9d17cbb6c0aaed21b9450e4ae07f70d3d57ee9605c2c8ca6620750c
4
- data.tar.gz: 597faad405beff61e938fd27cbaf904b198c2d74b235225ba7c4172dd053f847
3
+ metadata.gz: 9f5d6fe7d5bebfcd1023a7c22cadff30e5ded6bf2cf7e47836ca173d94086d14
4
+ data.tar.gz: c75d02e6d4fa63695cf712ca9d7a6abf6d0f40dbbd1062e23d73a1fc2ddeb57a
5
5
  SHA512:
6
- metadata.gz: adedeb007fe3dd77e7c51412e3cf2f937392a94265a9f1682950a472050dfebc73636e7d86f153f08479057b17b6cf93489dcfd76f5018203981d5256f717990
7
- data.tar.gz: abb5c0828eec7e3623e63b72d51cdc4b5b36445147fcf8352e1acedba0b9920646be220f9ab1aceed9c06a2fad6f4f7e9547471db3531e59ed784effd5af9f21
6
+ metadata.gz: 4e03e2f7b9d1c6adecfdc0cf6528366b6639ca47fb98fbb50e218555e0621be2d629d0554a35d2ea6394b6e1ca7ecfc1b56ac042a62dc331c7be9cd611d7d6c5
7
+ data.tar.gz: ca5306cbcfa4b708761770e8a698ed796e3852594244650b13bd0b1ca184ea8fc10dd4022b67686a287a2256f30623b0e04d1e8e3c547eabbc3994949dd2b9bb
data/README.md CHANGED
@@ -38,7 +38,7 @@ Requirements
38
38
 
39
39
  | branch | rails | ruby | bootstrap | icons | wobapphelpers |
40
40
  |------------|-------|--------|-----------|-----------------|---------------|
41
- | master(6.x)| >=6.0 | >= 2.6 | v4 | fontawesome 5.x | master (4.x) |
41
+ | 5-1-stable | >=6.0 | >= 2.6 | v4 | fontawesome 5.x | master (4.x) |
42
42
 
43
43
  ### Rails >= 6.0, autoload = :zeitwerk
44
44
 
@@ -22,7 +22,7 @@
22
22
  <tbody>
23
23
 
24
24
  <% @authorities.each do |authority| %>
25
- <%= content_tag_for(:tr, authority) do %>
25
+ <%= content_tag(:tr, dom_id(authority)) do %>
26
26
  <td><%= authority.authorizable %></td>
27
27
  <td><%= authority.authorizable_type %></td>
28
28
  <td><%= authority.role %></td>
@@ -8,7 +8,7 @@
8
8
  </thead>
9
9
  <tbody>
10
10
  <% group.memberships.each do |membership| %>
11
- <%= content_tag_for(:tr, membership) do %>
11
+ <%= content_tag(:tr, dom_id(membership)) do %>
12
12
  <td><%= link_to membership.user, wobauth.user_path(membership.user) %></td>
13
13
  <td><%= membership.auto %></td>
14
14
  <td class="nowrap">
@@ -9,7 +9,7 @@
9
9
  </thead>
10
10
  <tbody>
11
11
  <% group.authorities.each do |authority| %>
12
- <%= content_tag_for(:tr, authority) do %>
12
+ <%= content_tag(:tr, dom_id(authority)) do %>
13
13
  <td><%= link_to authority.role, wobauth.role_path(authority.role) %></td>
14
14
  <td><%= authorized_for_link(authority.authorized_for) %></td>
15
15
  <td><%= authority.authorized_for_type %></td>
@@ -17,7 +17,7 @@
17
17
  <tbody>
18
18
 
19
19
  <% @groups.each do |group| %>
20
- <%= content_tag_for(:tr, group) do %>
20
+ <%= content_tag(:tr, dom_id(group)) do %>
21
21
  <td><%= group.name %></td>
22
22
  <td><%= group.description %></td>
23
23
  <td class="nowrap">
@@ -17,7 +17,7 @@
17
17
  <tbody>
18
18
 
19
19
  <% @memberships.each do |membership| %>
20
- <%= content_tag_for(:tr, membership) do %>
20
+ <%= content_tag(:tr, id: dom_id(membership)) do %>
21
21
  <td><%= membership.user %></td>
22
22
  <td><%= membership.group %></td>
23
23
  <td><%= membership.auto %></td>
@@ -15,7 +15,7 @@
15
15
  </thead>
16
16
  <tbody>
17
17
  <% authorities.valid(Date.today).each do |authority| %>
18
- <%= content_tag_for(:tr, authority) do %>
18
+ <%= content_tag(:tr, dom_id(authority)) do %>
19
19
  <td><%= link_to authority.authorizable, polymorphic_path([wobauth, authority.authorizable]) %></td>
20
20
  <td><%= authority.authorizable_type %></td>
21
21
  <td><%= authorized_for_link(authority.authorized_for) %></td>
@@ -16,7 +16,7 @@
16
16
  <tbody>
17
17
 
18
18
  <% @roles.each do |role| %>
19
- <%= content_tag_for(:tr, role) do %>
19
+ <%= content_tag(:tr, dom_id(role)) do %>
20
20
  <td><%= role.name %></td>
21
21
  <td class="nowrap">
22
22
  <%= show_link [wobauth, role] %>
@@ -8,7 +8,7 @@
8
8
  </thead>
9
9
  <tbody>
10
10
  <% user.memberships.each do |membership| %>
11
- <%= content_tag_for(:tr, membership) do %>
11
+ <%= content_tag(:tr, dom_id(membership)) do %>
12
12
  <td><%= link_to membership.group, wobauth.group_path(membership.group) %></td>
13
13
 
14
14
  <td><%= membership.auto %></td>
@@ -9,7 +9,7 @@
9
9
  </thead>
10
10
  <tbody>
11
11
  <% user.authorities.each do |authority| %>
12
- <%= content_tag_for(:tr, authority) do %>
12
+ <%= content_tag(:tr, dom_id(authority)) do %>
13
13
  <td><%= link_to authority.role, wobauth.role_path(authority.role) %></td>
14
14
  <td><%= authorized_for_link(authority.authorized_for) %></td>
15
15
  <td><%= authority.authorized_for_type %></td>
@@ -26,7 +26,7 @@
26
26
  <tbody>
27
27
 
28
28
  <% @users.each do |user| %>
29
- <%= content_tag_for(:tr, user) do %>
29
+ <%= content_tag(:tr, dom_id(user)) do %>
30
30
  <td><%= user %></td>
31
31
  <td><%= user.sn %></td>
32
32
  <td><%= user.givenname %></td>
@@ -1,4 +1,4 @@
1
1
  module Wobauth
2
- VERSION = "5.1.2".freeze
3
- RELEASEDATE = "2021-05-15".freeze
2
+ VERSION = "5.1.3".freeze
3
+ RELEASEDATE = "2021-07-04".freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wobauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.2
4
+ version: 5.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wolfgang Barth
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-15 00:00:00.000000000 Z
11
+ date: 2021-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -150,20 +150,6 @@ dependencies:
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
- - !ruby/object:Gem::Dependency
154
- name: record_tag_helper
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: '1.0'
160
- type: :runtime
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - "~>"
165
- - !ruby/object:Gem::Version
166
- version: '1.0'
167
153
  - !ruby/object:Gem::Dependency
168
154
  name: font-awesome-sass
169
155
  requirement: !ruby/object:Gem::Requirement
@@ -352,20 +338,6 @@ dependencies:
352
338
  - - ">="
353
339
  - !ruby/object:Gem::Version
354
340
  version: '0'
355
- - !ruby/object:Gem::Dependency
356
- name: record_tag_helper
357
- requirement: !ruby/object:Gem::Requirement
358
- requirements:
359
- - - "~>"
360
- - !ruby/object:Gem::Version
361
- version: '1.0'
362
- type: :development
363
- prerelease: false
364
- version_requirements: !ruby/object:Gem::Requirement
365
- requirements:
366
- - - "~>"
367
- - !ruby/object:Gem::Version
368
- version: '1.0'
369
341
  - !ruby/object:Gem::Dependency
370
342
  name: rails-controller-testing
371
343
  requirement: !ruby/object:Gem::Requirement