chatgpt_assistant 0.1.5 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/.env_sample +17 -8
  3. data/.rubocop.yml +17 -6
  4. data/Dockerfile +11 -5
  5. data/Gemfile +36 -22
  6. data/Gemfile.lock +143 -102
  7. data/README.md +25 -27
  8. data/Rakefile +1 -0
  9. data/docker-compose.yml +25 -3
  10. data/exe/chatgpt_assistant +1 -1
  11. data/exe/chatgpt_bot +3 -0
  12. data/lib/{bots → chatgpt_assistant/bots}/application_bot.rb +15 -11
  13. data/lib/chatgpt_assistant/bots/discord/actions.rb +104 -0
  14. data/lib/chatgpt_assistant/bots/discord/auth.rb +36 -0
  15. data/lib/chatgpt_assistant/bots/discord/bot.rb +29 -0
  16. data/lib/chatgpt_assistant/bots/discord/chat_actions.rb +33 -0
  17. data/lib/chatgpt_assistant/bots/discord/events.rb +138 -0
  18. data/lib/chatgpt_assistant/bots/discord/validations.rb +38 -0
  19. data/lib/chatgpt_assistant/bots/discord/voice_actions.rb +33 -0
  20. data/lib/chatgpt_assistant/bots/discord/voice_checkers.rb +35 -0
  21. data/lib/chatgpt_assistant/bots/discord_bot.rb +42 -0
  22. data/lib/chatgpt_assistant/bots/helpers/messenger_helper.rb +16 -0
  23. data/lib/{bots → chatgpt_assistant/bots}/helpers/search_helper.rb +3 -3
  24. data/lib/chatgpt_assistant/bots/jobs/new_chat_job.rb +17 -0
  25. data/lib/chatgpt_assistant/bots/jobs/register_job.rb +16 -0
  26. data/lib/chatgpt_assistant/bots/jobs/voice_connect_job.rb +14 -0
  27. data/lib/chatgpt_assistant/bots/mailers/account_mailer.rb +30 -0
  28. data/lib/chatgpt_assistant/bots/mailers/application_mailer.rb +21 -0
  29. data/lib/chatgpt_assistant/bots/services/new_chat_service.rb +59 -0
  30. data/lib/chatgpt_assistant/bots/services/register_service.rb +45 -0
  31. data/lib/chatgpt_assistant/bots/services/voice_connect_service.rb +29 -0
  32. data/lib/chatgpt_assistant/bots/telegram/actions.rb +54 -0
  33. data/lib/chatgpt_assistant/bots/telegram/auth.rb +40 -0
  34. data/lib/chatgpt_assistant/bots/telegram/bot.rb +17 -0
  35. data/lib/chatgpt_assistant/bots/telegram/chat_actions.rb +30 -0
  36. data/lib/chatgpt_assistant/bots/telegram/events.rb +120 -0
  37. data/lib/chatgpt_assistant/bots/telegram/events_controller.rb +48 -0
  38. data/lib/chatgpt_assistant/bots/telegram/permissions.rb +48 -0
  39. data/lib/chatgpt_assistant/bots/telegram/validations.rb +55 -0
  40. data/lib/chatgpt_assistant/bots/telegram/voice_actions.rb +36 -0
  41. data/lib/chatgpt_assistant/bots/telegram_bot.rb +44 -0
  42. data/lib/chatgpt_assistant/chatter.rb +10 -2
  43. data/lib/chatgpt_assistant/config.rb +27 -2
  44. data/lib/chatgpt_assistant/default_messages.rb +79 -31
  45. data/lib/chatgpt_assistant/error.rb +228 -0
  46. data/lib/chatgpt_assistant/migrations.rb +5 -0
  47. data/lib/chatgpt_assistant/models.rb +38 -13
  48. data/lib/chatgpt_assistant/sidekiq.rb +7 -0
  49. data/lib/chatgpt_assistant/sidekiq.yml +10 -0
  50. data/lib/chatgpt_assistant/version.rb +1 -1
  51. data/lib/chatgpt_assistant.rb +8 -15
  52. data/prompts-data/{awesome-chatgpt-prompts.csv → awesome-en-prompts.csv} +164 -164
  53. data/prompts-data/awesome-pt-prompts.csv +164 -0
  54. metadata +40 -21
  55. data/.env_prod_sample +0 -18
  56. data/docker-compose.prod.yml +0 -34
  57. data/lib/bots/discord_bot.rb +0 -185
  58. data/lib/bots/helpers/authentication_helper.rb +0 -47
  59. data/lib/bots/helpers/discord_helper.rb +0 -124
  60. data/lib/bots/helpers/discord_voice_helper.rb +0 -50
  61. data/lib/bots/helpers/logger_action_helper.rb +0 -7
  62. data/lib/bots/helpers/messenger_helper.rb +0 -134
  63. data/lib/bots/helpers/telegram_helper.rb +0 -77
  64. data/lib/bots/helpers/telegram_voice_helper.rb +0 -33
  65. data/lib/bots/helpers/validation_helper.rb +0 -38
  66. data/lib/bots/helpers/visit_helper.rb +0 -24
  67. data/lib/bots/telegram_bot.rb +0 -149
  68. /data/lib/{bots → chatgpt_assistant/bots}/helpers/audio_helper.rb +0 -0
  69. /data/lib/{bots → chatgpt_assistant/bots}/helpers/file_helper.rb +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 18ba3cf9f452f76a08c75f2e0dfd406ed8c7fe5bd35ac530abce0217ed91c02c
