Bump development gems
- rubocop (0.61.1 → 0.62.0)
This commit is contained in:
parent
ce8f5bf18b
commit
5fa5f2aa37
5 changed files with 8 additions and 8 deletions
|
@ -277,7 +277,7 @@ GEM
|
||||||
i18n (1.4.0)
|
i18n (1.4.0)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
ipaddress (0.8.3)
|
ipaddress (0.8.3)
|
||||||
jaro_winkler (1.5.1)
|
jaro_winkler (1.5.2)
|
||||||
jquery-rails (4.3.3)
|
jquery-rails (4.3.3)
|
||||||
rails-dom-testing (>= 1, < 3)
|
rails-dom-testing (>= 1, < 3)
|
||||||
railties (>= 4.2.0)
|
railties (>= 4.2.0)
|
||||||
|
@ -503,7 +503,7 @@ GEM
|
||||||
rspec-support (3.8.0)
|
rspec-support (3.8.0)
|
||||||
rspec_junit_formatter (0.4.1)
|
rspec_junit_formatter (0.4.1)
|
||||||
rspec-core (>= 2, < 4, != 2.12.0)
|
rspec-core (>= 2, < 4, != 2.12.0)
|
||||||
rubocop (0.61.1)
|
rubocop (0.62.0)
|
||||||
jaro_winkler (~> 1.5.1)
|
jaro_winkler (~> 1.5.1)
|
||||||
parallel (~> 1.10)
|
parallel (~> 1.10)
|
||||||
parser (>= 2.5, != 2.5.1.1)
|
parser (>= 2.5, != 2.5.1.1)
|
||||||
|
@ -611,7 +611,7 @@ GEM
|
||||||
unf (0.1.4)
|
unf (0.1.4)
|
||||||
unf_ext
|
unf_ext
|
||||||
unf_ext (0.0.7.5)
|
unf_ext (0.0.7.5)
|
||||||
unicode-display_width (1.4.0)
|
unicode-display_width (1.4.1)
|
||||||
validate_email (0.1.6)
|
validate_email (0.1.6)
|
||||||
activemodel (>= 3.0)
|
activemodel (>= 3.0)
|
||||||
mail (>= 2.2.5)
|
mail (>= 2.2.5)
|
||||||
|
|
|
@ -35,7 +35,7 @@ guard 'livereload' do
|
||||||
png: :png,
|
png: :png,
|
||||||
gif: :gif,
|
gif: :gif,
|
||||||
jpg: :jpg,
|
jpg: :jpg,
|
||||||
jpeg: :jpeg,
|
jpeg: :jpeg
|
||||||
# less: :less, # uncomment if you want LESS stylesheets done in browser
|
# less: :less, # uncomment if you want LESS stylesheets done in browser
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -133,7 +133,7 @@ module TagsSubstitutionConcern
|
||||||
end
|
end
|
||||||
|
|
||||||
def external_link(url)
|
def external_link(url)
|
||||||
link_to(url, url, target: '_blank')
|
link_to(url, url, target: '_blank', rel: 'noopener')
|
||||||
end
|
end
|
||||||
|
|
||||||
def dossier_tags
|
def dossier_tags
|
||||||
|
|
|
@ -10,7 +10,7 @@ SmartListing.configure do |config|
|
||||||
# :unlimited_per_page => false, # allow infinite page size
|
# :unlimited_per_page => false, # allow infinite page size
|
||||||
# :paginate => true, # allow pagination
|
# :paginate => true, # allow pagination
|
||||||
# :memorize_per_page => false, # save per page settings in the cookie
|
# :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
|
# :kaminari_options => {:theme => "smart_listing"}, # Kaminari's paginate helper options
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ describe MailTemplateConcern do
|
||||||
it do
|
it do
|
||||||
expected =
|
expected =
|
||||||
"[demarches-simplifiees.fr] #{dossier.id} #{dossier.procedure.libelle} " +
|
"[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)
|
is_expected.to eq(expected)
|
||||||
end
|
end
|
||||||
|
@ -77,7 +77,7 @@ describe MailTemplateConcern do
|
||||||
describe "in closed mail" do
|
describe "in closed mail" do
|
||||||
let(:mail) { create(:closed_mail, procedure: procedure) }
|
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
|
end
|
||||||
|
|
||||||
describe "in refuse mail" do
|
describe "in refuse mail" do
|
||||||
|
|
Loading…
Reference in a new issue