Bump gems

- apipie-rails
- brakeman
- byebug
- rubocop
- turbolinks
- skylight
- chartkick
- devise
- dotenv-rails
- uglifier
- web-console
- font-awesome-rails
- pg
- deep_cloneable
- delayed_job_active_record
This commit is contained in:
gregoirenovel 2018-04-11 09:38:58 +02:00
parent 6d8497388b
commit 09e0144f30
3 changed files with 30 additions and 27 deletions

View file

@ -701,6 +701,9 @@ Rails/HasManyOrHasOneDependent:
Rails/HttpPositionalArguments: Rails/HttpPositionalArguments:
Enabled: true Enabled: true
Rails/HttpStatus:
Enabled: false
Rails/InverseOf: Rails/InverseOf:
Enabled: false Enabled: false

View file

@ -10,7 +10,7 @@ GIT
GIT GIT
remote: https://github.com/hassox/warden.git remote: https://github.com/hassox/warden.git
revision: a4b197e0b28e7b576b0745b0f6aeaed8dbb774a4 revision: 5b3cbd5bef67cbe399bb7007537bc4841bbee772
branch: master branch: master
specs: specs:
warden (1.2.8) warden (1.2.8)
@ -93,7 +93,7 @@ GEM
sass-rails (~> 5.0) sass-rails (~> 5.0)
selectize-rails (~> 0.6) selectize-rails (~> 0.6)
aes_key_wrap (1.0.1) aes_key_wrap (1.0.1)
apipie-rails (0.5.6) apipie-rails (0.5.7)
rails (>= 4.1) rails (>= 4.1)
archive-zip (0.11.0) archive-zip (0.11.0)
io-like (~> 0.3.0) io-like (~> 0.3.0)
@ -114,10 +114,10 @@ GEM
sass (>= 3.3.4) sass (>= 3.3.4)
bootstrap-wysihtml5-rails (0.3.3.8) bootstrap-wysihtml5-rails (0.3.3.8)
railties (>= 3.0) railties (>= 3.0)
brakeman (4.2.0) brakeman (4.2.1)
browser (2.5.3) browser (2.5.3)
builder (3.2.3) builder (3.2.3)
byebug (10.0.0) byebug (10.0.2)
capybara (2.18.0) capybara (2.18.0)
addressable addressable
mini_mime (>= 0.1.3) mini_mime (>= 0.1.3)
@ -137,7 +137,7 @@ GEM
carrierwave-i18n (0.2.0) carrierwave-i18n (0.2.0)
case_transform (0.2) case_transform (0.2)
activesupport activesupport
chartkick (2.3.2) chartkick (2.3.4)
childprocess (0.8.0) childprocess (0.8.0)
ffi (~> 1.0, >= 1.0.11) ffi (~> 1.0, >= 1.0.11)
chromedriver-helper (1.2.0) chromedriver-helper (1.2.0)
@ -163,28 +163,28 @@ GEM
database_cleaner (1.6.2) database_cleaner (1.6.2)
datetime_picker_rails (0.0.7) datetime_picker_rails (0.0.7)
momentjs-rails (>= 2.8.1) momentjs-rails (>= 2.8.1)
deep_cloneable (2.3.1) deep_cloneable (2.3.2)
activerecord (>= 3.1.0, < 5.2.0) activerecord (>= 3.1.0, < 6)
delayed_cron_job (0.7.2) delayed_cron_job (0.7.2)
delayed_job (>= 4.1) delayed_job (>= 4.1)
delayed_job (4.1.4) delayed_job (4.1.5)
activesupport (>= 3.0, < 5.2) activesupport (>= 3.0, < 5.3)
delayed_job_active_record (4.1.2) delayed_job_active_record (4.1.3)
activerecord (>= 3.0, < 5.2) activerecord (>= 3.0, < 5.3)
delayed_job (>= 3.0, < 5) delayed_job (>= 3.0, < 5)
devise (4.4.1) devise (4.4.3)
bcrypt (~> 3.0) bcrypt (~> 3.0)
orm_adapter (~> 0.1) orm_adapter (~> 0.1)
railties (>= 4.1.0, < 5.2) railties (>= 4.1.0, < 6.0)
responders responders
warden (~> 1.2.3) warden (~> 1.2.3)
diff-lcs (1.3) diff-lcs (1.3)
domain_name (0.5.20170404) domain_name (0.5.20170404)
unf (>= 0.0.5, < 1.0.0) unf (>= 0.0.5, < 1.0.0)
dotenv (2.2.1) dotenv (2.2.2)
dotenv-rails (2.2.1) dotenv-rails (2.2.2)
dotenv (= 2.2.1) dotenv (= 2.2.2)
railties (>= 3.2, < 5.2) railties (>= 3.2, < 6.0)
draper (3.0.1) draper (3.0.1)
actionpack (~> 5.0) actionpack (~> 5.0)
activemodel (~> 5.0) activemodel (~> 5.0)
@ -359,8 +359,8 @@ GEM
fog-xml (0.1.3) fog-xml (0.1.3)
fog-core fog-core
nokogiri (>= 1.5.11, < 2.0.0) nokogiri (>= 1.5.11, < 2.0.0)
font-awesome-rails (4.7.0.3) font-awesome-rails (4.7.0.4)
railties (>= 3.2, < 5.2) railties (>= 3.2, < 6.0)
formatador (0.2.5) formatador (0.2.5)
globalid (0.4.1) globalid (0.4.1)
activesupport (>= 4.2.0) activesupport (>= 4.2.0)
@ -524,10 +524,10 @@ GEM
json json
orm_adapter (0.5.0) orm_adapter (0.5.0)
parallel (1.12.1) parallel (1.12.1)
parser (2.5.0.3) parser (2.5.1.0)
ast (~> 2.4.0) ast (~> 2.4.0)
pdf-core (0.7.0) pdf-core (0.7.0)
pg (0.19.0) pg (1.0.0)
powerpack (0.1.1) powerpack (0.1.1)
prawn (2.2.2) prawn (2.2.2)
pdf-core (~> 0.7.0) pdf-core (~> 0.7.0)
@ -643,7 +643,7 @@ GEM
rspec-support (3.7.1) rspec-support (3.7.1)
rspec_junit_formatter (0.3.0) rspec_junit_formatter (0.3.0)
rspec-core (>= 2, < 4, != 2.12.0) rspec-core (>= 2, < 4, != 2.12.0)
rubocop (0.53.0) rubocop (0.55.0)
parallel (~> 1.10) parallel (~> 1.10)
parser (>= 2.5) parser (>= 2.5)
powerpack (~> 0.1) powerpack (~> 0.1)
@ -697,7 +697,7 @@ GEM
rack (~> 2.0) rack (~> 2.0)
rack-protection (= 2.0.1) rack-protection (= 2.0.1)
tilt (~> 2.0) tilt (~> 2.0)
skylight (1.5.1) skylight (1.6.1)
activesupport (>= 3.0.0) activesupport (>= 3.0.0)
smart_listing (1.2.2) smart_listing (1.2.2)
coffee-rails coffee-rails
@ -733,14 +733,14 @@ GEM
timecop (0.9.1) timecop (0.9.1)
trollop (2.1.2) trollop (2.1.2)
ttfunk (1.5.1) ttfunk (1.5.1)
turbolinks (5.1.0) turbolinks (5.1.1)
turbolinks-source (~> 5.1) turbolinks-source (~> 5.1)
turbolinks-source (5.1.0) turbolinks-source (5.1.0)
typhoeus (1.3.0) typhoeus (1.3.0)
ethon (>= 0.9.0) ethon (>= 0.9.0)
tzinfo (1.2.5) tzinfo (1.2.5)
thread_safe (~> 0.1) thread_safe (~> 0.1)
uglifier (4.1.7) uglifier (4.1.9)
execjs (>= 0.3.0, < 3) execjs (>= 0.3.0, < 3)
unf (0.1.4) unf (0.1.4)
unf_ext unf_ext
@ -758,7 +758,7 @@ GEM
activemodel (>= 3.0.0) activemodel (>= 3.0.0)
addressable addressable
vcr (4.0.0) vcr (4.0.0)
web-console (3.5.1) web-console (3.6.0)
actionview (>= 5.0) actionview (>= 5.0)
activemodel (>= 5.0) activemodel (>= 5.0)
bindex (>= 0.4.0) bindex (>= 0.4.0)

View file

@ -16,7 +16,7 @@ class FindDubiousProceduresJob < ApplicationJob
# https://www.postgresql.org/docs/current/static/functions-matching.html#FUNCTIONS-POSIX-REGEXP # https://www.postgresql.org/docs/current/static/functions-matching.html#FUNCTIONS-POSIX-REGEXP
forbidden_tdcs = TypeDeChamp forbidden_tdcs = TypeDeChamp
.joins(:procedure) .joins(:procedure)
.where("unaccent(types_de_champ.libelle) ~* unaccent('#{forbidden_regexp}')") .where("unaccent(types_de_champ.libelle) ~* unaccent(?)", forbidden_regexp)
.where(type_champ: %w(text textarea)) .where(type_champ: %w(text textarea))
.where(procedures: { archived_at: nil, whitelisted_at: nil }) .where(procedures: { archived_at: nil, whitelisted_at: nil })