You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Manifest location and content before the Dependabot update
/Gemfile
source "https://rubygems.org"
ruby File.read(".ruby-version").strip
# Rails
gem "rails", "~> 7.0.3"
gem "sprockets-rails" # Rails 7 no longer depends on Sprockets automatically
gem "jsbundling-rails", "~> 1.0.3" # Bundle and transpile JavaScript [https://github.com/rails/jsbundling-rails]
gem "cssbundling-rails", "~> 1.1.1" # Bundle and process CSS [https://github.com/rails/cssbundling-rails]
gem "turbo-rails", "~> 1.3.2" # Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev]
gem "stimulus-rails", "~> 1.1.0" # Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev]
gem "heroicon"
gem "view_component"
gem "net-sftp"
# ed25519 and bcrypt_pbkdf are required to connect to the rakuten sftp server
gem "ed25519"
gem "bcrypt_pbkdf"
gem "puma", "~> 5.6"
gem "phony_rails", "~> 0.15.0"
gem "money-rails", "~> 1.12"
# Protobuf and Twirp
gem "google-protobuf", "~> 3.21.7", require: %w[google/protobuf google/protobuf/well_known_types] # google/protobuf/well_known_types is needed for things like Google::Protobuf::Timestamp#to_time
gem "twirp"
gem "rails_twirp"
gem "pbbuilder"
gem "googleauth", "~> 1.7.0"
gem "nokogiri", ">= 1.13.4"
gem "circuitbox"
gem "pg", "~> 1.4"
gem "activerecord-postgres_enum", "~> 2.0.1"
gem "rails-pg-extras" # heroku style pg analytics.
gem "pghero"
gem "pg_query" # require by `prosopite`
gem "prosopite"
gem "bcrypt", "~> 3.1.18"
gem "jwt", "~> 2.5.0"
gem "httpx"
gem "openssl", "~> 3"
gem "ffi", "~> 1.15.4"
gem "eyaml", ">= 0.1.2"
gem "google-cloud-storage", "~> 1.43", require: false
gem "google-cloud-monitoring" # export custom metrics to gcp
# gRPC installs a ton of binaries and creates about 300MB of junk
# in the Docker image, which we clean up. Also, gRPC version updates routinely
# break compatibility with M1 processors or x86 processors on macOS. In general,
# keeping gRPC up to date is a drag and a waste of time. Since the dependency is relatively
# stable, we pin gRPC here to avoid those hassles. Also: please, if you develop software,
# do not force people to talk to your software using gRPC.
gem "grpc", "1.54.0"
gem "aws-sdk-rails", require: false
gem "firebase-admin-sdk"
gem "bootsnap", ">= 1.4.4", require: false
# We have a number of additions to OAuth2 that we need for OpenBanking and if this gem needs
# updating we need to carefully review whether the additions work. For example, updating to 2.0
# would strip "client_id" from the request, breaking our integration with Starling bank
gem "oauth2", "~> 1.0"
gem "omniauth"
gem "omniauth-google-oauth2"
gem "omniauth-rails_csrf_protection"
gem "apple_id", "~> 1.6"
# Error reporting and debugger
gem "stackdriver"
gem "appsignal"
gem "image_processing", "~> 1.12"
# For CSS inlining in emails
gem "premailer-rails"
# Feature flags
gem "flipper"
gem "flipper-active_record"
gem "flipper-ui"
gem "good_job" # Job processing
gem "job-iteration" # Better job processing
gem "redcarpet" # Markdown
gem "faraday", "~> 2" # Open Banking API interactions
gem "faraday-retry"
gem "webmock" # google and apple auth interactions
gem "pagy" # Pagination
gem "namae" # For parsing natural persons names
gem "phonelib"
gem "cancancan"
gem "base58"
gem "idempo" # Idempotency keys
# Segment.com for analytics
gem "analytics-ruby", "~> 2.4", require: "segment/analytics"
# Zendesk for automatic ticket creation on suspended accounts
gem "zendesk_api", "~> 2"
# Customer.io for triggering broadcast emails
gem "customerio", github: "cheddar-me/customerio-ruby"
# Convenient range splitting
gem "range_utils"
# For storing raw transaction data
gem "zstd-ruby"
# For deployment tooling
gem "google-cloud-compute-v1"
gem "cli-ui"
# For loading the OB downtimes table
gem "reverse_markdown"
# For bulk-downloading from the admin
gem "zip_tricks"
# Pure ruby implementation of blowfish cypher as a replacement for one deprecated from OpenSSL v3
gem "blowfish", github: "cheddar-me/fork-blowfish"
gem "activesupport_cache_database"
gem "get_process_mem" # used to measure memory consumption for jobs.
gem "strong_migrations" # to detect potentially dangerous migrations
group :development, :test do
gem "byebug", platforms: [:mri, :mingw, :x64_mingw]
gem "progress_bar"
gem "pry"
gem "pry-rails"
gem "pry-byebug"
gem "awesome_print"
gem "standard", require: false
gem "erb_lint", require: false
gem "vcr"
gem "foreman"
gem "capybara", require: false
gem "selenium-webdriver", require: false
gem "webdrivers", require: false
gem "minitest-reporters"
gem "rails-controller-testing"
gem "minitest-stub_any_instance"
end
group :development do
gem "listen", "~> 3.7"
gem "magic_frozen_string_literal"
end
dependabot.yml content
version: 2
updates:
package-ecosystem: "bundler"
versioning-strategy: "lockfile-only" # Do not edit Gemfile, just Gemfile.lock - if we pin a dependency we do it for a reason!
directory: "/"
schedule:
interval: "weekly"
Checks for workflow files stored in the default location of .github/workflows
directory: "/"
schedule:
interval: "weekly"
Updated dependency
Updates omniauth-google-oauth2 from 1.0.1 to 1.1.1
Updates blowfish from b121213 to 1.0.1
Updates customerio from bdad156 to 5.1.0
Updates oauth2 from 1.4.11 to 2.0.9
What you expected to see, versus what you actually saw
Dependabot tried to update omniauth-google-oauth2 dependency and bumped oauth2 from v1 to v2 version to do that. But he somehow didn't noticed, that Gemfile limits oauth2 gem to gem "oauth2", "~> 1".
Native package manager behavior
Bundler would not update omniauth-google-oauth2 or oauth2
Images of the diff or a link to the PR, issue, or logs
skatkov
changed the title
Dependabot update sub-dependency, but completely discarded dependency limitation in Gemfile.
Dependabot updated sub-dependency, but completely discarded dependency limitation in Gemfile.
Jul 31, 2023
Is there an existing issue for this?
Package ecosystem
bundler
Package manager version
2.4.10
Language version
Ruby 3.2.2
Manifest location and content before the Dependabot update
/Gemfile
dependabot.yml content
version: 2
updates:
package-ecosystem: "bundler"
versioning-strategy: "lockfile-only" # Do not edit Gemfile, just Gemfile.lock - if we pin a dependency we do it for a reason!
directory: "/"
schedule:
interval: "weekly"
package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"
package-ecosystem: "github-actions"
Checks for workflow files stored in the default location of
.github/workflows
directory: "/"
schedule:
interval: "weekly"
Updated dependency
Updates omniauth-google-oauth2 from 1.0.1 to 1.1.1
Updates blowfish from b121213 to 1.0.1
Updates customerio from bdad156 to 5.1.0
Updates oauth2 from 1.4.11 to 2.0.9
What you expected to see, versus what you actually saw
This bug is somehow similar to description "Dependabot bumped a subdependency from 8.x to 9.0" issue.
Dependabot tried to update
omniauth-google-oauth2
dependency and bumped oauth2 from v1 to v2 version to do that. But he somehow didn't noticed, that Gemfile limits oauth2 gem togem "oauth2", "~> 1"
.Native package manager behavior
Bundler would not update
omniauth-google-oauth2
oroauth2
Images of the diff or a link to the PR, issue, or logs
Smallest manifest that reproduces the issue
Gemfile provided above.
This is a Gemfile.lock
The text was updated successfully, but these errors were encountered: