adhearsion-reporter 2.3.0 → 2.3.1

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
- SHA1:
3
- metadata.gz: ec2c37b4f5eef7bcb2043cefafffbd1ed37ec383
4
- data.tar.gz: 4d27ff1303bb6c056984d1105ea293dd001ce3ba
2
+ SHA256:
3
+ metadata.gz: 755d68da4dad727d15bc9e5deb8034b430d8e534517e1f4185096ac3a41b1c6d
4
+ data.tar.gz: 6166dad235b2fb705eaaef5af1af4f92c4455f49de303a3d0274531b929ce290
5
5
  SHA512:
6
- metadata.gz: f1941c31050ad07f5f63cd0e447e7864cfd694e6c01aac6e325847a5aaae7fdd79a2ed2a549780f4bdb24021e6f2a641d75731bf3057f1d0821babfbf9ade33e
7
- data.tar.gz: f5dc6a8c8ae83cc4bdbf5424d10cbedefc09657aadf55207f711018db7932dea9aa85283a81c5884790382ea30b319a389c7c5b6e488587e2c6b482e7a943e52
6
+ metadata.gz: 2dcaa52776007ab9eb4125f939bb3356862eabd4721dd294b516b1de033b9255eb273c916889de2f09f9134d5a5eafca36b987e63809a4a990099af5c55bef15
7
+ data.tar.gz: 188a3ed3218b5f00de63df7ccf995d6181a0a612595cbff3216ea5fa5347a37979ec3a9b0840acbad8d1f8cd5f6ff75769bab58a430fc55921fdcef23387db65
@@ -1,5 +1,8 @@
1
1
  # develop
2
2
 
3
+ # v2.3.1
4
+ * Fix Sentry reporting
5
+
3
6
  # v2.3.0
4
7
  * Allow reporting of custom environment to Airbrake
5
8
 
data/README.md CHANGED
@@ -5,6 +5,7 @@ Report Adhearsion application exceptions and deployments to:
5
5
 
6
6
  * [Airbrake](http://airbrake.io)
7
7
  * [Errbit](https://github.com/errbit/errbit)
8
+ * [Sentry](https://sentry.io/)
8
9
 
9
10
  This Adhearsion plugin requires Adhearsion 2.0 or later. For Adhearsion 1.0 try the previous version of this gem [ahn_hoptoad](https://github.com/mojolingo/ahn_hoptoad)
10
11
 
@@ -27,7 +27,7 @@ EOF
27
27
  s.add_runtime_dependency "toadhopper", [">= 1.3.0"]
28
28
  s.add_runtime_dependency "newrelic_rpm", ["~> 3.6"]
29
29
  s.add_runtime_dependency "pony", ["~> 1.10"]
30
- s.add_runtime_dependency "sentry-raven", ["~> 0.15.0"]
30
+ s.add_runtime_dependency "sentry-raven", ["~> 2.0"]
31
31
 
32
32
  s.add_development_dependency 'guard-rspec'
33
33
  s.add_development_dependency 'timecop'
@@ -43,7 +43,9 @@ module Adhearsion
43
43
  sentry {
44
44
  dsn 'https://<user>:<password>@app.getsentry.com/<application>', desc: "The SENTRY_DSN, or client key that has been created in Sentry"
45
45
  current_environment 'production', 'The current execution environment'
46
- environments ['production'], 'The environments for which Sentry is active'
46
+ environments ['production'],
47
+ desc: 'The environments for which Sentry is active',
48
+ transform: Proc.new { |v| v.split(',').map { |n| n.to_s } }
47
49
  }
48
50
  end
49
51
 
@@ -9,7 +9,7 @@ module Adhearsion
9
9
 
10
10
  def init
11
11
  Raven.configure do |config|
12
- Reporter.config.sentry.each do |k,v|
12
+ Reporter.config.sentry.to_hash.each do |k,v|
13
13
  config.send("#{k}=", v) unless v.nil?
14
14
  end
15
15
  end
@@ -1,5 +1,5 @@
1
1
  module Adhearsion
2
2
  class Reporter
3
- VERSION = '2.3.0'
3
+ VERSION = '2.3.1'
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.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Klang
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-16 00:00:00.000000000 Z
11
+ date: 2018-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: adhearsion
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.15.0
75
+ version: '2.0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.15.0
82
+ version: '2.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: guard-rspec
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -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.5.1
162
+ rubygems_version: 2.7.3
163
163
  signing_key:
164
164
  specification_version: 4
165
165
  summary: Report Adhearsion application deployments and exceptions