caffeinate 2.0.0 → 2.0.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d84c243657ac1177c4f95941325ae508cd67e9a4dd1d27a7f8eb070d641ee49
|
4
|
+
data.tar.gz: c3541dc68d6611e673e235d9dcba55c584a1d854f1c0e38f3e379e391e88b5e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bdda981dbdec2d7b655def0cba92d475e176f22577878e4dec8f50cc48b0668bdee23d53eba0eabe800e3bb92b43b5f93493a81be744b5336e5217ff9046e4c
|
7
|
+
data.tar.gz: bbf2c4f17b7cee49956e7bf287497bffd653fde9920d343d75daae7c3b3a37c4ad2f2693c413b74ce9684628e0490b277b4b3b6d94feceac00c4afee9a7c6127
|
@@ -9,11 +9,11 @@ module Caffeinate
|
|
9
9
|
before_action :find_campaign_subscription!
|
10
10
|
|
11
11
|
def unsubscribe
|
12
|
-
@campaign_subscription.unsubscribe!
|
12
|
+
@campaign_subscription.unsubscribe!(true)
|
13
13
|
end
|
14
14
|
|
15
15
|
def subscribe
|
16
|
-
@campaign_subscription.resubscribe!
|
16
|
+
@campaign_subscription.resubscribe!(true)
|
17
17
|
end
|
18
18
|
|
19
19
|
private
|
data/lib/caffeinate/version.rb
CHANGED
data/lib/caffeinate.rb
CHANGED