change_manager 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/services/change_manager/manager.rb +2 -1
- data/lib/change_manager/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07696595f4fe0a0dcb7d18278de1a3e0c344fb2a
|
4
|
+
data.tar.gz: 00a0243913e5b66ef84ab363c3027eaecd2bc4c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c537b712eab22df61a8e5a23f412c6d05c1a785252cdf5e5622ec4335cdfaa3997ccd35a01321726bf08eed7ff2828c963719c11f02694ee62dd05caa3cf3968
|
7
|
+
data.tar.gz: c6a65cb9533e51c9c7eb3ce3c9fd7daf3b29296cea1c923bdd4d302fd30c464d2600bb94d809a3f91ab26ddb96be39aecde1f62f7b4daf00d84e4e2dcd6f7220
|
@@ -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(7.minutes, ChangeManager::BeginChange, change_id)
|
6
6
|
end
|
7
7
|
|
8
8
|
def process_change(change_id)
|
@@ -41,6 +41,7 @@ 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
|
44
45
|
return true
|
45
46
|
end
|
46
47
|
false
|