card-mod-follow 0.17.0 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/set/all/follow.rb +1 -1
- data/set/all/notify/base_views.rb +2 -2
- data/set/right/follow.rb +4 -4
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eebdd4311fc697ea25598f38762c106619a212ce5d5fc58748d0a71ef14374c7
|
4
|
+
data.tar.gz: e56f9ae407213118bc436c86b43af1a04ed5d7e61230d2929292206d3e324810
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ce8168f22c1210c16e86d5a1335c3cd0b1f95577c11d6845ff119737d23fa0aec3cf480f24f34d41365e7eaccfa97c0995d5a154513e9279dbae7cabfaff76c
|
7
|
+
data.tar.gz: 4a99f5ecdba02e2d5105b92baf68565127784eb1a02654413a377878cafa85514fdd32a0d502af4fe4a364d5471ef57a22603215de0033f8f5e6a4dabbea873a
|
data/set/all/follow.rb
CHANGED
@@ -45,9 +45,9 @@ format do
|
|
45
45
|
view :unfollow_url, perms: :none, compact: true, cache: :never do
|
46
46
|
return "" unless (rule_name = live_follow_rule_name)
|
47
47
|
|
48
|
-
card_url path(mark:
|
48
|
+
card_url path(mark: [active_notice(:follower), :follow].cardname,
|
49
49
|
action: :update,
|
50
|
-
card: { subcards: { rule_name =>
|
50
|
+
card: { subcards: { rule_name => :never.cardname } })
|
51
51
|
end
|
52
52
|
|
53
53
|
def relevant_fields action
|
data/set/right/follow.rb
CHANGED
@@ -32,16 +32,16 @@ def ok_to_create?
|
|
32
32
|
permit :create
|
33
33
|
end
|
34
34
|
|
35
|
-
def ok_to_delete?
|
36
|
-
|
37
|
-
end
|
35
|
+
# def ok_to_delete?
|
36
|
+
# permit :delete
|
37
|
+
# end
|
38
38
|
|
39
39
|
def raw_help_text
|
40
40
|
"Get notified about changes"
|
41
41
|
end
|
42
42
|
|
43
43
|
def permit action, verb=nil
|
44
|
-
if %i[create delete update]
|
44
|
+
if action.in?(%i[create delete update]) && allowed_to_change_follow_status?
|
45
45
|
true
|
46
46
|
else
|
47
47
|
super action, verb
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: card-mod-follow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ethan McCutchen
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2024-
|
13
|
+
date: 2024-10-31 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: card
|
@@ -18,28 +18,28 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.
|
21
|
+
version: 1.108.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 1.
|
28
|
+
version: 1.108.0
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: card-mod-carrierwave
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
35
|
+
version: 0.18.0
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
42
|
+
version: 0.18.0
|
43
43
|
description: ''
|
44
44
|
email:
|
45
45
|
- info@decko.org
|
@@ -96,7 +96,7 @@ files:
|
|
96
96
|
- set/type_plus_right/user/follow/follow_editor_helper.rb
|
97
97
|
homepage: https://decko.org
|
98
98
|
licenses:
|
99
|
-
- GPL-3.0
|
99
|
+
- GPL-3.0-or-later
|
100
100
|
metadata:
|
101
101
|
source_code_uri: https://github.com/decko-commons/decko
|
102
102
|
homepage_uri: https://decko.org
|
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
- !ruby/object:Gem::Version
|
121
121
|
version: '0'
|
122
122
|
requirements: []
|
123
|
-
rubygems_version: 3.5.
|
123
|
+
rubygems_version: 3.5.7
|
124
124
|
signing_key:
|
125
125
|
specification_version: 4
|
126
126
|
summary: follower notifications
|