softwear-lib 2.0.6 → 2.0.7

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: 0eaeda85c59225e05e940178d29f81fc27240430
4
- data.tar.gz: f2d858ef236cded8b7cda0c737ed2b9f496b2f28
3
+ metadata.gz: 27dcf063c6d6668c670f3508f3e9dc378f0998c1
4
+ data.tar.gz: 2e838eb60272b678b6eee24ede5ee387352452ea
5
5
  SHA512:
6
- metadata.gz: 3349cf526c5e06c8bbdf036e803c696e40b8d5e6808e4d40f66b67376394a590a49142ece0df446d11cda1e12dce3e055fd1c12fd03f78c4a049939095eaebe7
7
- data.tar.gz: b28375893a0579179e1f34aa7615b27830c1fb8ea4e1d23362f6ba9e7b0a092edafad4ea60d03a7cf6b0c50c79da4d81489fd182c2bd872a49ba07a1d2496758
6
+ metadata.gz: 0b864121e30e1d79d851c49c381badf21507f93bd192fc055184abe9419f36f493436f8c56be6f5de123f7bb304f826685412b2de37606ac7a13430d88626d40
7
+ data.tar.gz: f2b3b46158dc6972a81f0d79d6c10cb38edf775109a4449fbfaa62dde8f94167bb3ec6119b8e6ad47fc9fa1b7316de13d6d47cd8cccd8ace80f0478753d01797
@@ -22,19 +22,20 @@ class ErrorReportMailer < ActionMailer::Base
22
22
  end
23
23
  end
24
24
 
25
- if @user.nil?
26
- @user = OpenStruct.new(
27
- email: 'unknown-user@annarbortees.com',
28
- full_name: 'Unknown Customer'
29
- )
30
- end
31
-
32
- @error_class = params[:error_class]
33
- @error_message = params[:error_message]
34
- @backtrace = params[:backtrace]
35
- @user_message = params[:user_message]
36
- @additional_info = params[:additional_info]
37
25
  end
26
+
27
+ if @user.nil?
28
+ @user = OpenStruct.new(
29
+ email: 'unknown-user@annarbortees.com',
30
+ full_name: 'Unknown Customer'
31
+ )
32
+ end
33
+
34
+ @error_class = params[:error_class]
35
+ @error_message = params[:error_message]
36
+ @backtrace = params[:backtrace]
37
+ @user_message = params[:user_message]
38
+ @additional_info = params[:additional_info]
38
39
 
39
40
  mail(
40
41
  from: from_customer ? 'customer-report@softwearcrm.com' : @user.email,
@@ -1,5 +1,5 @@
1
1
  module Softwear
2
2
  module Library
3
- VERSION = "2.0.6"
3
+ VERSION = "2.0.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: softwear-lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.6
4
+ version: 2.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nigel Baillie