Handle the GitHub org rename: sgmap -> betagouv

This commit is contained in:
gregoirenovel 2018-01-10 17:26:12 +01:00
parent e2bcace4ff
commit 289461d708
7 changed files with 7 additions and 7 deletions

View file

@ -3,7 +3,7 @@
= link_to 'SGMAP', "http://etatplateforme.modernisation.gouv.fr"
= Time.now.year
\-
= link_to 'Nouveautés', 'https://github.com/sgmap/tps/releases', target: '_blank'
= link_to 'Nouveautés', 'https://github.com/betagouv/tps/releases', target: '_blank'
\-
= link_to 'Statistiques', stats_path
\-

View file

@ -17,7 +17,7 @@
%li.footer-link
%a{ href: '#', 'data-token' => '11c89e7ddb46fbcdcb7f8fe5fdfca818', onclick: 'mjOpenPopin(event, this)' } Newsletter
%li.footer-link
= link_to "Nouveautés", "https://github.com/sgmap/tps/releases", :class => "footer-link"
= link_to "Nouveautés", "https://github.com/betagouv/tps/releases", :class => "footer-link"
%li.footer-link
= link_to "Statistiques", stats_path, :class => "footer-link"
%li.footer-link

View file

@ -17,7 +17,7 @@ raise "missing domain, run with 'rake deploy domain=37.187.154.237'" if ENV['dom
# set :domain, '5.135.190.60'
set :domain, ENV['domain']
set :repository, 'https://github.com/sgmap/tps.git'
set :repository, 'https://github.com/betagouv/tps.git'
set :port, 2200
set :deploy_to, '/var/www/tps_dev'

View file

@ -50,7 +50,7 @@ describe RootController, type: :controller do
render_views
before do
stub_request(:get, "https://api.github.com/repos/sgmap/tps/releases/latest")
stub_request(:get, "https://api.github.com/repos/betagouv/tps/releases/latest")
.to_return(:status => 200, :body => '{"tag_name": "plip", "body": "blabla", "published_at": "2016-02-09T16:46:47Z"}', :headers => {})
subject

View file

@ -29,7 +29,7 @@ feature 'Administrator connection' do
end
context 'when clicking on sign-out' do
before do
stub_request(:get, "https://api.github.com/repos/sgmap/tps/releases/latest")
stub_request(:get, "https://api.github.com/repos/betagouv/tps/releases/latest")
.to_return(:status => 200, :body => '{"tag_name": "plip", "body": "blabla", "published_at": "2016-02-09T16:46:47Z"}', :headers => {})
page.find_by_id('sign-out').find('a').click

View file

@ -2,7 +2,7 @@
http_interactions:
- request:
method: get
uri: https://api.github.com/repos/sgmap/tps/releases/latest
uri: https://api.github.com/repos/betagouv/tps/releases/latest
body:
encoding: US-ASCII
string: ''

View file

@ -2,7 +2,7 @@
http_interactions:
- request:
method: get
uri: https://api.github.com/repos/sgmap/tps/releases/latest
uri: https://api.github.com/repos/betagouv/tps/releases/latest
body:
encoding: US-ASCII
string: ''