fuli_the_guard 0.1.0 → 0.1.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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +3 -1
- data/{fuli.gemspec → fuli_the_guard.gemspec} +1 -1
- data/lib/fuli/config.rb +2 -2
- data/lib/fuli/version.rb +1 -1
- data/lib/fuli_the_guard.rb +1 -0
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8ed54d4ecfb97254fe4173362e4e083c6d02da7bd59ca14ea5edddfa60d47937
|
|
4
|
+
data.tar.gz: cad4ca834bc8382f6c7ab4de6d6add401ae8bd2a44a04d9c7a6fb1d90e11deec
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ecd23c3374c3cf82a17fecb7934ad164c6f012cb0b0b97672dd0c3000a6b577f4beb859aa2dd13e19ba4ad2505baf0f8da86c5125b6ea5a4468436980bf59b15
|
|
7
|
+
data.tar.gz: 86b5996ce02f8506bfa90fe088001e69f876cb3fe77c1f3cca29e87e13391d2b79404759befceabf3f0c9b5c5a84e43afc6d86f03d2b1ecb54dff418a556e9e4
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
# fuli
|
|
2
2
|
Respond to application errors with configurable notifiers
|
|
3
3
|
|
|
4
|
+
[](https://badge.fury.io/rb/fuli_the_guard)
|
|
5
|
+
|
|
4
6
|
### Install
|
|
5
7
|
|
|
6
8
|
```ruby
|
|
7
|
-
gem install
|
|
9
|
+
gem install fuli_the_guard
|
|
8
10
|
```
|
|
9
11
|
|
|
10
12
|
### Configuration
|
|
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
|
|
|
8
8
|
s.platform = Gem::Platform::RUBY
|
|
9
9
|
s.licenses = %w(MIT)
|
|
10
10
|
s.authors = ["Anton Magids"]
|
|
11
|
-
s.email = ["
|
|
11
|
+
s.email = ["evilnomadx@gmail.com"]
|
|
12
12
|
s.homepage = "https://github.com/restaurant-cheetah/fuli"
|
|
13
13
|
s.summary = "Respond to application errors with configurable notifiers."
|
|
14
14
|
s.description = "Respond to application errors with configurable notifiers."
|
data/lib/fuli/config.rb
CHANGED
|
@@ -6,8 +6,8 @@ module Fuli
|
|
|
6
6
|
|
|
7
7
|
def initialize(config_hash = {})
|
|
8
8
|
self.logger = config_hash[:logger]
|
|
9
|
-
self.warn_notifiers = config_hash[:warn_notifiers]
|
|
10
|
-
self.error_notifiers = config_hash[:error_notifiers]
|
|
9
|
+
self.warn_notifiers = config_hash[:warn_notifiers] || []
|
|
10
|
+
self.error_notifiers = config_hash[:error_notifiers] || []
|
|
11
11
|
merge(config_hash)
|
|
12
12
|
end
|
|
13
13
|
|
data/lib/fuli/version.rb
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require 'fuli'
|
metadata
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fuli_the_guard
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Anton Magids
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-08-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Respond to application errors with configurable notifiers.
|
|
14
14
|
email:
|
|
15
|
-
-
|
|
15
|
+
- evilnomadx@gmail.com
|
|
16
16
|
executables: []
|
|
17
17
|
extensions: []
|
|
18
18
|
extra_rdoc_files: []
|
|
@@ -23,10 +23,11 @@ files:
|
|
|
23
23
|
- LICENSE
|
|
24
24
|
- README.md
|
|
25
25
|
- Rakefile
|
|
26
|
-
-
|
|
26
|
+
- fuli_the_guard.gemspec
|
|
27
27
|
- lib/fuli.rb
|
|
28
28
|
- lib/fuli/config.rb
|
|
29
29
|
- lib/fuli/version.rb
|
|
30
|
+
- lib/fuli_the_guard.rb
|
|
30
31
|
- rubocop.yml
|
|
31
32
|
- spec/fuli_spec.rb
|
|
32
33
|
- spec/spec_helper.rb
|