Skip to content

Commit

Permalink
Require Ruby 2.7
Browse files Browse the repository at this point in the history
This reflects the actual transitive dependency imposed by google-protobuf
  • Loading branch information
purcell committed Nov 11, 2023
1 parent 8a9ed69 commit a3fe606
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.10
2.7
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
ruby ">= 2.7"

source "https://rubygems.org"

gem "pg_query", ">= 1.0"
Expand Down
2 changes: 1 addition & 1 deletion sqlint.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a3fe606

Please sign in to comment.