ddr-batch 1.4.0 → 1.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/mailers/ddr/batch/batch_processor_run_mailer.rb +1 -4
- data/lib/ddr/batch/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df5ca5211642e20d9091bea477674a46296b275e
|
4
|
+
data.tar.gz: 4679183d43d0e5a81ae2f39e8cb3858b0c581609
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 281c26fa8dee4d9494f6a6846858ea57923a251e310a27abb3ecb10d33c439e483d5170a829b6ff34521ea0c98f5ae46c98ee679a952241f404358c62267af6f
|
7
|
+
data.tar.gz: c747ae98799fc307d5ef5aba2020c0a81f1dcc9372eb72a55e52afa133854c2afc0abf26566d03e013b806242afe35c3380dc5d5c1fd28d594abbdbba4afa7e0
|
@@ -2,8 +2,6 @@ module Ddr::Batch
|
|
2
2
|
|
3
3
|
class BatchProcessorRunMailer < ActionMailer::Base
|
4
4
|
|
5
|
-
default :from => "noreply@duke.edu"
|
6
|
-
|
7
5
|
def send_notification(batch)
|
8
6
|
@batch = batch
|
9
7
|
@title = "Batch Processor Run #{@batch.status} #{@batch.outcome}"
|
@@ -12,9 +10,8 @@ module Ddr::Batch
|
|
12
10
|
@size = @batch.batch_objects.size
|
13
11
|
@handled = @batch.handled_count
|
14
12
|
@success = @batch.success_count
|
15
|
-
from = "#{`echo $USER`.strip}@#{@host}"
|
16
13
|
attachments["details.txt"] = File.read(@batch.logfile.path)
|
17
|
-
mail(
|
14
|
+
mail(to: @batch.user.email, subject: @subject)
|
18
15
|
end
|
19
16
|
|
20
17
|
end
|
data/lib/ddr/batch/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ddr-batch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Coble
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-06-
|
12
|
+
date: 2017-06-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|