diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 949fbb7e..123ed15f 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby-version: ['2.6', '2.7', '3.0'] + ruby-version: ['2.5', '2.6', '2.7', '3.0'] steps: - uses: actions/checkout@v2 - name: Set up Ruby diff --git a/.rubocop.yml b/.rubocop.yml index 945b5dca..6bb61215 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -14,7 +14,7 @@ AllCops: - '**/*.rbi' # VSCode plugin workaround - 'spec/data/**/*' NewCops: enable - TargetRubyVersion: 2.6 + TargetRubyVersion: 2.5 Layout/ClassStructure: Enabled: true diff --git a/CHANGELOG.md b/CHANGELOG.md index c0439497..9f41aaa4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,10 +9,6 @@ * [#64](https://github.com/dduugg/yard-sorbet/pull/64) Fix parsing of `list` nodes * [#65](https://github.com/dduugg/yard-sorbet/pull/65) Fix parsing of nested `array` nodes -### Changes - -* Bump required ruby version to `>= 2.6.0` - ## 0.5.1 (2021-06-08) ### Bug fixes diff --git a/yard-sorbet.gemspec b/yard-sorbet.gemspec index e3c0ecdd..bcd92ec8 100644 --- a/yard-sorbet.gemspec +++ b/yard-sorbet.gemspec @@ -15,7 +15,7 @@ Gem::Specification.new do |spec| A YARD plugin that incorporates Sorbet type information DESC spec.homepage = 'https://github.com/dduugg/yard-sorbet' - spec.required_ruby_version = Gem::Requirement.new('>= 2.6.0') + spec.required_ruby_version = Gem::Requirement.new('>= 2.5.0') spec.metadata = { 'bug_tracker_uri' => "#{spec.homepage}/issues",