4
- data.tar.gz: 34f3574731f3ffe82469b49c41e27f531f2d1f75f83989327ee46d3e700f5501
3
+ metadata.gz: 97aedc38669c3951e7a0bb47b5725a0441e72c7d511d60aaf4111cd593ef2d0c
4
+ data.tar.gz: 291096188668bc71f6115c39e5c9ec563d612a9285c564a26ff7272482412a72
5
5
  SHA512:
6
- metadata.gz: 5d4cafcef50cef6a15fcd3d50ed9f98ef77f65f1b2c6611887f27a33a423498f6258dbad2b1352ff0ee5f6b59a8995ba3e062a0ff01185b6a8b8e5ec464deaed
7
- data.tar.gz: 7081185b589e2ef8566a76e43d513fba382549a577d08f9384315e92601341bf35df1311c6da65b0588d8cf62b53db8c6e7c1e29f52ad2fe7990976397b16a33
6
+ metadata.gz: 2388f8d01c931521849e96ae675e123ec55e9e2cdb0e8619ef67374713bc74a5e405d7b11d813814e5f6912bd6d359090a9f334a3bbf86a555dd982cbe41c555
7
+ data.tar.gz: 752cb272ae50aa4d6659f0c0cccdb630aefaca5439e6a21a375d2d54cc8bad41aec9d285bd0697277ba7abe8c9dff36ee8022914aba758cebb964e6608fc77d3
data/.env_sample CHANGED
@@ -1,13 +1,13 @@
1
1
  ENV_TYPE=development
2
- LANGUAGE=en # or pt currently
3
- MODE=aws # or ibm
4
- DISCORD_PREFIX=dgpt!
2
+ LANGUAGE=en
3
+ MODE=aws
4
+ DISCORD_PREFIX=!!
5
5
 
6
- POSTGRES_DB=chatgpt_assistant_development # or your database
7
- POSTGRES_USER=postgres # or your user
8
- POSTGRES_PASSWORD=postgres # or your password
6
+ POSTGRES_DB=chatgpt_assistant_development
7
+ POSTGRES_USER=postgres
8
+ POSTGRES_PASSWORD=postgres
9
9
 
10
- IBM_API_KEY=Your IBM API Key
10
+ IBM_API_KEY=Your IBM API Key # set MODE=ibm
11
11
  IBM_URL=Your IBM Text to Speech URL
12
12
  TELEGRAM_TOKEN=Your Telegram Bot Token
13
13
  OPENAI_API_KEY=Your OpenAI API Key
@@ -15,4 +15,13 @@ AWS_ACCESS_KEY=Your AWS Access Key
15
15
  AWS_SECRET_ACCESS_KEY=Your AWS Secret Access Key
16
16
  AWS_REGION=Your AWS Region
17
17
  DISCORD_CLIENT_ID=Your Discord Client ID
