change_manager 0.4.1 → 1.0.0
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d90245396a18d4b9b0bb296f56318332cf5779c5
|
4
|
+
data.tar.gz: a0220f591374e3f40b0c91ef88d562b75924f058
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0302257608242078b7bb4a9860a35f73c40dd239598cc493ee7497a87e772a0bd432d3440b26c1b88d8f9a8ba3bb1ea5b7cd12d5a77be00b8e7312e3da214216
|
7
|
+
data.tar.gz: 32717bfd6848e9727b6a05c43927f1fb0b44728a8ad22947f931c8ce1a474bf47de743a649583c6cf492b6914335c3eb1281afdeabfa2823f610a855d3d96fa7
|
@@ -2,7 +2,7 @@ module ChangeManager
|
|
2
2
|
module Manager
|
3
3
|
def queue_change(owner, change_type, context, target)
|
4
4
|
change_id = Change.new_change(owner, change_type, context, target)
|
5
|
-
Resque.enqueue_in(
|
5
|
+
Resque.enqueue_in(15.minutes, ChangeManager::BeginChange, change_id)
|
6
6
|
end
|
7
7
|
|
8
8
|
def process_change(change_id)
|
@@ -41,7 +41,6 @@ module ChangeManager
|
|
41
41
|
mailer = ChangeManager::NotificationMailer
|
42
42
|
if mailer.send_email(mailer.construct_email(changes))
|
43
43
|
changes.each { |change| change.notify }
|
44
|
-
byebug
|
45
44
|
return true
|
46
45
|
end
|
47
46
|
false
|