Use ruby-omniauth-google-oauth2 and ruby-oauth2 from archive

This commit is contained in:
Pirate Praveen 2023-02-28 17:22:51 +05:30
parent ed397fc514
commit 1c52967185
No known key found for this signature in database
GPG key ID: 8F53E0193B294B75
2 changed files with 2 additions and 4 deletions

4
debian/control vendored
View file

@ -131,7 +131,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends},
ruby-omniauth-facebook (>= 4.0~), ruby-omniauth-facebook (>= 4.0~),
ruby-omniauth-github (>= 2.0.1~), ruby-omniauth-github (>= 2.0.1~),
ruby-omniauth-gitlab (>= 1.0.2~), ruby-omniauth-gitlab (>= 1.0.2~),
ruby-omniauth-google-oauth2 (>= 0.6~), ruby-omniauth-google-oauth2 (>= 1.1~),
ruby-omniauth-kerberos (>= 0.3.0-3~), ruby-omniauth-kerberos (>= 0.3.0-3~),
ruby-omniauth-oauth2-generic (>= 0.2.2~), ruby-omniauth-oauth2-generic (>= 0.2.2~),
ruby-omniauth-saml (>= 2.0~), ruby-omniauth-saml (>= 2.0~),
@ -388,7 +388,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends},
ruby-benchmark-memory (>= 0.1~), ruby-benchmark-memory (>= 0.1~),
ruby-activerecord-explain-analyze (>= 0.1~), ruby-activerecord-explain-analyze (>= 0.1~),
# OAuth # OAuth
ruby-oauth2 (>= 1.4.4~), ruby-oauth2 (>= 2.0~),
# oauth2 2.0 is installed from rubygems.org # oauth2 2.0 is installed from rubygems.org
ruby-omniauth-oauth2 (>= 1.7.3~), ruby-omniauth-oauth2 (>= 1.7.3~),
# Health check # Health check

View file

@ -70,8 +70,6 @@ runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~> 8.4' "^danger$" >/de
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i "^gitlab-dangerfiles$" >/dev/null; then gem install gitlab-dangerfiles; fi" runuser -u ${gitlab_user} -- sh -c "if ! gem list -i "^gitlab-dangerfiles$" >/dev/null; then gem install gitlab-dangerfiles; fi"
# TODO: Update packages for these gems # TODO: Update packages for these gems
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 1.1 "^omniauth-google-oauth2$" >/dev/null; then gem install -v 1.1 omniauth-google-oauth2; fi"
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~> 2.0' "^oauth2$" >/dev/null; then gem install -v '~> 2.0' oauth2; fi"
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~> 0.0.12' "^arr-pm$" >/dev/null; then gem install -v '~> 0.0.12' arr-pm; fi" runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~> 0.0.12' "^arr-pm$" >/dev/null; then gem install -v '~> 0.0.12' arr-pm; fi"
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 1.9 "^redis-namespace$" >/dev/null; then gem install -v 1.9 redis-namespace; fi" runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 1.9 "^redis-namespace$" >/dev/null; then gem install -v 1.9 redis-namespace; fi"
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~> 0.12' "^google-apis-monitoring_v3$" >/dev/null; then gem install -v '~>0.12' google-apis-monitoring_v3; fi" runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~> 0.12' "^google-apis-monitoring_v3$" >/dev/null; then gem install -v '~>0.12' google-apis-monitoring_v3; fi"