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:
parent
6d8497388b
commit
09e0144f30
3 changed files with 30 additions and 27 deletions
|
@ -701,6 +701,9 @@ Rails/HasManyOrHasOneDependent:
|
|||
Rails/HttpPositionalArguments:
|
||||
Enabled: true
|
||||
|
||||
Rails/HttpStatus:
|
||||
Enabled: false
|
||||
|
||||
Rails/InverseOf:
|
||||
Enabled: false
|
||||
|
||||
|
|
52
Gemfile.lock
52
Gemfile.lock
|
@ -10,7 +10,7 @@ GIT
|
|||
|
||||
GIT
|
||||
remote: https://github.com/hassox/warden.git
|
||||
revision: a4b197e0b28e7b576b0745b0f6aeaed8dbb774a4
|
||||
revision: 5b3cbd5bef67cbe399bb7007537bc4841bbee772
|
||||
branch: master
|
||||
specs:
|
||||
warden (1.2.8)
|
||||
|
@ -93,7 +93,7 @@ GEM
|
|||
sass-rails (~> 5.0)
|
||||
selectize-rails (~> 0.6)
|
||||
aes_key_wrap (1.0.1)
|
||||
apipie-rails (0.5.6)
|
||||
apipie-rails (0.5.7)
|
||||
rails (>= 4.1)
|
||||
archive-zip (0.11.0)
|
||||
io-like (~> 0.3.0)
|
||||
|
@ -114,10 +114,10 @@ GEM
|
|||
sass (>= 3.3.4)
|
||||
bootstrap-wysihtml5-rails (0.3.3.8)
|
||||
railties (>= 3.0)
|
||||
brakeman (4.2.0)
|
||||
brakeman (4.2.1)
|
||||
browser (2.5.3)
|
||||
builder (3.2.3)
|
||||
byebug (10.0.0)
|
||||
byebug (10.0.2)
|
||||
capybara (2.18.0)
|
||||
addressable
|
||||
mini_mime (>= 0.1.3)
|
||||
|
@ -137,7 +137,7 @@ GEM
|
|||
carrierwave-i18n (0.2.0)
|
||||
case_transform (0.2)
|
||||
activesupport
|
||||
chartkick (2.3.2)
|
||||
chartkick (2.3.4)
|
||||
childprocess (0.8.0)
|
||||
ffi (~> 1.0, >= 1.0.11)
|
||||
chromedriver-helper (1.2.0)
|
||||
|
@ -163,28 +163,28 @@ GEM
|
|||
database_cleaner (1.6.2)
|
||||
datetime_picker_rails (0.0.7)
|
||||
momentjs-rails (>= 2.8.1)
|
||||
deep_cloneable (2.3.1)
|
||||
activerecord (>= 3.1.0, < 5.2.0)
|
||||
deep_cloneable (2.3.2)
|
||||
activerecord (>= 3.1.0, < 6)
|
||||
delayed_cron_job (0.7.2)
|
||||
delayed_job (>= 4.1)
|
||||
delayed_job (4.1.4)
|
||||
activesupport (>= 3.0, < 5.2)
|
||||
delayed_job_active_record (4.1.2)
|
||||
activerecord (>= 3.0, < 5.2)
|
||||
delayed_job (4.1.5)
|
||||
activesupport (>= 3.0, < 5.3)
|
||||
delayed_job_active_record (4.1.3)
|
||||
activerecord (>= 3.0, < 5.3)
|
||||
delayed_job (>= 3.0, < 5)
|
||||
devise (4.4.1)
|
||||
devise (4.4.3)
|
||||
bcrypt (~> 3.0)
|
||||
orm_adapter (~> 0.1)
|
||||
railties (>= 4.1.0, < 5.2)
|
||||
railties (>= 4.1.0, < 6.0)
|
||||
responders
|
||||
warden (~> 1.2.3)
|
||||
diff-lcs (1.3)
|
||||
domain_name (0.5.20170404)
|
||||
unf (>= 0.0.5, < 1.0.0)
|
||||
dotenv (2.2.1)
|
||||
dotenv-rails (2.2.1)
|
||||
dotenv (= 2.2.1)
|
||||
railties (>= 3.2, < 5.2)
|
||||
dotenv (2.2.2)
|
||||
dotenv-rails (2.2.2)
|
||||
dotenv (= 2.2.2)
|
||||
railties (>= 3.2, < 6.0)
|
||||
draper (3.0.1)
|
||||
actionpack (~> 5.0)
|
||||
activemodel (~> 5.0)
|
||||
|
@ -359,8 +359,8 @@ GEM
|
|||
fog-xml (0.1.3)
|
||||
fog-core
|
||||
nokogiri (>= 1.5.11, < 2.0.0)
|
||||
font-awesome-rails (4.7.0.3)
|
||||
railties (>= 3.2, < 5.2)
|
||||
font-awesome-rails (4.7.0.4)
|
||||
railties (>= 3.2, < 6.0)
|
||||
formatador (0.2.5)
|
||||
globalid (0.4.1)
|
||||
activesupport (>= 4.2.0)
|
||||
|
@ -524,10 +524,10 @@ GEM
|
|||
json
|
||||
orm_adapter (0.5.0)
|
||||
parallel (1.12.1)
|
||||
parser (2.5.0.3)
|
||||
parser (2.5.1.0)
|
||||
ast (~> 2.4.0)
|
||||
pdf-core (0.7.0)
|
||||
pg (0.19.0)
|
||||
pg (1.0.0)
|
||||
powerpack (0.1.1)
|
||||
prawn (2.2.2)
|
||||
pdf-core (~> 0.7.0)
|
||||
|
@ -643,7 +643,7 @@ GEM
|
|||
rspec-support (3.7.1)
|
||||
rspec_junit_formatter (0.3.0)
|
||||
rspec-core (>= 2, < 4, != 2.12.0)
|
||||
rubocop (0.53.0)
|
||||
rubocop (0.55.0)
|
||||
parallel (~> 1.10)
|
||||
parser (>= 2.5)
|
||||
powerpack (~> 0.1)
|
||||
|
@ -697,7 +697,7 @@ GEM
|
|||
rack (~> 2.0)
|
||||
rack-protection (= 2.0.1)
|
||||
tilt (~> 2.0)
|
||||
skylight (1.5.1)
|
||||
skylight (1.6.1)
|
||||
activesupport (>= 3.0.0)
|
||||
smart_listing (1.2.2)
|
||||
coffee-rails
|
||||
|
@ -733,14 +733,14 @@ GEM
|
|||
timecop (0.9.1)
|
||||
trollop (2.1.2)
|
||||
ttfunk (1.5.1)
|
||||
turbolinks (5.1.0)
|
||||
turbolinks (5.1.1)
|
||||
turbolinks-source (~> 5.1)
|
||||
turbolinks-source (5.1.0)
|
||||
typhoeus (1.3.0)
|
||||
ethon (>= 0.9.0)
|
||||
tzinfo (1.2.5)
|
||||
thread_safe (~> 0.1)
|
||||
uglifier (4.1.7)
|
||||
uglifier (4.1.9)
|
||||
execjs (>= 0.3.0, < 3)
|
||||
unf (0.1.4)
|
||||
unf_ext
|
||||
|
@ -758,7 +758,7 @@ GEM
|
|||
activemodel (>= 3.0.0)
|
||||
addressable
|
||||
vcr (4.0.0)
|
||||
web-console (3.5.1)
|
||||
web-console (3.6.0)
|
||||
actionview (>= 5.0)
|
||||
activemodel (>= 5.0)
|
||||
bindex (>= 0.4.0)
|
||||
|
|
|
@ -16,7 +16,7 @@ class FindDubiousProceduresJob < ApplicationJob
|
|||
# https://www.postgresql.org/docs/current/static/functions-matching.html#FUNCTIONS-POSIX-REGEXP
|
||||
forbidden_tdcs = TypeDeChamp
|
||||
.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(procedures: { archived_at: nil, whitelisted_at: nil })
|
||||
|
||||
|
|
Loading…
Reference in a new issue