honeybadger 3.0.0.beta2 → 3.0.0.beta3

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: f93eff3f54c852168c73a64d2c53c5535531c5c3
4
- data.tar.gz: d0b41bd0903fb2caba9688fafbeaf04a326a1ac4
3
+ metadata.gz: ef358343631ed41e76b4c190d9f9d4c2043b5b7f
4
+ data.tar.gz: e51e3bf906a01a7285a7a57984384aa052c277c9
5
5
  SHA512:
6
- metadata.gz: 17fd1fad8349d7c031eb68061e1b28fb08f99d3d54b11d4a49609d5951b78e6dbce9a25c136dc9daafe5b54d51aefdcae5cb409237e1e9cf20d08ece2a1ba248
7
- data.tar.gz: 4d762c28d58632ac56e5c2ff1440ee6f555f3df76c99a5262bd243c0e5390fc74b9050f471454f78e9b6f133397db63fa7bed4442cd95e608c45d970c618a27a
6
+ metadata.gz: 6df0419507347e6adc9d5431f2f010ead324c0b5a751648833fbbf0a40063f76e1f8b3dde309973c820f6f3546ae0f90ec40e5d08e776507c1ac6191b7292249
7
+ data.tar.gz: 99df9b3f9101ff54108b1b18f2333683949586009fee22c7c2ed08b12817d9d1672bca493505ee929778bbc7e798b990a0ab9a434c4ab358ec54c633bc9b903f
data/CHANGELOG.md CHANGED
@@ -64,6 +64,10 @@ adheres to [Semantic Versioning](http://semver.org/).
64
64
  - The deprecated `Honeybadger::Rack::MetricsReporter` middleware has been
65
65
  removed.
66
66
 
67
+ ### Fixed
68
+ - Arrays are no longer compacted during sanitization (`nil` values will be sent
69
+ as they originally appeared).
70
+
67
71
  ## [2.7.2] - 2016-12-12
68
72
  ### Fixed
69
73
  - Pass whole exception to `notify_or_ignore` (includes causes). -@CGamesPlay
@@ -25,6 +25,17 @@ module Honeybadger
25
25
 
26
26
  # Deprecated
27
27
  def start(config = {})
28
- true
28
+ raise NoMethodError, <<-WARNING
29
+ `Honeybadger.start` is no longer necessary and has been removed.
30
+
31
+ Use `Honeybadger.configure` to explicitly configure the agent from Ruby moving forward:
32
+
33
+ Honeybadger.configure do |config|
34
+ config.api_key = 'project api key'
35
+ config.exceptions.ignore += [CustomError]
36
+ end
37
+
38
+ See https://git.io/v1Sd4 for documentation.
39
+ WARNING
29
40
  end
30
41
  end
@@ -84,7 +84,7 @@ module Honeybadger
84
84
  return '[max depth reached]'.freeze if depth >= max_depth
85
85
  data.to_a.map do |value|
86
86
  sanitize(value, depth+1, stack, parents)
87
- end.compact
87
+ end
88
88
  when Numeric, TrueClass, FalseClass, NilClass
89
89
  data
90
90
  when String
@@ -1,4 +1,4 @@
1
1
  module Honeybadger
2
2
  # Public: The current String Honeybadger version.
3
- VERSION = '3.0.0.beta2'.freeze
3
+ VERSION = '3.0.0.beta3'.freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honeybadger
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.beta2
4
+ version: 3.0.0.beta3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Honeybadger Industries LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-13 00:00:00.000000000 Z
11
+ date: 2017-01-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Make managing application errors a more pleasant experience.
14
14
  email:
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  version: 1.3.1
141
141
  requirements: []
142
142
  rubyforge_project:
143
- rubygems_version: 2.5.1
143
+ rubygems_version: 2.5.2
144
144
  signing_key:
145
145
  specification_version: 4
146
146
  summary: Error reports you can be happy about.