Merge pull request #4410 from consul/dependabot/bundler/invisible_captcha-2.0.0

Bump invisible_captcha from 1.1.0 to 2.0.0
This commit is contained in:
Javi Martín
2021-08-11 01:09:58 +02:00
committed by GitHub
3 changed files with 14 additions and 12 deletions

View File

@@ -29,7 +29,7 @@ gem "graphiql-rails", "~> 1.7.0"
gem "graphql", "~> 1.11.5" gem "graphql", "~> 1.11.5"
gem "groupdate", "~> 5.2.2" gem "groupdate", "~> 5.2.2"
gem "initialjs-rails", "~> 0.2.0.9" gem "initialjs-rails", "~> 0.2.0.9"
gem "invisible_captcha", "~> 1.1.0" gem "invisible_captcha", "~> 2.0.0"
gem "jquery-fileupload-rails" gem "jquery-fileupload-rails"
gem "jquery-rails", "~> 4.4.0" gem "jquery-rails", "~> 4.4.0"
gem "jquery-ui-rails", "~> 6.0.1" gem "jquery-ui-rails", "~> 6.0.1"

View File

@@ -281,8 +281,8 @@ GEM
gitlab (4.17.0) gitlab (4.17.0)
httparty (~> 0.18) httparty (~> 0.18)
terminal-table (~> 1.5, >= 1.5.1) terminal-table (~> 1.5, >= 1.5.1)
globalid (0.4.2) globalid (0.5.2)
activesupport (>= 4.2.0) activesupport (>= 5.0)
globalize (5.3.1) globalize (5.3.1)
activemodel (>= 4.2, < 6.1) activemodel (>= 4.2, < 6.1)
activerecord (>= 4.2, < 6.1) activerecord (>= 4.2, < 6.1)
@@ -322,8 +322,8 @@ GEM
ice_nine (0.11.2) ice_nine (0.11.2)
initialjs-rails (0.2.0.9) initialjs-rails (0.2.0.9)
railties (>= 3.1, < 7.0) railties (>= 3.1, < 7.0)
invisible_captcha (1.1.0) invisible_captcha (2.0.0)
rails (>= 4.2) rails (>= 5.0)
jquery-fileupload-rails (1.0.0) jquery-fileupload-rails (1.0.0)
actionpack (>= 3.1) actionpack (>= 3.1)
railties (>= 3.1) railties (>= 3.1)
@@ -379,8 +379,9 @@ GEM
mime-types (3.3.1) mime-types (3.3.1)
mime-types-data (~> 3.2015) mime-types-data (~> 3.2015)
mime-types-data (3.2021.0704) mime-types-data (3.2021.0704)
mimemagic (0.3.8) mimemagic (0.3.10)
nokogiri (~> 1) nokogiri (~> 1)
rake
mini_mime (1.1.0) mini_mime (1.1.0)
mini_portile2 (2.6.1) mini_portile2 (2.6.1)
minitest (5.14.4) minitest (5.14.4)
@@ -396,8 +397,8 @@ GEM
net-ssh (>= 2.6.5, < 7.0.0) net-ssh (>= 2.6.5, < 7.0.0)
net-ssh (6.1.0) net-ssh (6.1.0)
newrelic_rpm (4.1.0.333) newrelic_rpm (4.1.0.333)
nio4r (2.5.7) nio4r (2.5.8)
nokogiri (1.12.2) nokogiri (1.12.3)
mini_portile2 (~> 2.6.1) mini_portile2 (~> 2.6.1)
racc (~> 1.4) racc (~> 1.4)
nori (2.6.0) nori (2.6.0)
@@ -683,7 +684,7 @@ GEM
nokogiri (~> 1.6) nokogiri (~> 1.6)
rubyzip (>= 1.3.0) rubyzip (>= 1.3.0)
selenium-webdriver (>= 3.0, < 4.0) selenium-webdriver (>= 3.0, < 4.0)
websocket-driver (0.7.3) websocket-driver (0.7.5)
websocket-extensions (>= 0.1.0) websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5) websocket-extensions (0.1.5)
whenever (1.0.0) whenever (1.0.0)
@@ -742,7 +743,7 @@ DEPENDENCIES
groupdate (~> 5.2.2) groupdate (~> 5.2.2)
i18n-tasks (~> 0.9.34) i18n-tasks (~> 0.9.34)
initialjs-rails (~> 0.2.0.9) initialjs-rails (~> 0.2.0.9)
invisible_captcha (~> 1.1.0) invisible_captcha (~> 2.0.0)
jquery-fileupload-rails jquery-fileupload-rails
jquery-rails (~> 4.4.0) jquery-rails (~> 4.4.0)
jquery-ui-rails (~> 6.0.1) jquery-ui-rails (~> 6.0.1)

View File

@@ -1,6 +1,7 @@
InvisibleCaptcha.setup do |config| InvisibleCaptcha.setup do |config|
config.visual_honeypots = false config.visual_honeypots = false
config.timestamp_threshold = 4.seconds config.spinner_enabled = false
config.timestamp_threshold = 4.seconds
# Leave these unset if you want to use I18n (see below) # Leave these unset if you want to use I18n (see below)
# config.error_message = 'You are a robot!' # config.error_message = 'You are a robot!'
# config.sentence_for_humans = 'If you are a human, ignore this field' # config.sentence_for_humans = 'If you are a human, ignore this field'