ddr-batch 1.4.0 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a07b84cc08e4a2b1f392ceae6a433f140a6bf9e8
4
- data.tar.gz: fc100cf2cbaee84d721d3e54438014a0f8e96d51
3
+ metadata.gz: df5ca5211642e20d9091bea477674a46296b275e
4
+ data.tar.gz: 4679183d43d0e5a81ae2f39e8cb3858b0c581609
5
5
  SHA512:
6
- metadata.gz: cbeab420d5f8f924b945efd4a68ae543d36d00ca496be1f5eadc4f119696ec68cb50ee19bef7d4de1bd0a23b5715d0194ff6df61478f55fbcb5b9f99d224fd51
7
- data.tar.gz: 033acebf97c719db824da841e7bf402d29a7501c09c6f006df732efb7fd3643d37b603b5e6fb9380ee9d687a10315539faf80366f156bf7132116b9deebd4539
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(from: from, to: @batch.user.email, subject: @subject)
14
+ mail(to: @batch.user.email, subject: @subject)
18
15
  end
19
16
 
20
17
  end
@@ -1,5 +1,5 @@
1
1
  module Ddr
2
2
  module Batch
3
- VERSION = "1.4.0"
3
+ VERSION = "1.4.1"
4
4
  end
5
5
  end
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.0
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-20 00:00:00.000000000 Z
12
+ date: 2017-06-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails