From bbe83205ca68815f6a402309b5f6507c0055d2d4 Mon Sep 17 00:00:00 2001 From: Rodrigo Nardi Date: Mon, 6 Nov 2023 09:12:23 -0300 Subject: [PATCH] Gem list Updating Gem list --- Gemfile | 13 ++++++---- Gemfile.lock | 59 ++++++++++++++++++-------------------------- lib/slack_bot_app.rb | 2 ++ 3 files changed, 34 insertions(+), 40 deletions(-) diff --git a/Gemfile b/Gemfile index e0c77cc..ac64e3b 100644 --- a/Gemfile +++ b/Gemfile @@ -14,20 +14,23 @@ gem 'activerecord', require: 'active_record' gem 'dotenv' -gem 'otr-activerecord' +gem 'nio4r', '2.5.8' + +gem 'otr-activerecord', '2.0.3' gem 'pagy' gem 'pagy_cursor' -gem 'pg' +gem 'pg', '1.2.3' gem 'puma', '5.5.2' gem 'rack', '2.2.3.1' -gem 'rubocop', group: %i[development test] -gem 'rubocop-performance', group: %i[development test] +gem 'rubocop', '1.56.1', group: %i[development test] +gem 'rubocop-performance', '1.7.1', group: %i[development test] gem 'sinatra', '2.0.8.1' -gem 'slack-ruby-bot-server-events' +gem 'slack-ruby-bot-server', '2.1.1' +gem 'slack-ruby-bot-server-events', '0.3.2' gem 'slack-ruby-client' group :test do diff --git a/Gemfile.lock b/Gemfile.lock index 7b315ff..212fb20 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,21 +1,15 @@ GEM remote: https://rubygems.org/ specs: - activemodel (7.1.1) - activesupport (= 7.1.1) - activerecord (7.1.1) - activemodel (= 7.1.1) - activesupport (= 7.1.1) - timeout (>= 0.4.0) - activesupport (7.1.1) - base64 - bigdecimal + activemodel (7.0.8) + activesupport (= 7.0.8) + activerecord (7.0.8) + activemodel (= 7.0.8) + activesupport (= 7.0.8) + activesupport (7.0.8) concurrent-ruby (~> 1.0, >= 1.0.2) - connection_pool (>= 2.2.5) - drb i18n (>= 1.6, < 2) minitest (>= 5.1) - mutex_m tzinfo (~> 2.0) addressable (2.8.5) public_suffix (>= 2.0.2, < 6.0) @@ -25,10 +19,8 @@ GEM nio4r (~> 2.3) timers (~> 4.1) base64 (0.1.1) - bigdecimal (3.1.4) builder (3.2.4) concurrent-ruby (1.2.2) - connection_pool (2.4.1) console (1.23.2) fiber-annotation fiber-local @@ -38,8 +30,6 @@ GEM diff-lcs (1.5.0) docile (1.4.0) dotenv (2.8.1) - drb (2.1.1) - ruby2_keywords dry-core (1.0.1) concurrent-ruby (~> 1.0) zeitwerk (~> 2.6) @@ -56,7 +46,7 @@ GEM zeitwerk (~> 2.6) factory_bot (6.3.0) activesupport (>= 5.0.0) - faker (3.2.1) + faker (3.2.2) i18n (>= 1.8.11, < 2) faraday (2.7.11) base64 @@ -104,10 +94,9 @@ GEM ruby2_keywords (~> 0.0.1) mustermann-grape (1.0.2) mustermann (>= 1.0.0) - mutex_m (0.1.2) - nio4r (2.5.9) - otr-activerecord (2.2.0) - activerecord (>= 4.0, < 7.2) + nio4r (2.5.8) + otr-activerecord (2.0.3) + activerecord (>= 4.0, < 7.1) hashie-forbidden_attributes (~> 0.1) pagy (6.1.0) pagy_cursor (0.6.1) @@ -117,11 +106,11 @@ GEM parser (3.2.2.4) ast (~> 2.4.1) racc - pg (1.5.4) + pg (1.2.3) public_suffix (5.0.3) puma (5.5.2) nio4r (~> 2.0) - racc (1.7.1) + racc (1.7.3) rack (2.2.3.1) rack-accept (0.4.5) rack (>= 0.4) @@ -156,23 +145,22 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.12.0) rspec-support (3.12.1) - rubocop (1.57.1) + rubocop (1.56.1) base64 (~> 0.1.1) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.2.2.4) + parser (>= 3.2.2.3) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) rubocop-ast (>= 1.28.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.29.0) + rubocop-ast (1.30.0) parser (>= 3.2.1.0) - rubocop-performance (1.19.1) - rubocop (>= 1.7.0, < 2.0) - rubocop-ast (>= 0.4.0) + rubocop-performance (1.7.1) + rubocop (>= 0.82.0) ruby-progressbar (1.13.0) ruby2_keywords (0.0.5) simplecov (0.22.0) @@ -206,7 +194,6 @@ GEM gli hashie tilt (2.3.0) - timeout (0.4.0) timers (4.3.5) trailblazer-option (0.1.2) tzinfo (2.0.6) @@ -227,19 +214,21 @@ DEPENDENCIES dotenv factory_bot faker - otr-activerecord + nio4r (= 2.5.8) + otr-activerecord (= 2.0.3) pagy pagy_cursor - pg + pg (= 1.2.3) puma (= 5.5.2) rack (= 2.2.3.1) rack-test rspec - rubocop - rubocop-performance + rubocop (= 1.56.1) + rubocop-performance (= 1.7.1) simplecov sinatra (= 2.0.8.1) - slack-ruby-bot-server-events + slack-ruby-bot-server (= 2.1.1) + slack-ruby-bot-server-events (= 0.3.2) slack-ruby-client webmock diff --git a/lib/slack_bot_app.rb b/lib/slack_bot_app.rb index 147e858..6e09ce5 100644 --- a/lib/slack_bot_app.rb +++ b/lib/slack_bot_app.rb @@ -10,6 +10,8 @@ require 'dotenv' require 'rack/show_exceptions' +require 'rubygems' +require 'bundler' Dotenv.load Bundler.require