Permalink
Commits on Jan 5, 2013
  1. make sure we don't set env["airbrake.error_id"] for async notices

    shime committed Jan 5, 2013
    Setting this makes no sense, since this value is only used for informing
    the end user about the ID of the exception that she experienced. If
    Airbrake is used asynchronously, notice will probably be sent in the
    background, after the response.
    
    Closing #154
Commits on Dec 28, 2012
  1. Merge pull request #160 from adamvduke/master

    shime committed Dec 28, 2012
    Fix an error if not using ActionController::Base
  2. Merge pull request #161 from artfuldodger/patch-1

    shime committed Dec 28, 2012
    Use "get" instead of "match" for verify route
Commits on Dec 27, 2012
  1. Use "get" instead of "match" for verify route

    Jon Evans committed Dec 27, 2012
    Using match makes Rails 4 angry. This is the only issue I've encountered thus far for setting up Airbrake with a Rails 4 application.
    
    Details of Rails 4 anger:
    
    ➜  card-game git:(master) ✗ script/rails generate airbrake --api-key xxxxx
    
    
    
    
          create  config/initializers/airbrake.rb
             run  rake airbrake:test --trace from "."
    ** Invoke airbrake:test (first_time)
    ** Invoke environment (first_time)
    ** Execute environment
    ** Execute airbrake:test
    Configuration:
                      api_key: "xxxxx"
                   js_api_key: "xxxxx"
            backtrace_filters: [#<Proc:0x007fd5cb554ad0@/Users/jle/.rvm/gems/ruby-1.9.
     development_environments: []
           development_lookup: true
             environment_name: "development"
                         host: "api.airbrake.io"
            http_open_timeout: 2
            http_read_timeout: 5
                       ignore: ["ActiveRecord::RecordNotFound", "ActionController::Rou
            ignore_by_filters: []
            ignore_user_agent: []
                notifier_name: "Airbrake Notifier"
                 notifier_url: "https://github.com/airbrake/airbrake"
             notifier_version: "3.1.6"
               params_filters: ["password", "password_confirmation"]
                 project_root: #<Pathname:/Users/jle/personal/card-game>
                         port: 80
                     protocol: "http"
                   proxy_host: nil
                   proxy_pass: nil
                   proxy_port: nil
                   proxy_user: nil
                       secure: false
    use_system_ssl_cert_chain: false
                    framework: "Rails: 4.0.0.beta"
             user_information: "Airbrake Error {{error_id}}"
       rescue_rake_exceptions: nil
     rake_environment_filters: []
    Setting up the Controller.
    rake aborted!
    You should not use the `match` method in your router without specifying an HTTP method.
    If you want to expose your action to GET, use `get` in the router:
    
    
    
    
      Instead of: match "controller#action"
      Do: get "controller#action"
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/bundler/gems/rails-2283a1d62e36/actionpack/lib/action_dispatch/routing/mapper.rb:72:in `initialize'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/bundler/gems/rails-2283a1d62e36/actionpack/lib/action_dispatch/routing/mapper.rb:1371:in `new'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/bundler/gems/rails-2283a1d62e36/actionpack/lib/action_dispatch/routing/mapper.rb:1371:in `add_route'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/bundler/gems/rails-2283a1d62e36/actionpack/lib/action_dispatch/routing/mapper.rb:1351:in `decomposed_match'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/bundler/gems/rails-2283a1d62e36/actionpack/lib/action_dispatch/routing/mapper.rb:1337:in `block in match'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/bundler/gems/rails-2283a1d62e36/actionpack/lib/action_dispatch/routing/mapper.rb:1337:in `each'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/bundler/gems/rails-2283a1d62e36/actionpack/lib/action_dispatch/routing/mapper.rb:1337:in `match'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/gems/airbrake-3.1.6/lib/airbrake/rails3_tasks.rb:88:in `block (3 levels) in <top (required)>'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/bundler/gems/rails-2283a1d62e36/actionpack/lib/action_dispatch/routing/route_set.rb:281:in `instance_exec'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/bundler/gems/rails-2283a1d62e36/actionpack/lib/action_dispatch/routing/route_set.rb:281:in `eval_block'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/bundler/gems/rails-2283a1d62e36/actionpack/lib/action_dispatch/routing/route_set.rb:259:in `draw'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/gems/airbrake-3.1.6/lib/airbrake/rails3_tasks.rb:87:in `block (2 levels) in <top (required)>'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/gems/rake-10.0.3/lib/rake/task.rb:228:in `call'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/gems/rake-10.0.3/lib/rake/task.rb:228:in `block in execute'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/gems/rake-10.0.3/lib/rake/task.rb:223:in `each'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/gems/rake-10.0.3/lib/rake/task.rb:223:in `execute'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/gems/rake-10.0.3/lib/rake/task.rb:166:in `block in invoke_with_call_chain'
    /Users/jle/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/gems/rake-10.0.3/lib/rake/task.rb:159:in `invoke_with_call_chain'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/gems/rake-10.0.3/lib/rake/task.rb:152:in `invoke'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/gems/rake-10.0.3/lib/rake/application.rb:143:in `invoke_task'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/gems/rake-10.0.3/lib/rake/application.rb:101:in `block (2 levels) in top_level'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/gems/rake-10.0.3/lib/rake/application.rb:101:in `each'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/gems/rake-10.0.3/lib/rake/application.rb:101:in `block in top_level'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/gems/rake-10.0.3/lib/rake/application.rb:110:in `run_with_threads'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/gems/rake-10.0.3/lib/rake/application.rb:95:in `top_level'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/gems/rake-10.0.3/lib/rake/application.rb:73:in `block in run'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/gems/rake-10.0.3/lib/rake/application.rb:160:in `standard_exception_handling'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/gems/rake-10.0.3/lib/rake/application.rb:70:in `run'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/gems/rake-10.0.3/bin/rake:33:in `<top (required)>'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/bin/rake:19:in `load'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/bin/rake:19:in `<main>'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/bin/ruby_noexec_wrapper:14:in `eval'
    /Users/jle/.rvm/gems/ruby-1.9.3-p327@card-game/bin/ruby_noexec_wrapper:14:in `<main>'
    Tasks: TOP => airbrake:test
    false
    ➜  card-game git:(master) ✗ 
Commits on Dec 24, 2012
  1. fix an error if not using ActionController::Base

    adamvduke committed Dec 24, 2012
    Commit 3167c3e changed the logic for loading
    javascript_notifier.rb. The javascript notifier has a dependency on the
    "helper_method" method on ActionController::Base. When using an alternate
    controller such as ActionController::API provided by
    https://github.com/rails-api/rails-api this causes an
    "undefined method `helper_method'" error.
Commits on Dec 22, 2012
  1. Merge pull request #157 from lunks/user-virtual-attributes

    shime committed Dec 22, 2012
    Allow virtual attributes to be used in user data instead of just attributes
Commits on Dec 21, 2012
  1. Merge pull request #155 from jfriedlaender/patch-1

    shime committed Dec 21, 2012
    configuring development environments
  2. configuring development environments

    jfriedlaender committed Dec 21, 2012
    Added information on configuring development environments.  
    
    I was recently looking for this information and would have found it helpful if it was in the readme.
Commits on Dec 20, 2012
  1. unfreezing version

    shime committed Dec 20, 2012
  2. Merge pull request #152 from allspiritseve/master

    shime committed Dec 20, 2012
    Use https for rake airbrake:test if force_ssl set to true (fixes #145)
Commits on Dec 15, 2012
  1. fix typo

    shifi committed Dec 15, 2012
  2. better Sinatra handling

    shifi committed Dec 15, 2012
Commits on Dec 12, 2012
  1. update test suite to newer Rails versions

    shime committed Dec 12, 2012
    still needs some love
Commits on Dec 11, 2012
  1. Merge pull request #147 from krautcomputing/notify_or_ignore_instead_…

    shifi committed Dec 11, 2012
    …of_just_notify
    
    Use Airbrake.notify_or_ignore instead of just Airbrake.notify
Commits on Dec 10, 2012
  1. Use Airbrake.notify_or_ignore instead of just Airbrake.notify in noti…

    manuelmeurer committed Dec 10, 2012
    …fy_airbrake controller method
Commits on Dec 8, 2012
  1. Merge pull request #146 from wikyd/master

    shime committed Dec 8, 2012
    Fix broken Gemspec
  2. Fix broken gemspec with missing file names. MIT-LICENSE is now just c…

    wikyd committed Dec 8, 2012
    …alled LICENSE and there is no TESTING.md
Commits on Dec 6, 2012
Commits on Dec 5, 2012
  1. update thoughtbot logo

    shime committed Dec 5, 2012
Commits on Nov 29, 2012
  1. Merge pull request #142 from ryansouza/patch-1

    shime committed Nov 29, 2012
    Prettier rake exception actions
  2. Prettier rake exception actions

    ryansouza committed Nov 29, 2012
    Display rake exceptions as "rake#the_commandline_args"
    instad of "rake the_commandline_args#"
Commits on Nov 27, 2012
  1. update appraisals

    shime committed Nov 27, 2012
  2. Merge pull request #138 from cielavenir/javascript_notifier_options

    shime committed Nov 27, 2012
    airbrake_javascript_notifier_options should be externalized
Commits on Nov 16, 2012
  1. use specific version of builder

    shime committed Nov 16, 2012
Commits on Nov 12, 2012
  1. Update to Readme.md

    benarent committed Nov 12, 2012
  2. send framework info

    shime committed Nov 12, 2012
Commits on Nov 9, 2012
  1. update supported rails versions

    shime committed Nov 9, 2012