18
- DISCORD_TOKEN=Your Discord Token
18
+ DISCORD_TOKEN=Your Discord Token
19
+
20
+ SMTP_ADDRESS=YOUR_SMTP_ADDRESS
21
+ SMTP_PASSWORD=YOUR_SMTP_PASSWORD
22
+ SMTP_PORT=YOUR_SMTP_PORT
23
+ SMTP_USER_NAME=YOUR_SMTP_USER_NAME
24
+ SMTP_DOMAIN=YOUR_SMTP_DOMAIN
25
+ SMTP_AUTHENTICATION=plain
26
+ SMTP_ENABLE_STARTTLS_AUTO=true
27
+
data/.rubocop.yml CHANGED
@@ -1,6 +1,8 @@
1
1
  AllCops:
2
2
  TargetRubyVersion: 2.6
3
3
  NewCops: enable
4
+ Exclude:
5
+ - 'Gemfile.lock'
4
6
 
5
7
  Style/StringLiterals:
6
8
  Enabled: true
@@ -11,28 +13,37 @@ Style/StringLiteralsInInterpolation:
11
13
  EnforcedStyle: double_quotes
12
14
 
13
15
  Layout/LineLength:
14
- Max: 160
16
+ Max: 200
15
17
 
16
18
  Metrics/ModuleLength:
17
19
  Max: 120
18
20
 
19
21
  Metrics/MethodLength:
20
- Max: 200
22
+ Max: 250
21
23
 
22
24
  Metrics/BlockLength:
23
- Max: 200
25
+ Max: 250
24
26
 
25
27
  Metrics/ClassLength:
26
28
  Max: 300
27
29
 
28
30
  Metrics/AbcSize:
29
- Max: 28
31
+ Max: 62
32
+
33
+ Metrics/PerceivedComplexity:
34
+ Max: 15
35
+
36
+ Metrics/CyclomaticComplexity:
37
+ Max: 15
38
+
39
+ Style/Documentation:
40
+ Enabled: false
30
41
 
31
42
  Layout/AccessModifierIndentation:
32
43
  EnforcedStyle: indent
33
-
44
+
34
45
  Layout/IndentationWidth:
35
46
  Width: 2
36
47
 
37
48
  Layout/IndentationConsistency:
38
- EnforcedStyle: indented_internal_methods
49
+ EnforcedStyle: indented_internal_methods
data/Dockerfile CHANGED
@@ -1,12 +1,18 @@
1
1
  FROM ruby:3.2.2
2
2
  RUN apt-get update -qq && apt-get install -y nodejs postgresql-client ffmpeg
3
- WORKDIR /chatgpt_assistant
4
- COPY Gemfile /chatgpt_assistant/Gemfile
5
- COPY Gemfile.lock /chatgpt_assistant/Gemfile.lock
3
+ WORKDIR /assistant
4
+ COPY Gemfile /assistant/Gemfile
5
+ COPY Gemfile.lock /assistant/Gemfile.lock
6
6
  RUN bundle install
7
7
 
8
- RUN apt-get install -y wget
8
+ RUN apt-get install -y wget libopus0 opus-tools
9
9
  RUN wget https://archive.mozilla.org/pub/opus/opus-1.3.1.tar.gz
10
10
  RUN tar -xvf opus-1.3.1.tar.gz
11
11
  RUN cd opus-1.3.1 && ./configure && make && make install
12
- RUN rm -rf opus-1.3.1.tar.gz opus-1.3.1
12
+ RUN rm -rf opus-1.3.1.tar.gz opus-1.3.1
13
+
14
+ RUN wget https://download.libsodium.org/libsodium/releases/libsodium-1.0.18.tar.gz
15
+ RUN tar -xvf libsodium-1.0.18.tar.gz
16
+ RUN cd libsodium-1.0.18 && ./configure && make && make install
17
+ RUN ldconfig
18
+ RUN rm -rf libsodium-1.0.18.tar.gz libsodium-1.0.18
data/Gemfile CHANGED
@@ -2,50 +2,64 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "bcrypt"
5
+ gem "bcrypt", "~> 3.1"
6
6
 
7
7
  gem "rake", "~> 13.0"
8
8
 
9
- gem "rspec", "~> 3.0", group: :test
9
+ gem "rspec", "~> 3.12", group: :test
10
10
 
11
- gem "simplecov", "~> 0.21", group: :test
11
+ gem "rspec-rails", "~> 6.0", group: :test
12
12
 
13
- gem "vcr", "~> 6.0", group: :test
13
+ gem "simplecov", "~> 0.22", group: :test
14
14
 
