diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea0175c..2275d55 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: matrix: os: [ubuntu-latest] # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0' - ruby: [2.4, 2.5, 2.6, 2.7, '3.0', '3.1', '3.2'] + ruby: ['2.7', '3.0', '3.1', '3.2'] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 diff --git a/.ruby-version b/.ruby-version index b0f6bf0..1effb00 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.4.10 +2.7 diff --git a/Gemfile b/Gemfile index 3ce717f..e481850 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,5 @@ +ruby ">= 2.7" + source "https://rubygems.org" gem "pg_query", ">= 1.0" diff --git a/sqlint.gemspec b/sqlint.gemspec index 681b43b..6f2f41d 100644 --- a/sqlint.gemspec +++ b/sqlint.gemspec @@ -8,7 +8,7 @@ Gem::Specification.new do |s| s.name = 'sqlint' s.version = SQLint::VERSION s.platform = Gem::Platform::RUBY - s.required_ruby_version = '>= 1.9.3' + s.required_ruby_version = '>= 2.7' s.authors = ['Steve Purcell', 'Kieran Trezona-le Comte'] s.description = <<-EOF Simple SQL linter.