Add xray-rails in dev mode

This commit is contained in:
Mathieu Magnin 2017-01-18 13:59:14 +01:00
parent 5b99c18b67
commit d5e4f45d7d
4 changed files with 11 additions and 4 deletions

View file

@ -121,6 +121,8 @@ group :development do
gem 'web-console'
gem 'rack-handlers'
gem 'xray-rails'
end
group :development, :test do
@ -153,4 +155,3 @@ end
group :production, :staging do
gem 'sentry-raven'
end

View file

@ -622,6 +622,8 @@ GEM
xml-simple (1.1.5)
xpath (2.0.0)
nokogiri (~> 1.3)
xray-rails (0.2.0)
rails (>= 3.1.0)
PLATFORMS
ruby
@ -699,6 +701,7 @@ DEPENDENCIES
web-console
webmock
will_paginate-bootstrap
xray-rails
BUNDLED WITH
1.13.7

View file

@ -1,4 +1,9 @@
="<!--[if lt IE 10]>".html_safe
%div.center{style:'width: 100%; background-color: white; position: fixed; top:0; left:0; z-index: 100000'}
%h3.text-danger
%b
Votre version d'Internet Explorer est trop ancienne pour être utilisée sur le service TPS. Version minimum : Internet Explorer 10
="<![endif]-->".html_safe

View file

@ -22,11 +22,9 @@
%script{type: 'text/javascript'}
(typeof jQuery !== 'undefined') && (jQuery.fx.off = true);
="<!--[if lt IE 10]>".html_safe
= render partial: 'layouts/ie_lt_10'
="<![endif]-->".html_safe
%div#wrap
%div.row