15
- gem "rubocop", "~> 1.49"
15
+ gem "vcr", "~> 6.1", group: :test
16
16
 
17
- gem "rubocop-rspec", "~> 2.4"
17
+ gem "shoulda-matchers", "~> 5.3", group: :test
18
18
 
19
- gem "telegram-bot-ruby", "~> 0.16"
19
+ gem "factory_bot_rails", "~> 6.2", group: :test
20
+
21
+ gem "faker", "~> 2.23", group: :test
22
+
23
+ gem "database_cleaner", "~> 2.0", group: :test
24
+
25
+ gem "dotenv", "~> 2.8", group: :test
26
+
27
+ gem "rubocop", "~> 1.50"
28
+
29
+ gem "rubocop-rspec", "~> 2.22"
30
+
31
+ gem "telegram-bot-ruby", "~> 1.0"
20
32
 
21
33
  gem "discordrb", "~> 3.4"
22
34
 
23
- gem "faraday"
35
+ gem "faraday", "~> 2.7"
36
+
37
+ gem "activemodel", "~> 6.1"
24
38
 
25
- gem "activemodel"
39
+ gem "activerecord", "~> 6.1"
26
40
 
27
- gem "activerecord"
41
+ gem "activesupport", "~> 6.1"
28
42
 
29
- gem "activesupport"
43
+ gem "actionmailer", "~> 6.1"
30
44
 
31
- gem "actionmailer"
45
+ gem "redis", "~> 5.0"
32
46
 
33
- gem "redis"
47
+ gem "sidekiq", "~> 7.0"
34
48
 
35
- gem "sidekiq"
49
+ gem "sidekiq-scheduler", "~> 5.0"
36
50
 
37
- gem "sidekiq-scheduler"
51
+ gem "activerecord-import", "~> 1.4"
38
52
 
39
- gem "activerecord-import"
53
+ gem "pg", "~> 1.5"
40
54
 
41
- gem "pg"
55
+ gem "streamio-ffmpeg", "~> 3.0"
42
56
 
43
- gem "streamio-ffmpeg"
57
+ gem "lucy_dockerunner", "~> 0.2"
44
58
 
45
- gem "lucy_dockerunner"
59
+ gem "ibm_watson", "~> 2.2"
46
60
 
47
- gem "ibm_watson"
61
+ gem "aws-sdk-polly", "~> 1.72"
48
62
 
49
- gem "aws-sdk-polly"
63
+ gem "awesome_chatgpt_actors", "~> 0.1"
50
64
 
51
- gem "awesome_chatgpt_actors"
65
+ gem "sidekiq-expiring-jobs", "~> 0.1"
data/Gemfile.lock CHANGED
@@ -1,77 +1,72 @@
1
1
  GEM
2
2
  remote: https://rubygems.org/
3
3
  specs:
4
- actionmailer (7.0.4.3)
5
- actionpack (= 7.0.4.3)
6
- actionview (= 7.0.4.3)
7
- activejob (= 7.0.4.3)
8
- activesupport (= 7.0.4.3)
4
+ actionmailer (6.1.7.3)
5
+ actionpack (= 6.1.7.3)
6
+ actionview (= 6.1.7.3)
7
+ activejob (= 6.1.7.3)
8
+ activesupport (= 6.1.7.3)
9
9
  mail (~> 2.5, >= 2.5.4)
10
- net-imap
11
- net-pop
12
- net-smtp
13
10
  rails-dom-testing (~> 2.0)
14
- actionpack (7.0.4.3)
15
- actionview (= 7.0.4.3)
16
- activesupport (= 7.0.4.3)
17
- rack (~> 2.0, >= 2.2.0)
11
+ actionpack (6.1.7.3)
12
+ actionview (= 6.1.7.3)
13
+ activesupport (= 6.1.7.3)
14
+ rack (~> 2.0, >= 2.0.9)
18
15
  rack-test (>= 0.6.3)
19
16
  rails-dom-testing (~> 2.0)
20
17
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
21
- actionview (7.0.4.3)
22
- activesupport (= 7.0.4.3)
18
+ actionview (6.1.7.3)
19
+ activesupport (= 6.1.7.3)
23
20
  builder (~> 3.1)
24
21
  erubi (~> 1.4)
25
22
  rails-dom-testing (~> 2.0)
