diff --git a/bundler/lib/dependabot/bundler/file_updater/ruby_requirement_setter.rb b/bundler/lib/dependabot/bundler/file_updater/ruby_requirement_setter.rb index ba1e6e18f3..6eabb29a12 100644 --- a/bundler/lib/dependabot/bundler/file_updater/ruby_requirement_setter.rb +++ b/bundler/lib/dependabot/bundler/file_updater/ruby_requirement_setter.rb @@ -12,7 +12,7 @@ class RubyRequirementSetter class RubyVersionNotFound < StandardError; end RUBY_VERSIONS = %w( - 1.8.7 1.9.3 2.0.0 2.1.10 2.2.10 2.3.8 2.4.10 2.5.9 2.6.9 2.7.6 3.0.6 3.1.4 3.2.2 3.3.0 + 1.8.7 1.9.3 2.0.0 2.1.10 2.2.10 2.3.8 2.4.10 2.5.9 2.6.9 2.7.6 3.0.6 3.1.4 3.2.2 3.3.1 ).freeze attr_reader :gemspec diff --git a/bundler/spec/dependabot/bundler/file_updater/ruby_requirement_setter_spec.rb b/bundler/spec/dependabot/bundler/file_updater/ruby_requirement_setter_spec.rb index 10d3173235..84aeed3cf9 100644 --- a/bundler/spec/dependabot/bundler/file_updater/ruby_requirement_setter_spec.rb +++ b/bundler/spec/dependabot/bundler/file_updater/ruby_requirement_setter_spec.rb @@ -133,7 +133,7 @@ let(:content) do bundler_project_dependency_file("gemfile", filename: "Gemfile").content end - it { is_expected.to include("ruby '3.3.0'\n") } + it { is_expected.to include("ruby '3.3.1'\n") } it { is_expected.to include(%(gem "business", "~> 1.4.0")) } end diff --git a/bundler/spec/fixtures/projects/bundler1/gemfile_require_ruby_3_3/example.gemspec b/bundler/spec/fixtures/projects/bundler1/gemfile_require_ruby_3_3/example.gemspec index ac785c5e68..306eefbba8 100644 --- a/bundler/spec/fixtures/projects/bundler1/gemfile_require_ruby_3_3/example.gemspec +++ b/bundler/spec/fixtures/projects/bundler1/gemfile_require_ruby_3_3/example.gemspec @@ -15,7 +15,7 @@ Gem::Specification.new do |spec| spec.files = Dir["CHANGELOG.md", "LICENSE.txt", "README.md", "lib/**/*", "helpers/**/*"] - spec.required_ruby_version = ">= 3.3.0" + spec.required_ruby_version = ">= 3.3.1" spec.required_rubygems_version = ">= 2.6.11" spec.add_dependency 'business', '~> 1.0' diff --git a/bundler/spec/fixtures/projects/bundler2/gemfile_require_ruby_3_3/example.gemspec b/bundler/spec/fixtures/projects/bundler2/gemfile_require_ruby_3_3/example.gemspec index 317319e9bc..0d53a8f922 100644 --- a/bundler/spec/fixtures/projects/bundler2/gemfile_require_ruby_3_3/example.gemspec +++ b/bundler/spec/fixtures/projects/bundler2/gemfile_require_ruby_3_3/example.gemspec @@ -15,7 +15,7 @@ Gem::Specification.new do |spec| spec.files = Dir["CHANGELOG.md", "LICENSE.txt", "README.md", "lib/**/*", "helpers/**/*"] - spec.required_ruby_version = ">= 3.3.0" + spec.required_ruby_version = ">= 3.3.1" spec.required_rubygems_version = ">= 3.5.3" spec.add_dependency 'business', '~> 1.0'