card-mod-follow 0.13.3 → 0.14.2

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: 750d6969a58109b7914abf69af9587e50e1b045a3cd1db38e4cd90932ddd3ee9
4
- data.tar.gz: d682fc10d679a01d467208a82d668279758ac98bf4d8cf0680f8288f706eb6d3
3
+ metadata.gz: 89536b57eb136690674e4762d7d4663c82ad42000449ff2986de9d12cdfee49f
4
+ data.tar.gz: 04fcbfb3fe979582c5a81598909d7a285065a0496c58ddaa284e08836ec77120
5
5
  SHA512:
6
- metadata.gz: 7ec67521363587da526cb8062c83b8bc136a58279cfa9b52065ad820d7b4c13aaa50bf48a6c3db4fb0599b3b176eaed1e18757c8ebbbd127e6f9bb026314955a
7
- data.tar.gz: 4d92abb6dff85783156fa578b352193352d89f8ad8c906c506ab84734f90afe58dfb6baeae59f193072708de7f72cb22ecd765b460ca354ebb8c8e816e4fa5a3
6
+ metadata.gz: d8d85edc90e6cd9251612ad3e993a5b8d24feb939fb18d77d3cb4ca1b3d9dd650b070ebd78cea7e8627ce9dc60e10ae3b83908730a5e032d8e5eb7ab246954f7
7
+ data.tar.gz: 890213ca1c68626f756d7160945ab3b4754ff52144d7fbf78a6eca9677d8ed38261a9ea9e21804a72d3bd93bba9879c285ca9973726cf15c7c1dfdd7a0b32d44
@@ -1,6 +1,6 @@
1
1
  FOLLOWER_IDS_CACHE_KEY = "FOLLOWER_IDS".freeze
2
2
 
3
- card_accessor :followers
3
+ card_accessor :followers, type: :list
4
4
 
5
5
  event :cache_expired_for_type_change, :store, on: :update, changed: %i[type_id name] do
6
6
  act_card&.schedule_preference_expiration
data/set/all/notify.rb CHANGED
@@ -7,7 +7,7 @@ event :silence_notifications, :initialize, when: :silence_notifications? do
7
7
  end
8
8
 
9
9
  def silence_notifications?
10
- !(Card::Env[:controller] || force_notifications)
10
+ !(Card::Env.controller || force_notifications)
11
11
  end
12
12
 
13
13
  event :notify_followers_after_save,
data/set/right/follow.rb CHANGED
@@ -10,10 +10,10 @@ def option_cards
10
10
  Card::FollowOption.cards.compact
11
11
  end
12
12
 
13
- def options_rule_card
13
+ def options_card
14
14
  Card.new(
15
15
  name: "follow_options_card",
16
- type_code: :pointer,
16
+ type: :list,
17
17
  content: option_cards.map { |oc| "[[#{oc.name}]]" }.join("\n")
18
18
  )
19
19
  end
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.13.3
4
+ version: 0.14.2
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: 2021-09-24 00:00:00.000000000 Z
13
+ date: 2022-01-08 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.103.3
21
+ version: 1.104.2
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.103.3
28
+ version: 1.104.2
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.13.3
35
+ version: 0.14.2
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.13.3
42
+ version: 0.14.2
43
43
  description: ''
44
44
  email:
45
45
  - info@decko.org
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  - !ruby/object:Gem::Version
107
107
  version: '0'
108
108
  requirements: []
109
- rubygems_version: 3.1.6
109
+ rubygems_version: 3.2.15
110
110
  signing_key:
111
111
  specification_version: 4
112
112
  summary: follower notifications