diff --git a/README.md b/README.md index e41282c..b0abc8d 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ for you. Checkout [Airbrake](http://airbrakeapp.com) from the guys over at 1. Clone the repository - git clone http://github.com/jdpace/errbit.git + git clone http://github.com/errbit/errbit.git 2. Create & configure for Heroku @@ -120,7 +120,7 @@ Upgrading --------- *Note*: When upgrading Errbit, please run: - 1. git pull origin master ( assuming origin is the github.com/jdpace/errbit repo ) + 1. git pull origin master ( assuming origin is the github.com/errbit/errbit repo ) 2. rake db:migrate If we change the way that data is stored, this will run any migrations to bring your database up to date. diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 287ddaa..a9e1bb5 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -31,6 +31,6 @@ - if content_for?(:comments) #content-comments = yield :comments - #footer= "Powered by #{link_to 'Errbit', 'http://github.com/jdpace/errbit', :target => '_blank'}: the open source error catcher.".html_safe + #footer= "Powered by #{link_to 'Errbit', 'http://github.com/errbit/errbit', :target => '_blank'}: the open source error catcher.".html_safe = yield :scripts diff --git a/public/javascripts/notifier.js b/public/javascripts/notifier.js index 47d28de..53515c0 100644 --- a/public/javascripts/notifier.js +++ b/public/javascripts/notifier.js @@ -6,7 +6,7 @@ var Errbit = { \ errbit_notifier_js\ 2.0\ - https://github.com/jdpace/errbit\ + https://github.com/errbit/errbit\ \ \ EXCEPTION_CLASS\ @@ -29,7 +29,7 @@ var Errbit = { notify: function(error) { var xml = escape(Errbit.generateXML(error)); - var host = Errbit.host || 'github.com/jdpace/errbit'; + var host = Errbit.host || 'github.com/errbit/errbit'; var url = '//' + host + '/notifier_api/v2/notices.xml?data=' + xml; var request = document.createElement('iframe'); diff --git a/public/mockup.html b/public/mockup.html index 85e0123..917949b 100644 --- a/public/mockup.html +++ b/public/mockup.html @@ -84,7 +84,7 @@ - + - \ No newline at end of file + diff --git a/spec/controllers/deploys_controller_spec.rb b/spec/controllers/deploys_controller_spec.rb index 0d75ec6..0d3477d 100644 --- a/spec/controllers/deploys_controller_spec.rb +++ b/spec/controllers/deploys_controller_spec.rb @@ -7,7 +7,7 @@ describe DeploysController do before do @params = { 'local_username' => 'john.doe', - 'scm_repository' => 'git@github.com/jdpace/errbit.git', + 'scm_repository' => 'git@github.com/errbit/errbit.git', 'rails_env' => 'production', 'scm_revision' => '19d77837eef37902cf5df7e4445c85f392a8d0d5', 'message' => 'johns first deploy' @@ -26,7 +26,7 @@ describe DeploysController do with({ :username => 'john.doe', :environment => 'production', - :repository => 'git@github.com/jdpace/errbit.git', + :repository => 'git@github.com/errbit/errbit.git', :revision => '19d77837eef37902cf5df7e4445c85f392a8d0d5', :message => 'johns first deploy' @@ -60,4 +60,4 @@ describe DeploysController do end end -end \ No newline at end of file +end diff --git a/spec/factories/app_factories.rb b/spec/factories/app_factories.rb index ba1b3c4..1f7a7a3 100644 --- a/spec/factories/app_factories.rb +++ b/spec/factories/app_factories.rb @@ -22,7 +22,7 @@ end Factory.define(:deploy) do |d| d.app {|p| p.association :app} d.username 'clyde.frog' - d.repository 'git@github.com/jdpace/errbit.git' + d.repository 'git@github.com/errbit/errbit.git' d.environment 'production' d.revision ActiveSupport::SecureRandom.hex(10) end diff --git a/spec/fixtures/hoptoad_test_notice.xml b/spec/fixtures/hoptoad_test_notice.xml index 34a1119..f1c863e 100644 --- a/spec/fixtures/hoptoad_test_notice.xml +++ b/spec/fixtures/hoptoad_test_notice.xml @@ -68,7 +68,7 @@ - + @@ -144,4 +144,4 @@ /path/to/sample/project development - \ No newline at end of file + diff --git a/spec/fixtures/hoptoad_test_notice_with_wrong_version.xml b/spec/fixtures/hoptoad_test_notice_with_wrong_version.xml index 5c317f4..b3bffb8 100644 --- a/spec/fixtures/hoptoad_test_notice_with_wrong_version.xml +++ b/spec/fixtures/hoptoad_test_notice_with_wrong_version.xml @@ -68,7 +68,7 @@ - + diff --git a/spec/fixtures/hoptoad_test_notice_without_request_section.xml b/spec/fixtures/hoptoad_test_notice_without_request_section.xml index d15efda..70b1bb2 100644 --- a/spec/fixtures/hoptoad_test_notice_without_request_section.xml +++ b/spec/fixtures/hoptoad_test_notice_without_request_section.xml @@ -68,7 +68,7 @@ - + @@ -89,4 +89,4 @@ /path/to/sample/project development - \ No newline at end of file + diff --git a/spec/models/app_spec.rb b/spec/models/app_spec.rb index bd1067c..2c1e8f6 100644 --- a/spec/models/app_spec.rb +++ b/spec/models/app_spec.rb @@ -44,40 +44,40 @@ describe App do end it 'does not touch https github urls' do - app = Factory.build(:app, :github_url => "https://github.com/jdpace/errbit") + app = Factory.build(:app, :github_url => "https://github.com/errbit/errbit") app.save - app.github_url.should == "https://github.com/jdpace/errbit" + app.github_url.should == "https://github.com/errbit/errbit" end it 'normalizes http github urls' do - app = Factory.build(:app, :github_url => "http://github.com/jdpace/errbit") + app = Factory.build(:app, :github_url => "http://github.com/errbit/errbit") app.save - app.github_url.should == "https://github.com/jdpace/errbit" + app.github_url.should == "https://github.com/errbit/errbit" end it 'normalizes public git repo as a github url' do - app = Factory.build(:app, :github_url => "https://github.com/jdpace/errbit.git") + app = Factory.build(:app, :github_url => "https://github.com/errbit/errbit.git") app.save - app.github_url.should == "https://github.com/jdpace/errbit" + app.github_url.should == "https://github.com/errbit/errbit" end it 'normalizes private git repo as a github url' do - app = Factory.build(:app, :github_url => "git@github.com:jdpace/errbit.git") + app = Factory.build(:app, :github_url => "git@github.com:errbit/errbit.git") app.save - app.github_url.should == "https://github.com/jdpace/errbit" + app.github_url.should == "https://github.com/errbit/errbit" end end context '#github_url_to_file' do it 'resolves to full path to file' do - app = Factory(:app, :github_url => "https://github.com/jdpace/errbit") - app.github_url_to_file('/path/to/file').should == "https://github.com/jdpace/errbit/blob/master/path/to/file" + app = Factory(:app, :github_url => "https://github.com/errbit/errbit") + app.github_url_to_file('/path/to/file').should == "https://github.com/errbit/errbit/blob/master/path/to/file" end end context '#github_url?' do it 'is true when there is a github_url' do - app = Factory(:app, :github_url => "https://github.com/jdpace/errbit") + app = Factory(:app, :github_url => "https://github.com/errbit/errbit") app.github_url?.should be_true end -- libgit2 0.21.2