honeybadger 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- honeybadger (1.2.0)
4
+ honeybadger (1.2.1)
5
5
  activesupport
6
6
  json
7
7
 
data/honeybadger.gemspec CHANGED
@@ -4,8 +4,8 @@ Gem::Specification.new do |s|
4
4
  s.rubygems_version = '1.3.5'
5
5
 
6
6
  s.name = 'honeybadger'
7
- s.version = '1.2.0'
8
- s.date = '2012-09-21'
7
+ s.version = '1.2.1'
8
+ s.date = '2012-09-29'
9
9
 
10
10
  s.summary = "Error reports you can be happy about."
11
11
  s.description = "Make managing application errors a more pleasant experience."
data/lib/honeybadger.rb CHANGED
@@ -19,7 +19,7 @@ require 'honeybadger/sender'
19
19
  require 'honeybadger/railtie' if defined?(Rails::Railtie)
20
20
 
21
21
  module Honeybadger
22
- VERSION = '1.2.0'
22
+ VERSION = '1.2.1'
23
23
  LOG_PREFIX = "** [Honeybadger] "
24
24
 
25
25
  HEADERS = {
@@ -114,7 +114,7 @@ module Honeybadger
114
114
  #
115
115
  # Returns array containing backtrace lines
116
116
  def to_ary
117
- lines.map { |l| { :number => l.number, :file => l.file, :method => l.method } }
117
+ lines.map { |l| { :number => l.filtered_number, :file => l.filtered_file, :method => l.filtered_method } }
118
118
  end
119
119
  alias :to_a :to_ary
120
120
 
@@ -137,8 +137,8 @@ module Honeybadger
137
137
  end
138
138
 
139
139
  def ==(other)
140
- if other.respond_to?(:lines)
141
- lines == other.lines
140
+ if other.respond_to?(:to_json)
141
+ to_json == other.to_json
142
142
  else
143
143
  false
144
144
  end
@@ -140,7 +140,7 @@ module Honeybadger
140
140
  @development_environments = %w(development test cucumber)
141
141
  @notifier_name = 'Honeybadger Notifier'
142
142
  @notifier_version = VERSION
143
- @notifier_url = 'https://github.com/honeybadger/honeybadger'
143
+ @notifier_url = 'https://github.com/honeybadger-io/honeybadger-ruby'
144
144
  @framework = 'Standalone'
145
145
  @user_information = 'Honeybadger Error {{error_id}}'
146
146
  @rescue_rake_exceptions = nil
@@ -13,7 +13,7 @@ class ConfigurationTest < Honeybadger::UnitTest
13
13
  assert_config_default :logger, nil
14
14
  assert_config_default :notifier_version, Honeybadger::VERSION
15
15
  assert_config_default :notifier_name, 'Honeybadger Notifier'
16
- assert_config_default :notifier_url, 'https://github.com/honeybadger/honeybadger'
16
+ assert_config_default :notifier_url, 'https://github.com/honeybadger-io/honeybadger-ruby'
17
17
  assert_config_default :secure, true
18
18
  assert_config_default :host, 'api.honeybadger.io'
19
19
  assert_config_default :http_open_timeout, 2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honeybadger
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-21 00:00:00.000000000 Z
12
+ date: 2012-09-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json