Merge pull request #507 from Retrospring/depperterbot

Dependabot merge branch
This commit is contained in:
Georg Gadinger 2022-07-09 13:40:29 +02:00 committed by GitHub
commit b6c42264a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 50 additions and 58 deletions

View file

@ -49,7 +49,7 @@ jobs:
with: with:
bundler-cache: true bundler-cache: true
- name: Set up Node 12 - name: Set up Node 12
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: '12' node-version: '12'
- name: Copy default configuration - name: Copy default configuration
@ -77,7 +77,7 @@ jobs:
DISABLE_WEBPACK_IN_TESTS: 1 DISABLE_WEBPACK_IN_TESTS: 1
- name: Lint TypeScript - name: Lint TypeScript
run: yarn run lint run: yarn run lint
- uses: codecov/codecov-action@v1 - uses: codecov/codecov-action@v3
with: with:
token: ${{ secrets.CODECOV_TOKEN }} token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage/coverage.xml file: ./coverage/coverage.xml

12
Gemfile
View file

@ -12,7 +12,7 @@ gem "jbuilder", "~> 2.10"
gem "sass-rails", "~> 5.0" gem "sass-rails", "~> 5.0"
gem "turbolinks", "~> 2.5.3" gem "turbolinks", "~> 2.5.3"
gem "bcrypt", "~> 3.1.7" gem "bcrypt", "~> 3.1.18"
gem "active_model_otp" gem "active_model_otp"
gem "bootstrap_form" gem "bootstrap_form"
@ -26,11 +26,11 @@ gem "fog-aws"
gem "fog-core" gem "fog-core"
gem "fog-local" gem "fog-local"
gem "haml", "~> 5.0" gem "haml", "~> 5.0"
gem "hcaptcha", "~> 6.0", git: "https://github.com/Retrospring/hcaptcha.git", ref: "v6.0.2" gem "hcaptcha", "~> 7.0"
gem "mini_magick" gem "mini_magick"
gem "rqrcode" gem "rqrcode"
gem "rolify", "~> 5.2" gem "rolify", "~> 6.0"
gem "dry-initializer", "~> 3.1" gem "dry-initializer", "~> 3.1"
gem "dry-types", "~> 1.4" gem "dry-types", "~> 1.4"
@ -68,7 +68,7 @@ gem "jwt", "~> 2.4"
group :development do group :development do
gem "binding_of_caller" gem "binding_of_caller"
gem "byebug" gem "byebug"
gem "spring", "~> 2.0" gem "spring", "~> 4.0"
gem "web-console", "~> 4.0" gem "web-console", "~> 4.0"
end end
@ -90,10 +90,10 @@ group :development, :test do
gem "rake" gem "rake"
gem "rspec-its", "~> 1.3" gem "rspec-its", "~> 1.3"
gem "rspec-mocks" gem "rspec-mocks"
gem "rspec-rails", "~> 4.0" gem "rspec-rails", "~> 5.1"
gem "rspec-sidekiq", "~> 3.0", require: false gem "rspec-sidekiq", "~> 3.0", require: false
gem "rubocop", "~> 1.22", ">= 1.22.1" gem "rubocop", "~> 1.22", ">= 1.22.1"
gem "rubocop-rails", "~> 2.13", ">= 2.13.1" gem "rubocop-rails", "~> 2.15"
gem "shoulda-matchers", "~> 5.0" gem "shoulda-matchers", "~> 5.0"
gem "simplecov", require: false gem "simplecov", require: false
gem "simplecov-cobertura", require: false gem "simplecov-cobertura", require: false

View file