26
23
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
27
- activejob (7.0.4.3)
28
- activesupport (= 7.0.4.3)
24
+ activejob (6.1.7.3)
25
+ activesupport (= 6.1.7.3)
29
26
  globalid (>= 0.3.6)
30
- activemodel (7.0.4.3)
31
- activesupport (= 7.0.4.3)
32
- activerecord (7.0.4.3)
33
- activemodel (= 7.0.4.3)
34
- activesupport (= 7.0.4.3)
27
+ activemodel (6.1.7.3)
28
+ activesupport (= 6.1.7.3)
29
+ activerecord (6.1.7.3)
30
+ activemodel (= 6.1.7.3)
31
+ activesupport (= 6.1.7.3)
35
32
  activerecord-import (1.4.1)
36
33
  activerecord (>= 4.2)
37
- activesupport (7.0.4.3)
34
+ activesupport (6.1.7.3)
38
35
  concurrent-ruby (~> 1.0, >= 1.0.2)
39
36
  i18n (>= 1.6, < 2)
40
37
  minitest (>= 5.1)
41
38
  tzinfo (~> 2.0)
42
- addressable (2.8.1)
39
+ zeitwerk (~> 2.3)
40
+ addressable (2.8.4)
43
41
  public_suffix (>= 2.0.2, < 6.0)
44
42
  ast (2.4.2)
45
- awesome_chatgpt_actors (0.1.2)
46
- csv
47
- ruby-openai
43
+ awesome_chatgpt_actors (0.1.3)
44
+ csv (~> 3.1)
48
45
  aws-eventstream (1.2.0)
49
- aws-partitions (1.735.0)
50
- aws-sdk-core (3.171.0)
46
+ aws-partitions (1.785.0)
47
+ aws-sdk-core (3.178.0)
51
48
  aws-eventstream (~> 1, >= 1.0.2)
52
49
  aws-partitions (~> 1, >= 1.651.0)
53
50
  aws-sigv4 (~> 1.5)
54
51
  jmespath (~> 1, >= 1.6.1)
55
- aws-sdk-polly (1.66.0)
56
- aws-sdk-core (~> 3, >= 3.165.0)
52
+ aws-sdk-polly (1.72.0)
53
+ aws-sdk-core (~> 3, >= 3.177.0)
57
54
  aws-sigv4 (~> 1.1)
58
- aws-sigv4 (1.5.2)
55
+ aws-sigv4 (1.6.0)
59
56
  aws-eventstream (~> 1, >= 1.0.2)
60
- axiom-types (0.1.1)
61
- descendants_tracker (~> 0.0.4)
62
- ice_nine (~> 0.11.0)
63
- thread_safe (~> 0.3, >= 0.3.1)
64
- bcrypt (3.1.18)
57
+ bcrypt (3.1.19)
65
58
  builder (3.2.4)
66
- coercible (1.0.0)
67
- descendants_tracker (~> 0.0.1)
68
59
  concurrent-ruby (1.2.2)
69
60
  connection_pool (2.4.0)
70
61
  crass (1.0.6)
71
62
  csv (3.2.6)
63
+ database_cleaner (2.0.2)
64
+ database_cleaner-active_record (>= 2, < 3)
65
+ database_cleaner-active_record (2.1.0)
66
+ activerecord (>= 5.a)
67
+ database_cleaner-core (~> 2.0.0)
68
+ database_cleaner-core (2.0.1)
72
69
  date (3.3.3)
73
- descendants_tracker (0.0.4)
74
- thread_safe (~> 0.3, >= 0.3.1)
75
70
  diff-lcs (1.5.0)
76
71
  discordrb (3.4.0)
77
72
  discordrb-webhooks (~> 3.3.0)
@@ -84,19 +79,45 @@ GEM
84
79
  docile (1.4.0)
85
80
  domain_name (0.5.20190701)
86
81
  unf (>= 0.0.5, < 1.0.0)
82
+ dotenv (2.8.1)
83
+ dry-core (1.0.0)
84
+ concurrent-ruby (~> 1.0)
85
+ zeitwerk (~> 2.6)
87
86
  dry-inflector (1.0.0)
