Bump development gems

- rubocop (0.61.1 → 0.62.0)
This commit is contained in:
gregoirenovel 2019-01-05 11:22:49 +01:00
parent ce8f5bf18b
commit 5fa5f2aa37
5 changed files with 8 additions and 8 deletions

View file

@ -277,7 +277,7 @@ GEM
i18n (1.4.0)
concurrent-ruby (~> 1.0)
ipaddress (0.8.3)
jaro_winkler (1.5.1)
jaro_winkler (1.5.2)
jquery-rails (4.3.3)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
@ -503,7 +503,7 @@ GEM
rspec-support (3.8.0)
rspec_junit_formatter (0.4.1)
rspec-core (>= 2, < 4, != 2.12.0)
rubocop (0.61.1)
rubocop (0.62.0)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
parser (>= 2.5, != 2.5.1.1)
@ -611,7 +611,7 @@ GEM
unf (0.1.4)
unf_ext
unf_ext (0.0.7.5)
unicode-display_width (1.4.0)
unicode-display_width (1.4.1)
validate_email (0.1.6)
activemodel (>= 3.0)
mail (>= 2.2.5)

View file

@ -35,7 +35,7 @@ guard 'livereload' do
png: :png,
gif: :gif,
jpg: :jpg,
jpeg: :jpeg,
jpeg: :jpeg
# less: :less, # uncomment if you want LESS stylesheets done in browser
}

View file

@ -133,7 +133,7 @@ module TagsSubstitutionConcern
end
def external_link(url)
link_to(url, url, target: '_blank')
link_to(url, url, target: '_blank', rel: 'noopener')
end
def dossier_tags

View file

@ -10,7 +10,7 @@ SmartListing.configure do |config|
# :unlimited_per_page => false, # allow infinite page size
# :paginate => true, # allow pagination
# :memorize_per_page => false, # save per page settings in the cookie
:page_sizes => [10, 20, 50, 100], # set available page sizes array
:page_sizes => [10, 20, 50, 100] # set available page sizes array
# :kaminari_options => {:theme => "smart_listing"}, # Kaminari's paginate helper options
})

View file

@ -26,7 +26,7 @@ describe MailTemplateConcern do
it do
expected =
"[demarches-simplifiees.fr] #{dossier.id} #{dossier.procedure.libelle} " +
"<a target=\"_blank\" href=\"http://localhost:3000/dossiers/#{dossier.id}\">http://localhost:3000/dossiers/#{dossier.id}</a>"
"<a target=\"_blank\" rel=\"noopener\" href=\"http://localhost:3000/dossiers/#{dossier.id}\">http://localhost:3000/dossiers/#{dossier.id}</a>"
is_expected.to eq(expected)
end
@ -77,7 +77,7 @@ describe MailTemplateConcern do
describe "in closed mail" do
let(:mail) { create(:closed_mail, procedure: procedure) }
it { is_expected.to eq("<a target=\"_blank\" href=\"http://localhost:3000/dossiers/#{dossier.id}/attestation\">http://localhost:3000/dossiers/#{dossier.id}/attestation</a>") }
it { is_expected.to eq("<a target=\"_blank\" rel=\"noopener\" href=\"http://localhost:3000/dossiers/#{dossier.id}/attestation\">http://localhost:3000/dossiers/#{dossier.id}/attestation</a>") }
end
describe "in refuse mail" do