mic_monitor_gem 0.3.0 → 0.3.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fcbbdf5ac70b3a724b6451e0bf43c19cae3ee336af6a3aeafbdbc87e2eaa5dd9
|
4
|
+
data.tar.gz: 7ca4df1b08916c3106850d01292ee1c6967913ef34940bf15392bdc0c66a9f25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71acf0138f48c2d665b79658c1a6983886da2a4a09f414beef31af12c8529f4d94020b2e6d9d54c5bd20e48d76c0a7c0ba6233156c4f4d9ff0dfc93ce9cd3706
|
7
|
+
data.tar.gz: e74ec2fc54680b63fdbd253bf9fa82cf859b67c09c72a5a8695f464bd25ea2db05e9e871435c30335898a1dd46c224909aff5b98a96aab995643a95201372b22
|
@@ -6,15 +6,15 @@ module MicMonitorGem
|
|
6
6
|
ENV_PATH = "#{Rails.root}/config/environments/production.rb"
|
7
7
|
|
8
8
|
def add_config_email_to_env_produciton
|
9
|
-
|
9
|
+
inject_into_file ENV_PATH, before: "end"do
|
10
10
|
<<-'RUBY'
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
11
|
+
Rails.application.config.middleware.use ExceptionNotification::Rack,
|
12
|
+
email: {
|
13
|
+
deliver_with: :deliver, # Rails >= 4.2.1 do not need this option since it defaults to :deliver_now
|
14
|
+
email_prefix: ENV['EMAIL_PREFIX'],
|
15
|
+
sender_address: ENV['SENDER_ADDRESS'],
|
16
|
+
exception_recipients: ENV['EXCEPTION_RECINPIENTS']
|
17
|
+
}
|
18
18
|
RUBY
|
19
19
|
end
|
20
20
|
end
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mic_monitor_gem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mic-locnv
|
@@ -54,6 +54,7 @@ files:
|
|
54
54
|
- mic_monitor_gem-0.2.7.gem
|
55
55
|
- mic_monitor_gem-0.2.8.gem
|
56
56
|
- mic_monitor_gem-0.2.9.gem
|
57
|
+
- mic_monitor_gem-0.3.0.gem
|
57
58
|
- mic_monitor_gem.gemspec
|
58
59
|
homepage: https://github.com/miclabs/mic_monitor_gem
|
59
60
|
licenses:
|