87
+ dry-logic (1.5.0)
88
+ concurrent-ruby (~> 1.0)
89
+ dry-core (~> 1.0, < 2)
90
+ zeitwerk (~> 2.6)
91
+ dry-struct (1.6.0)
92
+ dry-core (~> 1.0, < 2)
93
+ dry-types (>= 1.7, < 2)
94
+ ice_nine (~> 0.11)
95
+ zeitwerk (~> 2.6)
96
+ dry-types (1.7.1)
97
+ concurrent-ruby (~> 1.0)
98
+ dry-core (~> 1.0)
99
+ dry-inflector (~> 1.0)
100
+ dry-logic (~> 1.4)
101
+ zeitwerk (~> 2.6)
88
102
  erubi (1.12.0)
89
103
  et-orbi (1.2.7)
90
104
  tzinfo
91
105
  event_emitter (0.2.6)
92
106
  eventmachine (1.2.7)
93
- faraday (2.7.4)
107
+ factory_bot (6.2.1)
108
+ activesupport (>= 5.0.0)
109
+ factory_bot_rails (6.2.0)
110
+ factory_bot (~> 6.2.0)
111
+ railties (>= 5.0.0)
112
+ faker (2.23.0)
113
+ i18n (>= 1.8.11, < 2)
114
+ faraday (2.7.10)
94
115
  faraday-net_http (>= 2.0, < 3.1)
95
116
  ruby2_keywords (>= 0.0.4)
96
117
  faraday-multipart (1.0.4)
97
118
  multipart-post (~> 2)
98
119
  faraday-net_http (3.0.2)
99
- faye-websocket (0.11.1)
120
+ faye-websocket (0.11.2)
100
121
  eventmachine (>= 0.12.0)
101
122
  websocket-driver (>= 0.5.1)
102
123
  ffi (1.15.5)
@@ -119,10 +140,7 @@ GEM
119
140
  http-form_data (2.3.0)
120
141
  http-parser (1.2.3)
121
142
  ffi-compiler (>= 1.0, < 2.0)
122
- httparty (0.21.0)
123
- mini_mime (>= 1.0.0)
124
- multi_xml (>= 0.5.2)
125
- i18n (1.12.0)
143
+ i18n (1.13.0)
126
144
  concurrent-ruby (~> 1.0)
127
145
  ibm_cloud_sdk_core (1.1.3)
128
146
  concurrent-ruby (~> 1.0)
@@ -139,25 +157,25 @@ GEM
139
157
  jmespath (1.6.2)
140
158
  json (2.6.3)
141
159
  jwt (2.2.3)
142
- loofah (2.19.1)
160
+ loofah (2.21.3)
143
161
  crass (~> 1.0.2)
144
- nokogiri (>= 1.5.9)
145
- lucy_dockerunner (0.1.9)
162
+ nokogiri (>= 1.12.0)
163
+ lucy_dockerunner (0.2.0)
146
164
  mail (2.8.1)
147
165
  mini_mime (>= 0.1.1)
148
166
  net-imap
149
167
  net-pop
150
168
  net-smtp
169
+ method_source (1.0.0)
151
170
  mime-types (3.4.1)
152
171
  mime-types-data (~> 3.2015)
153
172
  mime-types-data (3.2023.0218.1)
154
173
  mini_mime (1.1.2)
155
- mini_portile2 (2.8.1)
174
+ mini_portile2 (2.8.2)
156
175
  minitest (5.18.0)
157
176
  multi_json (1.15.0)
158
- multi_xml (0.6.0)
159
177
  multipart-post (2.3.0)
160
- net-imap (0.3.4)
178
+ net-imap (0.3.6)
161
179
  date
162
180
  net-protocol
163
181
  net-pop (0.1.2)
@@ -167,21 +185,21 @@ GEM
167
185
  net-smtp (0.3.3)
168
186
  net-protocol
169
187
  netrc (0.11.0)
170
- nokogiri (1.14.2)
171
- mini_portile2 (~> 2.8.0)
188
+ nokogiri (1.15.2)
189
+ mini_portile2 (~> 2.8.2)
172
190
  racc (~> 1.4)
173
- nokogiri (1.14.2-x86_64-linux)
191
+ nokogiri (1.15.2-x86_64-linux)
174
192
  racc (~> 1.4)
175
193
  opus-ruby (1.0.1)
176
194
  ffi
177
- parallel (1.22.1)
178
- parser (3.2.2.0)
195
+ parallel (1.23.0)
196
+ parser (3.2.2.1)
179
197
  ast (~> 2.4.1)
