mic_monitor_gem 0.2.1 → 0.2.5
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 +4 -4
- data/.rubocop.yml +7 -8
- data/Gemfile +6 -0
- data/Gemfile.lock +103 -0
- data/Rakefile +5 -1
- data/app/controller/mic_monitor_gem/ping_controller.rb +5 -0
- data/config/environments/production.rb +1 -1
- data/config/routes.rb +1 -1
- data/lib/mic_monitor_gem/engine.rb +5 -0
- data/lib/mic_monitor_gem/generator/mic_monitor_gem/install/USAGE +5 -0
- data/lib/mic_monitor_gem/generator/mic_monitor_gem/install/install_generator.rb +23 -0
- data/lib/mic_monitor_gem/version.rb +1 -1
- data/lib/mic_monitor_gem.rb +1 -3
- data/mic_monitor_gem-0.2.1.gem +0 -0
- data/mic_monitor_gem-0.2.2.gem +0 -0
- data/mic_monitor_gem-0.2.3.gem +0 -0
- data/mic_monitor_gem-0.2.4.gem +0 -0
- metadata +11 -4
- data/app/controller/mic_monitor_gem/application_controller.rb +0 -2
- data/app/controller/mic_monitor_gem/mic_monitor_gems_controller.rb +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb9a9719caedb0a70c6ffc97926999bd2d313edf747db41ca7854ee950e02a09
|
4
|
+
data.tar.gz: b90634b9f6771bba94ede49ff37eb55012b7c135e4fead0ba53e8d0dda5ea2c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df39ce9ba20b43422541a0721036d00c672eb16496e7ab00b739f13d191172eb75ba0c9b22e163ee0dd6e89a7e71c86ad9567ad24217dde02772706f6044c9a0
|
7
|
+
data.tar.gz: 129e044256ede039807cb9f2740c509c3b0e3e2b54fa52c52c5e8fca39eb6db1a55d5d484a5a49b98a6e3fadb48946f549d1abcdf58350cf1d3ad55913399f07
|
data/.rubocop.yml
CHANGED
@@ -1,11 +1,10 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
Exclude:
|
5
|
-
- "gemfiles/**/*"
|
1
|
+
Style/StringLiterals:
|
2
|
+
Enabled: true
|
3
|
+
EnforcedStyle: double_quotes
|
6
4
|
|
7
|
-
Style/
|
8
|
-
Enabled:
|
5
|
+
Style/StringLiteralsInInterpolation:
|
6
|
+
Enabled: true
|
7
|
+
EnforcedStyle: double_quotes
|
9
8
|
|
10
9
|
Layout/LineLength:
|
11
|
-
Max: 120
|
10
|
+
Max: 120
|
data/Gemfile
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,103 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
mic_monitor_gem (0.2.4)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
actionmailer (6.1.4.1)
|
10
|
+
actionpack (= 6.1.4.1)
|
11
|
+
actionview (= 6.1.4.1)
|
12
|
+
activejob (= 6.1.4.1)
|
13
|
+
activesupport (= 6.1.4.1)
|
14
|
+
mail (~> 2.5, >= 2.5.4)
|
15
|
+
rails-dom-testing (~> 2.0)
|
16
|
+
actionpack (6.1.4.1)
|
17
|
+
actionview (= 6.1.4.1)
|
18
|
+
activesupport (= 6.1.4.1)
|
19
|
+
rack (~> 2.0, >= 2.0.9)
|
20
|
+
rack-test (>= 0.6.3)
|
21
|
+
rails-dom-testing (~> 2.0)
|
22
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
23
|
+
actionview (6.1.4.1)
|
24
|
+
activesupport (= 6.1.4.1)
|
25
|
+
builder (~> 3.1)
|
26
|
+
erubi (~> 1.4)
|
27
|
+
rails-dom-testing (~> 2.0)
|
28
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
29
|
+
activejob (6.1.4.1)
|
30
|
+
activesupport (= 6.1.4.1)
|
31
|
+
globalid (>= 0.3.6)
|
32
|
+
activesupport (6.1.4.1)
|
33
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
34
|
+
i18n (>= 1.6, < 2)
|
35
|
+
minitest (>= 5.1)
|
36
|
+
tzinfo (~> 2.0)
|
37
|
+
zeitwerk (~> 2.3)
|
38
|
+
ast (2.4.2)
|
39
|
+
builder (3.2.4)
|
40
|
+
concurrent-ruby (1.1.9)
|
41
|
+
crass (1.0.6)
|
42
|
+
erubi (1.10.0)
|
43
|
+
exception_notification (4.4.3)
|
44
|
+
actionmailer (>= 4.0, < 7)
|
45
|
+
activesupport (>= 4.0, < 7)
|
46
|
+
globalid (0.5.2)
|
47
|
+
activesupport (>= 5.0)
|
48
|
+
i18n (1.8.11)
|
49
|
+
concurrent-ruby (~> 1.0)
|
50
|
+
loofah (2.12.0)
|
51
|
+
crass (~> 1.0.2)
|
52
|
+
nokogiri (>= 1.5.9)
|
53
|
+
mail (2.7.1)
|
54
|
+
mini_mime (>= 0.1.1)
|
55
|
+
mini_mime (1.1.2)
|
56
|
+
minitest (5.14.4)
|
57
|
+
nokogiri (1.12.5-x86_64-linux)
|
58
|
+
racc (~> 1.4)
|
59
|
+
parallel (1.21.0)
|
60
|
+
parser (3.0.2.0)
|
61
|
+
ast (~> 2.4.1)
|
62
|
+
racc (1.6.0)
|
63
|
+
rack (2.2.3)
|
64
|
+
rack-test (1.1.0)
|
65
|
+
rack (>= 1.0, < 3)
|
66
|
+
rails-dom-testing (2.0.3)
|
67
|
+
activesupport (>= 4.2.0)
|
68
|
+
nokogiri (>= 1.6)
|
69
|
+
rails-html-sanitizer (1.4.2)
|
70
|
+
loofah (~> 2.3)
|
71
|
+
rainbow (3.0.0)
|
72
|
+
rake (13.0.6)
|
73
|
+
regexp_parser (2.1.1)
|
74
|
+
rexml (3.2.5)
|
75
|
+
rubocop (0.93.1)
|
76
|
+
parallel (~> 1.10)
|
77
|
+
parser (>= 2.7.1.5)
|
78
|
+
rainbow (>= 2.2.2, < 4.0)
|
79
|
+
regexp_parser (>= 1.8)
|
80
|
+
rexml
|
81
|
+
rubocop-ast (>= 0.6.0)
|
82
|
+
ruby-progressbar (~> 1.7)
|
83
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
84
|
+
rubocop-ast (1.13.0)
|
85
|
+
parser (>= 3.0.1.1)
|
86
|
+
ruby-progressbar (1.11.0)
|
87
|
+
tzinfo (2.0.4)
|
88
|
+
concurrent-ruby (~> 1.0)
|
89
|
+
unicode-display_width (1.8.0)
|
90
|
+
zeitwerk (2.5.1)
|
91
|
+
|
92
|
+
PLATFORMS
|
93
|
+
x86_64-linux
|
94
|
+
|
95
|
+
DEPENDENCIES
|
96
|
+
exception_notification
|
97
|
+
mic_monitor_gem!
|
98
|
+
minitest (~> 5.0)
|
99
|
+
rake (~> 13.0)
|
100
|
+
rubocop (~> 0.80)
|
101
|
+
|
102
|
+
BUNDLED WITH
|
103
|
+
2.2.3
|
data/Rakefile
CHANGED
data/config/routes.rb
CHANGED
@@ -0,0 +1,23 @@
|
|
1
|
+
module MicMonitorGem
|
2
|
+
class InstallGenerator < Rails::Generators::Base
|
3
|
+
source_root File.expand_path('../templates', __FILE__)
|
4
|
+
|
5
|
+
ENV_PATH = "#{Rails.root}/config/environments/production.rb"
|
6
|
+
|
7
|
+
def add_config_email_to_env_produciton
|
8
|
+
append_to_file ENV_PATH do
|
9
|
+
<<-'RUBY'
|
10
|
+
Rails.application.config.middleware.use ExceptionNotification::Rack,
|
11
|
+
email: {
|
12
|
+
deliver_with: :deliver, # Rails >= 4.2.1 do not need this option since it defaults to :deliver_now
|
13
|
+
email_prefix: '[PREFIX] ',
|
14
|
+
sender_address: %{"notifier" <notifier@example.com>},
|
15
|
+
exception_recipients: %w{exceptions@example.com}
|
16
|
+
}
|
17
|
+
RUBY
|
18
|
+
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
end
|
data/lib/mic_monitor_gem.rb
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mic_monitor_gem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mic-locnv
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: call Rspec or features to check and send notification
|
14
14
|
email:
|
@@ -21,16 +21,19 @@ files:
|
|
21
21
|
- ".rubocop.yml"
|
22
22
|
- CODE_OF_CONDUCT.md
|
23
23
|
- Gemfile
|
24
|
+
- Gemfile.lock
|
24
25
|
- LICENSE.txt
|
25
26
|
- README.md
|
26
27
|
- Rakefile
|
27
|
-
- app/controller/mic_monitor_gem/
|
28
|
-
- app/controller/mic_monitor_gem/mic_monitor_gems_controller.rb
|
28
|
+
- app/controller/mic_monitor_gem/ping_controller.rb
|
29
29
|
- bin/console
|
30
30
|
- bin/setup
|
31
31
|
- config/environments/production.rb
|
32
32
|
- config/routes.rb
|
33
33
|
- lib/mic_monitor_gem.rb
|
34
|
+
- lib/mic_monitor_gem/engine.rb
|
35
|
+
- lib/mic_monitor_gem/generator/mic_monitor_gem/install/USAGE
|
36
|
+
- lib/mic_monitor_gem/generator/mic_monitor_gem/install/install_generator.rb
|
34
37
|
- lib/mic_monitor_gem/version.rb
|
35
38
|
- mic_monitor_gem-0.1.0.gem
|
36
39
|
- mic_monitor_gem-0.1.1.gem
|
@@ -43,6 +46,10 @@ files:
|
|
43
46
|
- mic_monitor_gem-0.1.8.gem
|
44
47
|
- mic_monitor_gem-0.1.9.gem
|
45
48
|
- mic_monitor_gem-0.2.0.gem
|
49
|
+
- mic_monitor_gem-0.2.1.gem
|
50
|
+
- mic_monitor_gem-0.2.2.gem
|
51
|
+
- mic_monitor_gem-0.2.3.gem
|
52
|
+
- mic_monitor_gem-0.2.4.gem
|
46
53
|
- mic_monitor_gem.gemspec
|
47
54
|
homepage: https://github.com/miclabs/mic_monitor_gem
|
48
55
|
licenses:
|