diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7e37ee4c869..699213f5c82 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,7 +14,6 @@ jobs: strategy: matrix: ruby-version: - - '2.7' - '3.0' test-suite: - vmdb @@ -43,7 +42,6 @@ jobs: uses: ruby/setup-ruby@v1 with: ruby-version: "${{ matrix.ruby-version }}" - rubygems: "${{ matrix.ruby-version == '2.7' && 'latest' || 'default' }}" bundler-cache: true timeout-minutes: 30 - name: Prepare tests diff --git a/Gemfile b/Gemfile index 914a95bdd83..69301c24dbc 100644 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,4 @@ -raise "Ruby versions < 2.7.0 are unsupported!" if RUBY_VERSION < "2.7.0" +raise "Ruby versions < 3.0.0 are unsupported!" if RUBY_VERSION < "3.0.0" raise "Ruby versions >= 3.1.0 are unsupported!" if RUBY_VERSION >= "3.1.0" source 'https://rubygems.org' diff --git a/spec/models/custom_attribute_spec.rb b/spec/models/custom_attribute_spec.rb index b799569a7db..6aa7f01fc27 100644 --- a/spec/models/custom_attribute_spec.rb +++ b/spec/models/custom_attribute_spec.rb @@ -12,9 +12,6 @@ end it "returns the value type of Integer custom attributes" do - # TODO: Ruby 2.4 unifies fixnum and bignum into integer, we shouldn't be - # returnings ruby types like this. - expected = RUBY_VERSION >= "2.4.0" ? :integer : :fixnum - expect(int_custom_attribute.value_type).to eq(expected) + expect(int_custom_attribute.value_type).to eq(:integer) end end