180
- pg (1.4.6)
198
+ pg (1.5.3)
181
199
  public_suffix (5.0.1)
182
200
  raabro (1.4.0)
183
201
  racc (1.6.2)
184
- rack (2.2.6.4)
202
+ rack (2.2.7)
185
203
  rack-test (2.1.0)
186
204
  rack (>= 1.3)
187
205
  rails-dom-testing (2.0.3)
@@ -189,13 +207,19 @@ GEM
189
207
  nokogiri (>= 1.6)
190
208
  rails-html-sanitizer (1.5.0)
191
209
  loofah (~> 2.19, >= 2.19.1)
210
+ railties (6.1.7.3)
211
+ actionpack (= 6.1.7.3)
212
+ activesupport (= 6.1.7.3)
213
+ method_source
214
+ rake (>= 12.2)
215
+ thor (~> 1.0)
192
216
  rainbow (3.1.1)
193
217
  rake (13.0.6)
194
218
  redis (5.0.6)
195
219
  redis-client (>= 0.9.0)
196
- redis-client (0.14.0)
220
+ redis-client (0.14.1)
197
221
  connection_pool
198
- regexp_parser (2.7.0)
222
+ regexp_parser (2.8.0)
199
223
  rest-client (2.1.0)
200
224
  http-accept (>= 1.7.0, < 2.0)
201
225
  http-cookie (>= 1.0.2, < 2.0)
@@ -206,16 +230,24 @@ GEM
206
230
  rspec-core (~> 3.12.0)
207
231
  rspec-expectations (~> 3.12.0)
208
232
  rspec-mocks (~> 3.12.0)
209
- rspec-core (3.12.1)
233
+ rspec-core (3.12.2)
210
234
  rspec-support (~> 3.12.0)
211
- rspec-expectations (3.12.2)
235
+ rspec-expectations (3.12.3)
212
236
  diff-lcs (>= 1.2.0, < 2.0)
213
237
  rspec-support (~> 3.12.0)
214
- rspec-mocks (3.12.3)
238
+ rspec-mocks (3.12.5)
215
239
  diff-lcs (>= 1.2.0, < 2.0)
216
240
  rspec-support (~> 3.12.0)
241
+ rspec-rails (6.0.3)
242
+ actionpack (>= 6.1)
243
+ activesupport (>= 6.1)
244
+ railties (>= 6.1)
245
+ rspec-core (~> 3.12)
246
+ rspec-expectations (~> 3.12)
247
+ rspec-mocks (~> 3.12)
248
+ rspec-support (~> 3.12)
217
249
  rspec-support (3.12.0)
218
- rubocop (1.49.0)
250
+ rubocop (1.50.2)
219
251
  json (~> 2.3)
220
252
  parallel (~> 1.10)
221
253
  parser (>= 3.2.0.0)
@@ -225,24 +257,29 @@ GEM
225
257
  rubocop-ast (>= 1.28.0, < 2.0)
226
258
  ruby-progressbar (~> 1.7)
227
259
  unicode-display_width (>= 2.4.0, < 3.0)
228
- rubocop-ast (1.28.0)
260
+ rubocop-ast (1.28.1)
229
261
  parser (>= 3.2.1.0)
230
- rubocop-capybara (2.17.1)
262
+ rubocop-capybara (2.18.0)
231
263
  rubocop (~> 1.41)
232
- rubocop-rspec (2.19.0)
264
+ rubocop-factory_bot (2.22.0)
265
+ rubocop (~> 1.33)
266
+ rubocop-rspec (2.22.0)
233
267
  rubocop (~> 1.33)
234
268
  rubocop-capybara (~> 2.17)
235
- ruby-openai (3.7.0)
236
- httparty (>= 0.18.1)
269
+ rubocop-factory_bot (~> 2.22)
237
270
  ruby-progressbar (1.13.0)
238
271
  ruby2_keywords (0.0.5)
239
272
  rufus-scheduler (3.8.2)
240
273
  fugit (~> 1.1, >= 1.1.6)
241
- sidekiq (7.0.7)
274
+ shoulda-matchers (5.3.0)
275
+ activesupport (>= 5.2.0)
276
+ sidekiq (7.0.8)
242
277
  concurrent-ruby (< 2)
243
278
  connection_pool (>= 2.3.0)
