From b588c428e9ea274bc353b1f969f6ffc6c26e3ed4 Mon Sep 17 00:00:00 2001 From: Artem Musalitin <38328305+MrRTi@users.noreply.github.com> Date: Fri, 21 Apr 2023 02:44:51 +0300 Subject: [PATCH] Add Ruby 3.2 to requirements (#43) --- .github/workflows/test.yml | 2 +- rocketchat.gemspec | 2 +- spec/rocket_chat/room_spec.rb | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 222e76c..2a2be31 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby-version: ['2.6', '2.7', '3.0', '3.1'] + ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2'] steps: - uses: actions/checkout@v2 diff --git a/rocketchat.gemspec b/rocketchat.gemspec index 2684c37..164479d 100644 --- a/rocketchat.gemspec +++ b/rocketchat.gemspec @@ -15,7 +15,7 @@ Gem::Specification.new do |spec| spec.description = 'Rocket.Chat REST API v1 for Ruby' spec.homepage = 'https://github.com/abrom/rocketchat-ruby' spec.license = 'MIT' - spec.required_ruby_version = ['>= 2.5.0', '< 3.2.0'] + spec.required_ruby_version = ['>= 2.5.0', '< 3.3.0'] # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or # delete this section to allow pushing this gem to any host. diff --git a/spec/rocket_chat/room_spec.rb b/spec/rocket_chat/room_spec.rb index bb65e5e..6403e89 100644 --- a/spec/rocket_chat/room_spec.rb +++ b/spec/rocket_chat/room_spec.rb @@ -3,5 +3,7 @@ require 'spec_helper' describe RocketChat::Room do - pending 'Add some specs for RocketChat::Room' + it 'RocketChat::Room spec', pending: 'Add some specs for RocketChat::Room' do + raise NotImplementedError, 'Add some specs for RocketChat::Room' + end end