Commit 5d7c1f6399d24ddf28f5d5937b635452cfbd66da
1 parent
2381c68b
Exists in
master
and in
1 other branch
Update github username
Showing
10 changed files
with
27 additions
and
27 deletions
Show diff stats
README.md
... | ... | @@ -81,7 +81,7 @@ for you. Checkout [Airbrake](http://airbrakeapp.com) from the guys over at |
81 | 81 | |
82 | 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 | 86 | 2. Create & configure for Heroku |
87 | 87 | |
... | ... | @@ -120,7 +120,7 @@ Upgrading |
120 | 120 | --------- |
121 | 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 | 124 | 2. rake db:migrate |
125 | 125 | |
126 | 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 | 31 | - if content_for?(:comments) |
32 | 32 | #content-comments |
33 | 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 | 35 | = yield :scripts |
36 | 36 | ... | ... |
public/javascripts/notifier.js
... | ... | @@ -6,7 +6,7 @@ var Errbit = { |
6 | 6 | <notifier>\ |
7 | 7 | <name>errbit_notifier_js</name>\ |
8 | 8 | <version>2.0</version>\ |
9 | - <url>https://github.com/jdpace/errbit</url>\ | |
9 | + <url>https://github.com/errbit/errbit</url>\ | |
10 | 10 | </notifier>\ |
11 | 11 | <error>\ |
12 | 12 | <class>EXCEPTION_CLASS</class>\ |
... | ... | @@ -29,7 +29,7 @@ var Errbit = { |
29 | 29 | |
30 | 30 | notify: function(error) { |
31 | 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 | 33 | var url = '//' + host + '/notifier_api/v2/notices.xml?data=' + xml; |
34 | 34 | var request = document.createElement('iframe'); |
35 | 35 | ... | ... |
public/mockup.html
... | ... | @@ -84,7 +84,7 @@ |
84 | 84 | </form> |
85 | 85 | </div> |
86 | 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 | 89 | </body> |
90 | -</html> | |
91 | 90 | \ No newline at end of file |
91 | +</html> | ... | ... |
spec/controllers/deploys_controller_spec.rb
... | ... | @@ -7,7 +7,7 @@ describe DeploysController do |
7 | 7 | before do |
8 | 8 | @params = { |
9 | 9 | 'local_username' => 'john.doe', |
10 | - 'scm_repository' => 'git@github.com/jdpace/errbit.git', | |
10 | + 'scm_repository' => 'git@github.com/errbit/errbit.git', | |
11 | 11 | 'rails_env' => 'production', |
12 | 12 | 'scm_revision' => '19d77837eef37902cf5df7e4445c85f392a8d0d5', |
13 | 13 | 'message' => 'johns first deploy' |
... | ... | @@ -26,7 +26,7 @@ describe DeploysController do |
26 | 26 | with({ |
27 | 27 | :username => 'john.doe', |
28 | 28 | :environment => 'production', |
29 | - :repository => 'git@github.com/jdpace/errbit.git', | |
29 | + :repository => 'git@github.com/errbit/errbit.git', | |
30 | 30 | :revision => '19d77837eef37902cf5df7e4445c85f392a8d0d5', |
31 | 31 | :message => 'johns first deploy' |
32 | 32 | |
... | ... | @@ -60,4 +60,4 @@ describe DeploysController do |
60 | 60 | end |
61 | 61 | end |
62 | 62 | |
63 | -end | |
64 | 63 | \ No newline at end of file |
64 | +end | ... | ... |
spec/factories/app_factories.rb
... | ... | @@ -22,7 +22,7 @@ end |
22 | 22 | Factory.define(:deploy) do |d| |
23 | 23 | d.app {|p| p.association :app} |
24 | 24 | d.username 'clyde.frog' |
25 | - d.repository 'git@github.com/jdpace/errbit.git' | |
25 | + d.repository 'git@github.com/errbit/errbit.git' | |
26 | 26 | d.environment 'production' |
27 | 27 | d.revision ActiveSupport::SecureRandom.hex(10) |
28 | 28 | end | ... | ... |
spec/fixtures/hoptoad_test_notice.xml
... | ... | @@ -68,7 +68,7 @@ |
68 | 68 | <line number="631" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="each"/> |
69 | 69 | <line number="631" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="execute"/> |
70 | 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 | 72 | <line number="590" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_with_call_chain"/> |
73 | 73 | <line number="583" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke"/> |
74 | 74 | <line number="2051" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_task"/> |
... | ... | @@ -144,4 +144,4 @@ |
144 | 144 | <project-root>/path/to/sample/project</project-root> |
145 | 145 | <environment-name>development</environment-name> |
146 | 146 | </server-environment> |
147 | -</notice> | |
148 | 147 | \ No newline at end of file |
148 | +</notice> | ... | ... |
spec/fixtures/hoptoad_test_notice_with_wrong_version.xml
... | ... | @@ -68,7 +68,7 @@ |
68 | 68 | <line number="631" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="each"/> |
69 | 69 | <line number="631" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="execute"/> |
70 | 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 | 72 | <line number="590" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_with_call_chain"/> |
73 | 73 | <line number="583" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke"/> |
74 | 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 | 68 | <line number="631" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="each"/> |
69 | 69 | <line number="631" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="execute"/> |
70 | 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 | 72 | <line number="590" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_with_call_chain"/> |
73 | 73 | <line number="583" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke"/> |
74 | 74 | <line number="2051" file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_task"/> |
... | ... | @@ -89,4 +89,4 @@ |
89 | 89 | <project-root>/path/to/sample/project</project-root> |
90 | 90 | <environment-name>development</environment-name> |
91 | 91 | </server-environment> |
92 | -</notice> | |
93 | 92 | \ No newline at end of file |
93 | +</notice> | ... | ... |
spec/models/app_spec.rb
... | ... | @@ -44,40 +44,40 @@ describe App do |
44 | 44 | end |
45 | 45 | |
46 | 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 | 48 | app.save |
49 | - app.github_url.should == "https://github.com/jdpace/errbit" | |
49 | + app.github_url.should == "https://github.com/errbit/errbit" | |
50 | 50 | end |
51 | 51 | |
52 | 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 | 54 | app.save |
55 | - app.github_url.should == "https://github.com/jdpace/errbit" | |
55 | + app.github_url.should == "https://github.com/errbit/errbit" | |
56 | 56 | end |
57 | 57 | |
58 | 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 | 60 | app.save |
61 | - app.github_url.should == "https://github.com/jdpace/errbit" | |
61 | + app.github_url.should == "https://github.com/errbit/errbit" | |
62 | 62 | end |
63 | 63 | |
64 | 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 | 66 | app.save |
67 | - app.github_url.should == "https://github.com/jdpace/errbit" | |
67 | + app.github_url.should == "https://github.com/errbit/errbit" | |
68 | 68 | end |
69 | 69 | end |
70 | 70 | |
71 | 71 | context '#github_url_to_file' do |
72 | 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 | 75 | end |
76 | 76 | end |
77 | 77 | |
78 | 78 | context '#github_url?' do |
79 | 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 | 81 | app.github_url?.should be_true |
82 | 82 | end |
83 | 83 | ... | ... |