honeybadger 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile.lock +1 -1
 - data/honeybadger.gemspec +2 -2
 - data/lib/honeybadger.rb +1 -1
 - data/lib/honeybadger/backtrace.rb +3 -3
 - data/lib/honeybadger/configuration.rb +1 -1
 - data/test/unit/configuration_test.rb +1 -1
 - metadata +2 -2
 
    
        data/Gemfile.lock
    CHANGED
    
    
    
        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. 
     | 
| 
       8 
     | 
    
         
            -
              s.date              = '2012-09- 
     | 
| 
      
 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
    
    
| 
         @@ -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. 
     | 
| 
      
 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?(: 
     | 
| 
       141 
     | 
    
         
            -
                     
     | 
| 
      
 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. 
     | 
| 
      
 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- 
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2012-09-29 00:00:00.000000000 Z
         
     | 
| 
       13 
13 
     | 
    
         
             
            dependencies:
         
     | 
| 
       14 
14 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       15 
15 
     | 
    
         
             
              name: json
         
     |