From 582dce92bc2fc283f822e4b90790003ac6199c3b Mon Sep 17 00:00:00 2001 From: Stuart Chaney Date: Tue, 18 Oct 2011 23:45:19 -0700 Subject: [PATCH] point towards airbrake.io --- README.md | 8 ++++---- airbrake.gemspec | 4 ++-- features/rails_with_js_notifier.feature | 2 +- features/step_definitions/airbrake_shim.rb.template | 4 ++-- features/step_definitions/rails_application_steps.rb | 2 +- features/support/airbrake_shim.rb.template | 4 ++-- lib/airbrake/configuration.rb | 6 +++--- lib/airbrake/shared_tasks.rb | 2 +- lib/airbrake_tasks.rb | 2 +- lib/templates/rescue.erb | 2 +- script/integration_test.rb | 2 +- test/airbrake_tasks_test.rb | 4 ++-- test/configuration_test.rb | 4 ++-- test/sender_test.rb | 12 ++++++------ 14 files changed, 29 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 7104799ba..07ec32dfb 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Airbrake ======== -This is the notifier gem for integrating apps with [Airbrake](http://airbrakeapp.com). +This is the notifier gem for integrating apps with [Airbrake](http://airbrake.io). When an uncaught exception occurs, Airbrake will POST the relevant data to the Airbrake server specified in your environment. @@ -9,7 +9,7 @@ to the Airbrake server specified in your environment. Help ---- -For help with using Airbrake and this notifier visit [our support site](http://help.airbrakeapp.com) +For help with using Airbrake and this notifier visit [our support site](http://help.airbrake.io) For discussion of Airbrake development check out the [mailing list](http://groups.google.com/group/hoptoad-notifier-dev) @@ -86,7 +86,7 @@ If it does, remove it. The new catcher is automatically included by the gem version of Airbrake. Before running the airbrake generator, you need to find your project's API key. -Log in to your account at airbrakeapp.com, and click on the "Projects" button. +Log in to your account at airbrake.io, and click on the "Projects" button. Then, find your project in the list, and click on its name. In the left-hand column, you'll see an "Edit this project" button. Click on that to get your project's API key. If you accidentally use your personal API auth_token, @@ -382,7 +382,7 @@ Supported Rails versions See SUPPORTED_RAILS_VERSIONS for a list of official supported versions of Rails. -Please open up a support ticket ( http://help.airbrakeapp.com ) if +Please open up a support ticket ( http://help.airbrake.io ) if you're using a version of Rails that is listed above and the notifier is not working properly. diff --git a/airbrake.gemspec b/airbrake.gemspec index d66897ecf..fc4af8042 100644 --- a/airbrake.gemspec +++ b/airbrake.gemspec @@ -27,8 +27,8 @@ Gem::Specification.new do |s| s.add_development_dependency("capistrano", "~> 2.8.0") s.authors = ["thoughtbot, inc"] - s.email = %q{support@airbrakeapp.com} - s.homepage = "http://www.airbrakeapp.com" + s.email = %q{support@airbrake.io} + s.homepage = "http://www.airbrake.io" s.platform = Gem::Platform::RUBY end diff --git a/features/rails_with_js_notifier.feature b/features/rails_with_js_notifier.feature index b0847c4fc..9f9a6da30 100644 --- a/features/rails_with_js_notifier.feature +++ b/features/rails_with_js_notifier.feature @@ -19,7 +19,7 @@ Feature: Install the Gem in a Rails application and enable the JavaScript notifi And I perform a request to "http://example.com:123/test/index" Then I should see the notifier JavaScript for the following: | api_key | environment | host | - | myapikey | production | airbrakeapp.com | + | myapikey | production | airbrake.io | And the notifier JavaScript should provide the following errorDefaults: | url | component | action | | http://example.com:123/test/index | test | index | diff --git a/features/step_definitions/airbrake_shim.rb.template b/features/step_definitions/airbrake_shim.rb.template index 01ec94029..2efa38b26 100644 --- a/features/step_definitions/airbrake_shim.rb.template +++ b/features/step_definitions/airbrake_shim.rb.template @@ -1,13 +1,13 @@ require 'sham_rack' -ShamRack.at("airbrakeapp.com") do |env| +ShamRack.at("airbrake.io") do |env| xml = env['rack.input'].read puts "Recieved the following exception:\n#{xml}" response = <<-end_xml 3799307 - http://sample.airbrakeapp.com/errors/3799307/notices/643732254 + http://sample.airbrake.io/errors/3799307/notices/643732254 643732254 end_xml diff --git a/features/step_definitions/rails_application_steps.rb b/features/step_definitions/rails_application_steps.rb index 29319127f..356179d22 100644 --- a/features/step_definitions/rails_application_steps.rb +++ b/features/step_definitions/rails_application_steps.rb @@ -363,7 +363,7 @@ def rails_non_initializer_airbrake_config_file Then /^I should see the notifier JavaScript for the following:$/ do |table| hash = table.hashes.first - host = hash['host'] || 'airbrakeapp.com' + host = hash['host'] || 'airbrake.io' secure = hash['secure'] || false api_key = hash['api_key'] environment = hash['environment'] || 'production' diff --git a/features/support/airbrake_shim.rb.template b/features/support/airbrake_shim.rb.template index 01ec94029..2efa38b26 100644 --- a/features/support/airbrake_shim.rb.template +++ b/features/support/airbrake_shim.rb.template @@ -1,13 +1,13 @@ require 'sham_rack' -ShamRack.at("airbrakeapp.com") do |env| +ShamRack.at("airbrake.io") do |env| xml = env['rack.input'].read puts "Recieved the following exception:\n#{xml}" response = <<-end_xml 3799307 - http://sample.airbrakeapp.com/errors/3799307/notices/643732254 + http://sample.airbrake.io/errors/3799307/notices/643732254 643732254 end_xml diff --git a/lib/airbrake/configuration.rb b/lib/airbrake/configuration.rb index 3617a3267..f0877034f 100644 --- a/lib/airbrake/configuration.rb +++ b/lib/airbrake/configuration.rb @@ -13,7 +13,7 @@ class Configuration # The API key for your project, found on the project edit form. attr_accessor :api_key - # The host to connect to (defaults to airbrakeapp.com). + # The host to connect to (defaults to airbrake.io). attr_accessor :host # The port on which your Airbrake server runs (defaults to 443 for secure @@ -123,7 +123,7 @@ class Configuration def initialize @secure = false - @host = 'airbrakeapp.com' + @host = 'airbrake.io' @http_open_timeout = 2 @http_read_timeout = 5 @params_filters = DEFAULT_PARAMS_FILTERS.dup @@ -135,7 +135,7 @@ def initialize @development_lookup = true @notifier_name = 'Airbrake Notifier' @notifier_version = VERSION - @notifier_url = 'http://airbrakeapp.com' + @notifier_url = 'http://airbrake.io' @framework = 'Standalone' @user_information = 'Airbrake Error {{error_id}}' @rescue_rake_exceptions = nil diff --git a/lib/airbrake/shared_tasks.rb b/lib/airbrake/shared_tasks.rb index fe07b6162..bd61c4c69 100644 --- a/lib/airbrake/shared_tasks.rb +++ b/lib/airbrake/shared_tasks.rb @@ -21,7 +21,7 @@ heroku_api_key = `heroku console 'puts ENV[%{HOPTOAD_API_KEY}]' | head -n 1`.strip heroku_rails_env = `heroku console 'puts RAILS_ENV' | head -n 1`.strip - command = %Q(heroku addons:add deployhooks:http url="http://airbrakeapp.com/deploys.txt?deploy[rails_env]=#{heroku_rails_env}&api_key=#{heroku_api_key}") + command = %Q(heroku addons:add deployhooks:http url="http://airbrake.io/deploys.txt?deploy[rails_env]=#{heroku_rails_env}&api_key=#{heroku_api_key}") puts "\nRunning:\n#{command}\n" puts `#{command}` diff --git a/lib/airbrake_tasks.rb b/lib/airbrake_tasks.rb index bc8f60986..6962b0453 100644 --- a/lib/airbrake_tasks.rb +++ b/lib/airbrake_tasks.rb @@ -29,7 +29,7 @@ def self.deploy(opts = {}) Airbrake.configuration.api_key} opts.each {|k,v| params["deploy[#{k}]"] = v } - host = Airbrake.configuration.host || 'airbrakeapp.com' + host = Airbrake.configuration.host || 'airbrake.io' port = Airbrake.configuration.port || (Airbrake.configuration.secure ? 443 : 80) proxy = Net::HTTP.Proxy(Airbrake.configuration.proxy_host, diff --git a/lib/templates/rescue.erb b/lib/templates/rescue.erb index 62e9f4d1c..c22390d26 100644 --- a/lib/templates/rescue.erb +++ b/lib/templates/rescue.erb @@ -76,7 +76,7 @@ window.onload = function() {