Commit 5d7c1f6399d24ddf28f5d5937b635452cfbd66da

Authored by Maxim Filatov
1 parent 2381c68b
Exists in master and in 1 other branch production

Update github username

@@ -81,7 +81,7 @@ for you. Checkout [Airbrake](http://airbrakeapp.com) from the guys over at @@ -81,7 +81,7 @@ for you. Checkout [Airbrake](http://airbrakeapp.com) from the guys over at
81 81
82 1. Clone the repository 82 1. Clone the repository
83 83
84 - git clone http://github.com/jdpace/errbit.git 84 + git clone http://github.com/errbit/errbit.git
85 85
86 2. Create & configure for Heroku 86 2. Create & configure for Heroku
87 87
@@ -120,7 +120,7 @@ Upgrading @@ -120,7 +120,7 @@ Upgrading
120 --------- 120 ---------
121 *Note*: When upgrading Errbit, please run: 121 *Note*: When upgrading Errbit, please run:
122 122
123 - 1. git pull origin master ( assuming origin is the github.com/jdpace/errbit repo ) 123 + 1. git pull origin master ( assuming origin is the github.com/errbit/errbit repo )
124 2. rake db:migrate 124 2. rake db:migrate
125 125
126 If we change the way that data is stored, this will run any migrations to bring your database up to date. 126 If we change the way that data is stored, this will run any migrations to bring your database up to date.
app/views/layouts/application.html.haml
@@ -31,6 +31,6 @@ @@ -31,6 +31,6 @@
31 - if content_for?(:comments) 31 - if content_for?(:comments)
32 #content-comments 32 #content-comments
33 = yield :comments 33 = yield :comments
34 - #footer= "Powered by #{link_to 'Errbit', 'http://github.com/jdpace/errbit', :target => '_blank'}: the open source error catcher.".html_safe 34 + #footer= "Powered by #{link_to 'Errbit', 'http://github.com/errbit/errbit', :target => '_blank'}: the open source error catcher.".html_safe
35 = yield :scripts 35 = yield :scripts
36 36
public/javascripts/notifier.js
@@ -6,7 +6,7 @@ var Errbit = { @@ -6,7 +6,7 @@ var Errbit = {
6 <notifier>\ 6 <notifier>\
7 <name>errbit_notifier_js</name>\ 7 <name>errbit_notifier_js</name>\
8 <version>2.0</version>\ 8 <version>2.0</version>\
9 - <url>https://github.com/jdpace/errbit</url>\ 9 + <url>https://github.com/errbit/errbit</url>\
10 </notifier>\ 10 </notifier>\
11 <error>\ 11 <error>\
12 <class>EXCEPTION_CLASS</class>\ 12 <class>EXCEPTION_CLASS</class>\
@@ -29,7 +29,7 @@ var Errbit = { @@ -29,7 +29,7 @@ var Errbit = {
29 29
30 notify: function(error) { 30 notify: function(error) {
31 var xml = escape(Errbit.generateXML(error)); 31 var xml = escape(Errbit.generateXML(error));
32 - var host = Errbit.host || 'github.com/jdpace/errbit'; 32 + var host = Errbit.host || 'github.com/errbit/errbit';
33 var url = '//' + host + '/notifier_api/v2/notices.xml?data=' + xml; 33 var url = '//' + host + '/notifier_api/v2/notices.xml?data=' + xml;
34 var request = document.createElement('iframe'); 34 var request = document.createElement('iframe');
35 35
public/mockup.html
@@ -84,7 +84,7 @@ @@ -84,7 +84,7 @@
84 </form> 84 </form>
85 </div> 85 </div>
86 </div> 86 </div>
87 - <div id='footer'>Powered by <a href="http://github.com/jdpace/errbit" target="_blank">Errbit</a>: the open source Hoptoad server.</div> 87 + <div id='footer'>Powered by <a href="http://github.com/errbit/errbit" target="_blank">Errbit</a>: the open source Hoptoad server.</div>
88 88
89 </body> 89 </body>
90 -</html>  
91 \ No newline at end of file 90 \ No newline at end of file
  91 +</html>
spec/controllers/deploys_controller_spec.rb
@@ -7,7 +7,7 @@ describe DeploysController do @@ -7,7 +7,7 @@ describe DeploysController do
7 before do 7 before do
8 @params = { 8 @params = {
9 'local_username' => 'john.doe', 9 'local_username' => 'john.doe',
10 - 'scm_repository' => 'git@github.com/jdpace/errbit.git', 10 + 'scm_repository' => 'git@github.com/errbit/errbit.git',
11 'rails_env' => 'production', 11 'rails_env' => 'production',
12 'scm_revision' => '19d77837eef37902cf5df7e4445c85f392a8d0d5', 12 'scm_revision' => '19d77837eef37902cf5df7e4445c85f392a8d0d5',
13 'message' => 'johns first deploy' 13 'message' => 'johns first deploy'
@@ -26,7 +26,7 @@ describe DeploysController do @@ -26,7 +26,7 @@ describe DeploysController do
26 with({ 26 with({
27 :username => 'john.doe', 27 :username => 'john.doe',
28 :environment => 'production', 28 :environment => 'production',
29 - :repository => 'git@github.com/jdpace/errbit.git', 29 + :repository => 'git@github.com/errbit/errbit.git',
30 :revision => '19d77837eef37902cf5df7e4445c85f392a8d0d5', 30 :revision => '19d77837eef37902cf5df7e4445c85f392a8d0d5',
31 :message => 'johns first deploy' 31 :message => 'johns first deploy'
32 32
@@ -60,4 +60,4 @@ describe DeploysController do @@ -60,4 +60,4 @@ describe DeploysController do
60 end 60 end
61 end 61 end
62 62
63 -end  
64 \ No newline at end of file 63 \ No newline at end of file
  64 +end
spec/factories/app_factories.rb
@@ -22,7 +22,7 @@ end @@ -22,7 +22,7 @@ end
22 Factory.define(:deploy) do |d| 22 Factory.define(:deploy) do |d|
23 d.app {|p| p.association :app} 23 d.app {|p| p.association :app}
24 d.username 'clyde.frog' 24 d.username 'clyde.frog'
25 - d.repository 'git@github.com/jdpace/errbit.git' 25 + d.repository 'git@github.com/errbit/errbit.git'
26 d.environment 'production' 26 d.environment 'production'
27 d.revision ActiveSupport::SecureRandom.hex(10) 27 d.revision ActiveSupport::SecureRandom.hex(10)
28 end 28 end
spec/fixtures/hoptoad_test_notice.xml
@@ -68,7 +68,7 @@ @@ -68,7 +68,7 @@
68 <line number="631" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="each"/> 68 <line number="631" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="each"/>
69 <line number="631" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="execute"/> 69 <line number="631" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="execute"/>
70 <line number="597" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_with_call_chain"/> 70 <line number="597" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_with_call_chain"/>
71 - <line number="242" file="/Users/jdpace/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/monitor.rb" method="synchronize"/> 71 + <line number="242" file="/Users/errbit/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/monitor.rb" method="synchronize"/>
72 <line number="590" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_with_call_chain"/> 72 <line number="590" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_with_call_chain"/>
73 <line number="583" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke"/> 73 <line number="583" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke"/>
74 <line number="2051" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_task"/> 74 <line number="2051" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_task"/>
@@ -144,4 +144,4 @@ @@ -144,4 +144,4 @@
144 <project-root>/path/to/sample/project</project-root> 144 <project-root>/path/to/sample/project</project-root>
145 <environment-name>development</environment-name> 145 <environment-name>development</environment-name>
146 </server-environment> 146 </server-environment>
147 -</notice>  
148 \ No newline at end of file 147 \ No newline at end of file
  148 +</notice>
spec/fixtures/hoptoad_test_notice_with_wrong_version.xml
@@ -68,7 +68,7 @@ @@ -68,7 +68,7 @@
68 <line number="631" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="each"/> 68 <line number="631" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="each"/>
69 <line number="631" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="execute"/> 69 <line number="631" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="execute"/>
70 <line number="597" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_with_call_chain"/> 70 <line number="597" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_with_call_chain"/>
71 - <line number="242" file="/Users/jdpace/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/monitor.rb" method="synchronize"/> 71 + <line number="242" file="/Users/errbit/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/monitor.rb" method="synchronize"/>
72 <line number="590" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_with_call_chain"/> 72 <line number="590" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_with_call_chain"/>
73 <line number="583" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke"/> 73 <line number="583" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke"/>
74 <line number="2051" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_task"/> 74 <line number="2051" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_task"/>
spec/fixtures/hoptoad_test_notice_without_request_section.xml
@@ -68,7 +68,7 @@ @@ -68,7 +68,7 @@
68 <line number="631" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="each"/> 68 <line number="631" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="each"/>
69 <line number="631" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="execute"/> 69 <line number="631" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="execute"/>
70 <line number="597" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_with_call_chain"/> 70 <line number="597" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_with_call_chain"/>
71 - <line number="242" file="/Users/jdpace/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/monitor.rb" method="synchronize"/> 71 + <line number="242" file="/Users/errbit/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/monitor.rb" method="synchronize"/>
72 <line number="590" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_with_call_chain"/> 72 <line number="590" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_with_call_chain"/>
73 <line number="583" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke"/> 73 <line number="583" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke"/>
74 <line number="2051" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_task"/> 74 <line number="2051" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_task"/>
@@ -89,4 +89,4 @@ @@ -89,4 +89,4 @@
89 <project-root>/path/to/sample/project</project-root> 89 <project-root>/path/to/sample/project</project-root>
90 <environment-name>development</environment-name> 90 <environment-name>development</environment-name>
91 </server-environment> 91 </server-environment>
92 -</notice>  
93 \ No newline at end of file 92 \ No newline at end of file
  93 +</notice>
spec/models/app_spec.rb
@@ -44,40 +44,40 @@ describe App do @@ -44,40 +44,40 @@ describe App do
44 end 44 end
45 45
46 it 'does not touch https github urls' do 46 it 'does not touch https github urls' do
47 - app = Factory.build(:app, :github_url => "https://github.com/jdpace/errbit") 47 + app = Factory.build(:app, :github_url => "https://github.com/errbit/errbit")
48 app.save 48 app.save
49 - app.github_url.should == "https://github.com/jdpace/errbit" 49 + app.github_url.should == "https://github.com/errbit/errbit"
50 end 50 end
51 51
52 it 'normalizes http github urls' do 52 it 'normalizes http github urls' do
53 - app = Factory.build(:app, :github_url => "http://github.com/jdpace/errbit") 53 + app = Factory.build(:app, :github_url => "http://github.com/errbit/errbit")
54 app.save 54 app.save
55 - app.github_url.should == "https://github.com/jdpace/errbit" 55 + app.github_url.should == "https://github.com/errbit/errbit"
56 end 56 end
57 57
58 it 'normalizes public git repo as a github url' do 58 it 'normalizes public git repo as a github url' do
59 - app = Factory.build(:app, :github_url => "https://github.com/jdpace/errbit.git") 59 + app = Factory.build(:app, :github_url => "https://github.com/errbit/errbit.git")
60 app.save 60 app.save
61 - app.github_url.should == "https://github.com/jdpace/errbit" 61 + app.github_url.should == "https://github.com/errbit/errbit"
62 end 62 end
63 63
64 it 'normalizes private git repo as a github url' do 64 it 'normalizes private git repo as a github url' do
65 - app = Factory.build(:app, :github_url => "git@github.com:jdpace/errbit.git") 65 + app = Factory.build(:app, :github_url => "git@github.com:errbit/errbit.git")
66 app.save 66 app.save
67 - app.github_url.should == "https://github.com/jdpace/errbit" 67 + app.github_url.should == "https://github.com/errbit/errbit"
68 end 68 end
69 end 69 end
70 70
71 context '#github_url_to_file' do 71 context '#github_url_to_file' do
72 it 'resolves to full path to file' do 72 it 'resolves to full path to file' do
73 - app = Factory(:app, :github_url => "https://github.com/jdpace/errbit")  
74 - app.github_url_to_file('/path/to/file').should == "https://github.com/jdpace/errbit/blob/master/path/to/file" 73 + app = Factory(:app, :github_url => "https://github.com/errbit/errbit")
  74 + app.github_url_to_file('/path/to/file').should == "https://github.com/errbit/errbit/blob/master/path/to/file"
75 end 75 end
76 end 76 end
77 77
78 context '#github_url?' do 78 context '#github_url?' do
79 it 'is true when there is a github_url' do 79 it 'is true when there is a github_url' do
80 - app = Factory(:app, :github_url => "https://github.com/jdpace/errbit") 80 + app = Factory(:app, :github_url => "https://github.com/errbit/errbit")
81 app.github_url?.should be_true 81 app.github_url?.should be_true
82 end 82 end
83 83