adhearsion-reporter 2.2.0 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +5 -0
- data/lib/adhearsion/reporter.rb +3 -0
- data/lib/adhearsion/reporter/airbrake_notifier.rb +1 -1
- data/lib/adhearsion/reporter/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec2c37b4f5eef7bcb2043cefafffbd1ed37ec383
|
4
|
+
data.tar.gz: 4d27ff1303bb6c056984d1105ea293dd001ce3ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1941c31050ad07f5f63cd0e447e7864cfd694e6c01aac6e325847a5aaae7fdd79a2ed2a549780f4bdb24021e6f2a641d75731bf3057f1d0821babfbf9ade33e
|
7
|
+
data.tar.gz: f5dc6a8c8ae83cc4bdbf5424d10cbedefc09657aadf55207f711018db7932dea9aa85283a81c5884790382ea30b319a389c7c5b6e488587e2c6b482e7a943e52
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,9 @@
|
|
1
1
|
# develop
|
2
|
+
|
3
|
+
# v2.3.0
|
4
|
+
* Allow reporting of custom environment to Airbrake
|
5
|
+
|
6
|
+
# v2.2.0
|
2
7
|
* New notifiers: EmailNotifier and SentryNotifier
|
3
8
|
* Allow configuring multiple notifiers as a list. The `notifier` option is deprecated in favour of `notifiers`, which can be used the same for a single notifier.
|
4
9
|
|
data/lib/adhearsion/reporter.rb
CHANGED
@@ -28,6 +28,9 @@ module Adhearsion
|
|
28
28
|
desc: "Collection of classes that will act as notifiers",
|
29
29
|
transform: Proc.new { |v| v.split(',').map { |n| n.to_s.constantize } }
|
30
30
|
enable true, desc: "Whether to send notifications - set to false to disable all notifications globally (useful for testing)"
|
31
|
+
env nil,
|
32
|
+
desc: "Custom environment for error reporting. May be different from the application environment.",
|
33
|
+
transform: Proc.new { |v| v.to_sym }
|
31
34
|
excluded_environments [:development, :test], desc: "Skip reporting errors for the listed environments (comma delimited when set by environment variable", transform: Proc.new { |v| names = v.split(','); names = names.each.map &:to_sym }
|
32
35
|
newrelic {
|
33
36
|
license_key 'MYKEY', desc: "Your license key for New Relic"
|
@@ -12,7 +12,7 @@ module Adhearsion
|
|
12
12
|
def init
|
13
13
|
@notifier = Toadhopper.new Reporter.config.api_key, :notify_host => Reporter.config.url
|
14
14
|
@options = {
|
15
|
-
framework_env: Adhearsion.config.platform.environment,
|
15
|
+
framework_env: Reporter.config.env || Adhearsion.config.platform.environment,
|
16
16
|
notifier_name: 'adhearsion-reporter',
|
17
17
|
notifier_version: Adhearsion::Reporter::VERSION,
|
18
18
|
project_root: Adhearsion.config.platform[:root],
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adhearsion-reporter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Klang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: adhearsion
|
@@ -159,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
159
159
|
version: '0'
|
160
160
|
requirements: []
|
161
161
|
rubyforge_project:
|
162
|
-
rubygems_version: 2.
|
162
|
+
rubygems_version: 2.5.1
|
163
163
|
signing_key:
|
164
164
|
specification_version: 4
|
165
165
|
summary: Report Adhearsion application deployments and exceptions
|