244
279
  rack (>= 2.2.4)
245
280
  redis-client (>= 0.11.0)
281
+ sidekiq-expiring-jobs (0.1.0)
282
+ sidekiq (>= 6.0)
246
283
  sidekiq-scheduler (5.0.2)
247
284
  rufus-scheduler (~> 3.2)
248
285
  sidekiq (>= 6, < 8)
@@ -255,12 +292,12 @@ GEM
255
292
  simplecov_json_formatter (0.1.4)
256
293
  streamio-ffmpeg (3.0.2)
257
294
  multi_json (~> 1.8)
258
- telegram-bot-ruby (0.23.0)
259
- dry-inflector
295
+ telegram-bot-ruby (1.0.0)
296
+ dry-struct (~> 1.6)
260
297
  faraday (~> 2.0)
261
298
  faraday-multipart (~> 1.0)
262
- virtus (~> 2.0)
263
- thread_safe (0.3.6)
299
+ zeitwerk (~> 2.6)
300
+ thor (1.2.2)
264
301
  tilt (2.1.0)
265
302
  timeout (0.3.2)
266
303
  tzinfo (2.0.6)
@@ -270,10 +307,6 @@ GEM
270
307
  unf_ext (0.0.8.2)
271
308
  unicode-display_width (2.4.2)
272
309
  vcr (6.1.0)
273
- virtus (2.0.0)
274
- axiom-types (~> 0.1)
275
- coercible (~> 1.0)
276
- descendants_tracker (~> 0.0, >= 0.0.3)
277
310
  websocket (1.2.9)
278
311
  websocket-client-simple (0.6.1)
279
312
  event_emitter
@@ -281,36 +314,44 @@ GEM
281
314
  websocket-driver (0.7.5)
282
315
  websocket-extensions (>= 0.1.0)
283
316
  websocket-extensions (0.1.5)
317
+ zeitwerk (2.6.8)
284
318
 
285
319
  PLATFORMS
286
320
  ruby
287
321
  x86_64-linux
288
322
 
289
323
  DEPENDENCIES
290
- actionmailer
291
- activemodel
292
- activerecord
293
- activerecord-import
294
- activesupport
295
- awesome_chatgpt_actors
296
- aws-sdk-polly
297
- bcrypt
324
+ actionmailer (~> 6.1)
325
+ activemodel (~> 6.1)
326
+ activerecord (~> 6.1)
327
+ activerecord-import (~> 1.4)
328
+ activesupport (~> 6.1)
329
+ awesome_chatgpt_actors (~> 0.1)
330
+ aws-sdk-polly (~> 1.72)
331
+ bcrypt (~> 3.1)
332
+ database_cleaner (~> 2.0)
298
333
  discordrb (~> 3.4)
299
- faraday
300
- ibm_watson
301
- lucy_dockerunner
302
- pg
334
+ dotenv (~> 2.8)
335
+ factory_bot_rails (~> 6.2)
336
+ faker (~> 2.23)
337
+ faraday (~> 2.7)
338
+ ibm_watson (~> 2.2)
339
+ lucy_dockerunner (~> 0.2)
340
+ pg (~> 1.5)
303
341
  rake (~> 13.0)
304
- redis
305
- rspec (~> 3.0)
306
- rubocop (~> 1.49)
307
- rubocop-rspec (~> 2.4)
308
- sidekiq
309
- sidekiq-scheduler
310
- simplecov (~> 0.21)
311
- streamio-ffmpeg
312
- telegram-bot-ruby (~> 0.16)
313
- vcr (~> 6.0)
342
+ redis (~> 5.0)
343
+ rspec (~> 3.12)
344
+ rspec-rails (~> 6.0)
345
+ rubocop (~> 1.50)
346
+ rubocop-rspec (~> 2.22)
347
+ shoulda-matchers (~> 5.3)
348
+ sidekiq (~> 7.0)
349
+ sidekiq-expiring-jobs (~> 0.1)
350
+ sidekiq-scheduler (~> 5.0)
351
+ simplecov (~> 0.22)
352
+ streamio-ffmpeg (~> 3.0)
353
+ telegram-bot-ruby (~> 1.0)
354
+ vcr (~> 6.1)
314
355
 
315
356
  BUNDLED WITH
316
- 2.2.32
357
+ 2.4.10