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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2f64fe44bf22a4f443f8ea106405880fd6b8a072
4
- data.tar.gz: a6066fc3c57366b8c92f043d108397bf34ce73a7
3
+ metadata.gz: ec2c37b4f5eef7bcb2043cefafffbd1ed37ec383
4
+ data.tar.gz: 4d27ff1303bb6c056984d1105ea293dd001ce3ba
5
5
  SHA512:
6
- metadata.gz: 16cde73a7ca5a67970bd2beacc160b46155d2b54a4426bf0ff16c62fc8ce28de77cd7e590c4e82f1efcc6db1855a70d465efcc064edc2185aacca98521997da2
7
- data.tar.gz: 4f0091592f7ede2c3000e312e3d6a59cdbc7ece490a9f55eabd449ca77264ba0c7e6c83147045a91ded58930d53d5c00564c4408a52e868379acc68c637bf909
6
+ metadata.gz: f1941c31050ad07f5f63cd0e447e7864cfd694e6c01aac6e325847a5aaae7fdd79a2ed2a549780f4bdb24021e6f2a641d75731bf3057f1d0821babfbf9ade33e
7
+ data.tar.gz: f5dc6a8c8ae83cc4bdbf5424d10cbedefc09657aadf55207f711018db7932dea9aa85283a81c5884790382ea30b319a389c7c5b6e488587e2c6b482e7a943e52
@@ -4,6 +4,7 @@ rvm:
4
4
  - 1.9.3
5
5
  - 2.0.0
6
6
  - 2.1.0
7
+ - 2.2.2
7
8
  - jruby-19mode
8
9
  - rbx-19mode
9
10
  - ruby-head
@@ -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
 
@@ -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],
@@ -1,5 +1,5 @@
1
1
  module Adhearsion
2
2
  class Reporter
3
- VERSION = '2.2.0'
3
+ VERSION = '2.3.0'
4
4
  end
5
5
  end
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.2.0
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: 2016-01-04 00:00:00.000000000 Z
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.4.5
162
+ rubygems_version: 2.5.1
163
163
  signing_key:
164
164
  specification_version: 4
165
165
  summary: Report Adhearsion application deployments and exceptions