From 5a1055a68184308d2f0f093c2f4d0cc15c4c8bfc Mon Sep 17 00:00:00 2001 From: Joel Moss Date: Fri, 11 Oct 2024 17:14:17 +0100 Subject: [PATCH] fix(ci): Added .ruby-version file --- .github/workflows/main.yml | 1 - .rubocop.yml | 2 +- .ruby-version | 1 + proscenium.gemspec | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 .ruby-version diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 024cf8d7..4af73090 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,7 +18,6 @@ jobs: - uses: actions/setup-go@v5 with: go-version-file: "./go.mod" - - run: go version - run: go test ./test - uses: ruby/setup-ruby@v1 diff --git a/.rubocop.yml b/.rubocop.yml index c20bc6b4..feb08abf 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -8,7 +8,7 @@ inherit_mode: - Exclude AllCops: - TargetRubyVersion: 3.3 + TargetRubyVersion: 3.2 NewCops: enable SuggestExtensions: false Exclude: diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 00000000..0163af7e --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +3.3.5 \ No newline at end of file diff --git a/proscenium.gemspec b/proscenium.gemspec index 1aca2e01..06e0d924 100644 --- a/proscenium.gemspec +++ b/proscenium.gemspec @@ -11,7 +11,7 @@ Gem::Specification.new do |spec| spec.summary = 'The engine powering your Rails frontend' spec.homepage = 'https://github.com/joelmoss/proscenium' spec.license = 'MIT' - spec.required_ruby_version = '>= 3.3.1' + spec.required_ruby_version = '>= 3.2.0' spec.metadata['homepage_uri'] = spec.homepage spec.metadata['source_code_uri'] = 'https://github.com/joelmoss/proscenium'