@ -1,11 +1,3 @@
GIT
remote: https://github.com/Retrospring/hcaptcha.git
revision: 9feac4908097e3dc2afd6f08d07cbfbaa1073a1d
ref: v6.0.2
specs:
hcaptcha (6.0.2)
json
GIT GIT
remote: https://github.com/mltnhm/carrierwave_backgrounder.git remote: https://github.com/mltnhm/carrierwave_backgrounder.git
revision: 8fe468957f047ad7039f07679e5952a534d07b6d revision: 8fe468957f047ad7039f07679e5952a534d07b6d
@ -86,7 +78,7 @@ GEM
addressable (2.8.0) addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0) public_suffix (>= 2.0.2, < 5.0)
ast (2.4.2) ast (2.4.2)
bcrypt (3.1.16) bcrypt (3.1.18)
better_errors (2.9.1) better_errors (2.9.1)
coderay (>= 1.0.0) coderay (>= 1.0.0)
erubi (>= 1.0.0) erubi (>= 1.0.0)
@ -94,7 +86,7 @@ GEM
bindex (0.8.1) bindex (0.8.1)
binding_of_caller (1.0.0) binding_of_caller (1.0.0)
debug_inspector (>= 0.0.1) debug_inspector (>= 0.0.1)
bootstrap_form (5.0.0) bootstrap_form (5.1.0)
actionpack (>= 5.2) actionpack (>= 5.2)
activemodel (>= 5.2) activemodel (>= 5.2)
brakeman (5.2.3) brakeman (5.2.3)
@ -104,7 +96,7 @@ GEM
activesupport (>= 3.0.0) activesupport (>= 3.0.0)
uniform_notifier (~> 1.11) uniform_notifier (~> 1.11)
byebug (11.1.3) byebug (11.1.3)
capybara (3.36.0) capybara (3.37.1)
addressable addressable
matrix matrix
mini_mime (>= 0.1.3) mini_mime (>= 0.1.3)
@ -177,7 +169,7 @@ GEM
dry-logic (~> 1.0, >= 1.0.2) dry-logic (~> 1.0, >= 1.0.2)
equalizer (0.0.11) equalizer (0.0.11)
erubi (1.10.0) erubi (1.10.0)
excon (0.89.0) excon (0.92.3)
execjs (2.8.1) execjs (2.8.1)
factory_bot (6.2.0) factory_bot (6.2.0)
activesupport (>= 5.0.0) activesupport (>= 5.0.0)
@ -193,25 +185,24 @@ GEM
ffi-compiler (1.0.1) ffi-compiler (1.0.1)
ffi (>= 1.0.0) ffi (>= 1.0.0)
rake rake
fog-aws (3.12.0) fog-aws (3.14.0)
fog-core (~> 2.1) fog-core (~> 2.1)
fog-json (~> 1.1) fog-json (~> 1.1)
fog-xml (~> 0.1) fog-xml (~> 0.1)
ipaddress (~> 0.8) fog-core (2.3.0)
fog-core (2.2.4)
builder builder
excon (~> 0.71) excon (~> 0.71)
formatador (~> 0.2) formatador (>= 0.2, < 2.0)
mime-types mime-types
fog-json (1.2.0) fog-json (1.2.0)
fog-core fog-core
multi_json (~> 1.10) multi_json (~> 1.10)
fog-local (0.7.0) fog-local (0.8.0)
fog-core (>= 1.27, < 3.0) fog-core (>= 1.27, < 3.0)
fog-xml (0.1.4) fog-xml (0.1.4)
fog-core fog-core
nokogiri (>= 1.5.11, < 2.0.0) nokogiri (>= 1.5.11, < 2.0.0)
formatador (0.3.0) formatador (1.1.0)
globalid (1.0.0) globalid (1.0.0)
activesupport (>= 5.0) activesupport (>= 5.0)
guard (2.18.0) guard (2.18.0)
@ -238,6 +229,8 @@ GEM
rubocop (>= 0.50.0) rubocop (>= 0.50.0)
sysexits (~> 1.1) sysexits (~> 1.1)
hashie (5.0.0) hashie (5.0.0)
hcaptcha (7.1.0)
json
http (4.4.1) http (4.4.1)
addressable (~> 2.3) addressable (~> 2.3)
http-cookie (~> 1.0) http-cookie (~> 1.0)
@ -260,11 +253,10 @@ GEM
image_processing (1.12.2) image_processing (1.12.2)
mini_magick (>= 4.9.5, < 5) mini_magick (>= 4.9.5, < 5)
ruby-vips (>= 2.0.17, < 3) ruby-vips (>= 2.0.17, < 3)
ipaddress (0.8.3)
jbuilder (2.11.5) jbuilder (2.11.5)
actionview (>= 5.0.0) actionview (>= 5.0.0)
activesupport (>= 5.0.0) activesupport (>= 5.0.0)
json (2.6.1) json (2.6.2)
jwt (2.4.1) jwt (2.4.1)
kaminari (1.2.2) kaminari (1.2.2)
activesupport (>= 4.1.0) activesupport (>= 4.1.0)
@ -325,9 +317,9 @@ GEM
nenv (~> 0.1) nenv (~> 0.1)
shellany (~> 0.0) shellany (~> 0.0)
oauth (0.5.8) oauth (0.5.8)
omniauth (2.0.4) omniauth (2.1.0)
hashie (>= 3.4.6) hashie (>= 3.4.6)
rack (>= 1.6.2, < 3) rack (>= 2.2.3)
rack-protection rack-protection
omniauth-oauth (1.2.0) omniauth-oauth (1.2.0)
oauth oauth
@ -339,10 +331,10 @@ GEM
omniauth-oauth (~> 1.1) omniauth-oauth (~> 1.1)
rack rack
orm_adapter (0.5.0) orm_adapter (0.5.0)
parallel (1.21.0) parallel (1.22.1)
parser (3.1.0.0) parser (3.1.2.0)
ast (~> 2.4.1) ast (~> 2.4.1)
pg (1.2.3) pg (1.4.1)
pghero (2.8.3) pghero (2.8.3)
activerecord (>= 5) activerecord (>= 5)
poltergeist (1.18.1) poltergeist (1.18.1)
@ -410,34 +402,34 @@ GEM
ffi (~> 1.0) ffi (~> 1.0)
redcarpet (3.5.1) redcarpet (3.5.1)
redis (4.5.1) redis (4.5.1)
regexp_parser (2.2.0) regexp_parser (2.5.0)
request_store (1.5.1) request_store (1.5.1)
rack (>= 1.4) rack (>= 1.4)
responders (3.0.1) responders (3.0.1)
actionpack (>= 5.0) actionpack (>= 5.0)
railties (>= 5.0) railties (>= 5.0)
rexml (3.2.5) rexml (3.2.5)
rolify (5.3.0) rolify (6.0.0)
rotp (6.2.0) rotp (6.2.0)
rqrcode (2.1.1) rqrcode (2.1.1)
chunky_png (~> 1.0) chunky_png (~> 1.0)
rqrcode_core (~> 1.0) rqrcode_core (~> 1.0)
rqrcode_core (1.2.0) rqrcode_core (1.2.0)
rspec-core (3.10.1) rspec-core (3.11.0)
rspec-support (~> 3.10.0) rspec-support (~> 3.11.0)
rspec-expectations (3.10.1) rspec-expectations (3.11.0)
diff-lcs (>= 1.2.0, < 2.0) diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.10.0) rspec-support (~> 3.11.0)
rspec-its (1.3.0) rspec-its (1.3.0)
rspec-core (>= 3.0.0) rspec-core (>= 3.0.0)
rspec-expectations (>= 3.0.0) rspec-expectations (>= 3.0.0)
rspec-mocks (3.10.2) rspec-mocks (3.11.1)
diff-lcs (>= 1.2.0, < 2.0) diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.10.0) rspec-support (~> 3.11.0)
rspec-rails (4.1.2) rspec-rails (5.1.2)
actionpack (>= 4.2) actionpack (>= 5.2)
activesupport (>= 4.2) activesupport (>= 5.2)
railties (>= 4.2) railties (>= 5.2)
rspec-core (~> 3.10) rspec-core (~> 3.10)
rspec-expectations (~> 3.10) rspec-expectations (~> 3.10)
rspec-mocks (~> 3.10) rspec-mocks (~> 3.10)
@ -445,7 +437,7 @@ GEM
rspec-sidekiq (3.1.0) rspec-sidekiq (3.1.0)
rspec-core (~> 3.0, >= 3.0.0) rspec-core (~> 3.0, >= 3.0.0)
sidekiq (>= 2.4.0) sidekiq (>= 2.4.0)
rspec-support (3.10.3) rspec-support (3.11.0)
rubocop (1.24.1) rubocop (1.24.1)
parallel (~> 1.10) parallel (~> 1.10)
parser (>= 3.0.0.0) parser (>= 3.0.0.0)
@ -455,9 +447,9 @@ GEM
rubocop-ast (>= 1.15.1, < 2.0) rubocop-ast (>= 1.15.1, < 2.0)
ruby-progressbar (~> 1.7) ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0) unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.15.1) rubocop-ast (1.18.0)
parser (>= 3.0.1.1) parser (>= 3.1.1.0)
rubocop-rails (2.13.1) rubocop-rails (2.15.2)
activesupport (>= 4.2.0) activesupport (>= 4.2.0)
rack (>= 1.1) rack (>= 1.1)
rubocop (>= 1.7.0, < 2.0) rubocop (>= 1.7.0, < 2.0)
@ -511,7 +503,7 @@ GEM
json json
simplecov simplecov
simplecov_json_formatter (0.1.3) simplecov_json_formatter (0.1.3)
spring (2.1.1) spring (4.0.0)
sprockets (3.7.2) sprockets (3.7.2)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
rack (> 1, < 3) rack (> 1, < 3)
@ -550,7 +542,7 @@ GEM
unf (0.1.4) unf (0.1.4)
unf_ext unf_ext
unf_ext (0.0.8) unf_ext (0.0.8)
unicode-display_width (2.1.0) unicode-display_width (2.2.0)
uniform_notifier (1.16.0) uniform_notifier (1.16.0)
warden (1.2.9) warden (1.2.9)
rack (>= 2.0.9) rack (>= 2.0.9)
@ -576,7 +568,7 @@ PLATFORMS
DEPENDENCIES DEPENDENCIES
active_model_otp active_model_otp
bcrypt (~> 3.1.7) bcrypt (~> 3.1.18)
better_errors better_errors
binding_of_caller binding_of_caller
bootstrap_form bootstrap_form
@ -602,7 +594,7 @@ DEPENDENCIES
guard-brakeman guard-brakeman
haml (~> 5.0) haml (~> 5.0)
haml_lint haml_lint
hcaptcha (~> 6.0)! hcaptcha (~> 7.0)
httparty httparty
i18n-js (= 3.9.2) i18n-js (= 3.9.2)
jbuilder (~> 2.10) jbuilder (~> 2.10)
@ -625,14 +617,14 @@ DEPENDENCIES
rake rake
redcarpet redcarpet
redis redis
rolify (~> 5.2) rolify (~> 6.0)
rqrcode rqrcode
rspec-its (~> 1.3) rspec-its (~> 1.3)
rspec-mocks rspec-mocks
rspec-rails (~> 4.0) rspec-rails (~> 5.1)
rspec-sidekiq (~> 3.0) rspec-sidekiq (~> 3.0)
rubocop (~> 1.22, >= 1.22.1) rubocop (~> 1.22, >= 1.22.1)
rubocop-rails (~> 2.13, >= 2.13.1) rubocop-rails (~> 2.15)
ruby-progressbar ruby-progressbar
sanitize sanitize
sass-rails (~> 5.0) sass-rails (~> 5.0)
@ -644,7 +636,7 @@ DEPENDENCIES
simplecov simplecov
simplecov-cobertura simplecov-cobertura
simplecov-json simplecov-json
spring (~> 2.0) spring (~> 4.0)
timecop timecop
turbolinks (~> 2.5.3) turbolinks (~> 2.5.3)
twitter twitter

View file

@ -15,7 +15,7 @@
= f.password_field :password_confirmation, autocomplete: "new-password" = f.password_field :password_confirmation, autocomplete: "new-password"
- if APP_CONFIG.dig(:hcaptcha, :enabled) - if APP_CONFIG.dig(:hcaptcha, :enabled)
= hcaptcha_tags = hcaptcha_tags theme: :light
%p= raw t(".info", terms: link_to(t("voc.terms"), terms_path)) %p= raw t(".info", terms: link_to(t("voc.terms"), terms_path))
= f.primary = f.primary