chatgpt_assistant 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 1ad36556b3d51b5b4681703b1aabfc5a8554712cb715bb0e16074063854b0ecb
4
+ data.tar.gz: ddc1c3d749bc05c98d2145c44d8a0ba6ea1a4fa3d330958d776337192a4b91ed
5
+ SHA512:
6
+ metadata.gz: ca7990fa5a3aa4f8702c1d96e107e5680e1688058487e2a32e95bc3077fae888d0a077adf43a5971370cdc7dfb83ea570d7230469960ae6679243a14c317fe7c
7
+ data.tar.gz: 429d229564dab5f94e19a8e49b8be6dbac2a11fb260fa6d3f999f58e2086ff5e040e6031d14d3831ff9e4f261210093d8517ae769960a009684fbba74479eb6c
data/.env_sample ADDED
@@ -0,0 +1,18 @@
1
+ ENV_TYPE=development
2
+ LANGUAGE=en # or pt currently
3
+ MODE=aws # or ibm
4
+ DISCORD_PREFIX=gpt!
5
+
6
+ POSTGRES_DB=telegram_chatgpt_development # or your database
7
+ POSTGRES_USER=postgres # or your user
8
+ POSTGRES_PASSWORD=postgres # or your password
9
+
10
+ IBM_API_KEY=Your IBM API Key
11
+ IBM_URL=Your IBM Text to Speech URL
12
+ TELEGRAM_TOKEN=Your Telegram Bot Token
13
+ OPENAI_API_KEY=Your OpenAI API Key
14
+ AWS_ACCESS_KEY=Your AWS Access Key
15
+ AWS_SECRET_ACCESS_KEY=Your AWS Secret Access Key
16
+ AWS_REGION=Your AWS Region
17
+ DISCORD_CLIENT_ID=Your Discord Client ID
18
+ DISCORD_TOKEN=Your Discord Token
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,26 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.6
3
+
4
+ Style/StringLiterals:
5
+ Enabled: true
6
+ EnforcedStyle: double_quotes
7
+
8
+ Style/StringLiteralsInInterpolation:
9
+ Enabled: true
10
+ EnforcedStyle: double_quotes
11
+
12
+ Layout/LineLength:
13
+ Max: 160
14
+
15
+ # remove code length limit
16
+ Metrics/MethodLength:
17
+ Max: 200
18
+
19
+ # Metrics/BlockLength:
20
+ # Enabled: false
21
+
22
+ Metrics/ClassLength:
23
+ Enabled: false
24
+
25
+ Metrics/AbcSize:
26
+ Max: 40
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2023-03-25
4
+
5
+ - Initial release
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at lima.jesuscc@gmail.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,147 @@
1
+ <!-- omit in toc -->
2
+ # Contributing to Chatgpt Assistant
3
+
4
+ First off, thanks for taking the time to contribute! ❤️
5
+
6
+ All types of contributions are encouraged and valued. See the [Table of Contents](#table-of-contents) for different ways to help and details about how this project handles them. Please make sure to read the relevant section before making your contribution. It will make it a lot easier for us maintainers and smooth out the experience for all involved. The community looks forward to your contributions. 🎉
7
+
8
+ > And if you like the project, but just don't have time to contribute, that's fine. There are other easy ways to support the project and show your appreciation, which we would also be very happy about:
9
+ > - Star the project
10
+ > - Tweet about it
11
+ > - Refer this project in your project's readme
12
+ > - Mention the project at local meetups and tell your friends/colleagues
13
+
14
+ <!-- omit in toc -->
15
+ ## Table of Contents
16
+
17
+ - [I Have a Question](#i-have-a-question)
18
+ - [I Want To Contribute](#i-want-to-contribute)
19
+ - [Reporting Bugs](#reporting-bugs)
20
+ - [Suggesting Enhancements](#suggesting-enhancements)
21
+ - [Your First Code Contribution](#your-first-code-contribution)
22
+ - [Improving The Documentation](#improving-the-documentation)
23
+ - [Styleguides](#styleguides)
24
+ - [Commit Messages](#commit-messages)
25
+ - [Join The Project Team](#join-the-project-team)
26
+
27
+
28
+
29
+ ## I Have a Question
30
+
31
+ > If you want to ask a question, we assume that you have read the available [Documentation](https://github.com/JesusGautamah/chatgpt_assistant).
32
+
33
+ Before you ask a question, it is best to search for existing [Issues](https://github.com/JesusGautamah/chatgpt_assistant/issues) that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue. It is also advisable to search the internet for answers first.
34
+
35
+ If you then still feel the need to ask a question and need clarification, we recommend the following:
36
+
37
+ - Open an [Issue](https://github.com/JesusGautamah/chatgpt_assistant/issues/new).
38
+ - Provide as much context as you can about what you're running into.
39
+ - Provide project and platform versions (nodejs, npm, etc), depending on what seems relevant.
40
+
41
+ We will then take care of the issue as soon as possible.
42
+
43
+ <!--
44
+ You might want to create a separate issue tag for questions and include it in this description. People should then tag their issues accordingly.
45
+
46
+ Depending on how large the project is, you may want to outsource the questioning, e.g. to Stack Overflow or Gitter. You may add additional contact and information possibilities:
47
+ - IRC
48
+ - Slack
49
+ - Gitter
50
+ - Stack Overflow tag
51
+ - Blog
52
+ - FAQ
53
+ - Roadmap
54
+ - E-Mail List
55
+ - Forum
56
+ -->
57
+
58
+ ## I Want To Contribute
59
+
60
+ > ### Legal Notice <!-- omit in toc -->
61
+ > When contributing to this project, you must agree that you have authored 100% of the content, that you have the necessary rights to the content and that the content you contribute may be provided under the project license.
62
+
63
+ ### Reporting Bugs
64
+
65
+ <!-- omit in toc -->
66
+ #### Before Submitting a Bug Report
67
+
68
+ A good bug report shouldn't leave others needing to chase you up for more information. Therefore, we ask you to investigate carefully, collect information and describe the issue in detail in your report. Please complete the following steps in advance to help us fix any potential bug as fast as possible.
69
+
70
+ - Make sure that you are using the latest version.
71
+ - Determine if your bug is really a bug and not an error on your side e.g. using incompatible environment components/versions (Make sure that you have read the [documentation](https://github.com/JesusGautamah/chatgpt_assistant). If you are looking for support, you might want to check [this section](#i-have-a-question)).
72
+ - To see if other users have experienced (and potentially already solved) the same issue you are having, check if there is not already a bug report existing for your bug or error in the [bug tracker](https://github.com/JesusGautamah/chatgpt_assistantissues?q=label%3Abug).
73
+ - Also make sure to search the internet (including Stack Overflow) to see if users outside of the GitHub community have discussed the issue.
74
+ - Collect information about the bug:
75
+ - Stack trace (Traceback)
76
+ - OS, Platform and Version (Windows, Linux, macOS, x86, ARM)
77
+ - Version of the interpreter, compiler, SDK, runtime environment, package manager, depending on what seems relevant.
78
+ - Possibly your input and the output
79
+ - Can you reliably reproduce the issue? And can you also reproduce it with older versions?
80
+
81
+ <!-- omit in toc -->
82
+ #### How Do I Submit a Good Bug Report?
83
+
84
+ > You must never report security related issues, vulnerabilities or bugs including sensitive information to the issue tracker, or elsewhere in public. Instead sensitive bugs must be sent by email to <lima.jesuscc@gmail.com>.
85
+ <!-- You may add a PGP key to allow the messages to be sent encrypted as well. -->
86
+
87
+ We use GitHub issues to track bugs and errors. If you run into an issue with the project:
88
+
89
+ - Open an [Issue](https://github.com/JesusGautamah/chatgpt_assistant/issues/new). (Since we can't be sure at this point whether it is a bug or not, we ask you not to talk about a bug yet and not to label the issue.)
90
+ - Explain the behavior you would expect and the actual behavior.
91
+ - Please provide as much context as possible and describe the *reproduction steps* that someone else can follow to recreate the issue on their own. This usually includes your code. For good bug reports you should isolate the problem and create a reduced test case.
92
+ - Provide the information you collected in the previous section.
93
+
94
+ Once it's filed:
95
+
96
+ - The project team will label the issue accordingly.
97
+ - A team member will try to reproduce the issue with your provided steps. If there are no reproduction steps or no obvious way to reproduce the issue, the team will ask you for those steps and mark the issue as `needs-repro`. Bugs with the `needs-repro` tag will not be addressed until they are reproduced.
98
+ - If the team is able to reproduce the issue, it will be marked `needs-fix`, as well as possibly other tags (such as `critical`), and the issue will be left to be [implemented by someone](#your-first-code-contribution).
99
+
100
+ <!-- You might want to create an issue template for bugs and errors that can be used as a guide and that defines the structure of the information to be included. If you do so, reference it here in the description. -->
101
+
102
+
103
+ ### Suggesting Enhancements
104
+
105
+ This section guides you through submitting an enhancement suggestion for Chatgpt Assistant, **including completely new features and minor improvements to existing functionality**. Following these guidelines will help maintainers and the community to understand your suggestion and find related suggestions.
106
+
107
+ <!-- omit in toc -->
108
+ #### Before Submitting an Enhancement
109
+
110
+ - Make sure that you are using the latest version.
111
+ - Read the [documentation](https://github.com/JesusGautamah/chatgpt_assistant) carefully and find out if the functionality is already covered, maybe by an individual configuration.
112
+ - Perform a [search](https://github.com/JesusGautamah/chatgpt_assistant/issues) to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one.
113
+ - Find out whether your idea fits with the scope and aims of the project. It's up to you to make a strong case to convince the project's developers of the merits of this feature. Keep in mind that we want features that will be useful to the majority of our users and not just a small subset. If you're just targeting a minority of users, consider writing an add-on/plugin library.
114
+
115
+ <!-- omit in toc -->
116
+ #### How Do I Submit a Good Enhancement Suggestion?
117
+
118
+ Enhancement suggestions are tracked as [GitHub issues](https://github.com/JesusGautamah/chatgpt_assistant/issues).
119
+
120
+ - Use a **clear and descriptive title** for the issue to identify the suggestion.
121
+ - Provide a **step-by-step description of the suggested enhancement** in as many details as possible.
122
+ - **Describe the current behavior** and **explain which behavior you expected to see instead** and why. At this point you can also tell which alternatives do not work for you.
123
+ - You may want to **include screenshots and animated GIFs** which help you demonstrate the steps or point out the part which the suggestion is related to. You can use [this tool](https://www.cockos.com/licecap/) to record GIFs on macOS and Windows, and [this tool](https://github.com/colinkeenan/silentcast) or [this tool](https://github.com/GNOME/byzanz) on Linux. <!-- this should only be included if the project has a GUI -->
124
+ - **Explain why this enhancement would be useful** to most Chatgpt Assistant users. You may also want to point out the other projects that solved it better and which could serve as inspiration.
125
+
126
+ <!-- You might want to create an issue template for enhancement suggestions that can be used as a guide and that defines the structure of the information to be included. If you do so, reference it here in the description. -->
127
+
128
+ ### Your First Code Contribution
129
+ <!-- TODO
130
+ include Setup of env, IDE and typical getting started instructions?
131
+
132
+ -->
133
+
134
+ ### Improving The Documentation
135
+ <!-- TODO
136
+ Updating, improving and correcting the documentation
137
+
138
+ -->
139
+
140
+ ## Styleguides
141
+ ### Commit Messages
142
+ <!-- TODO
143
+
144
+ -->
145
+
146
+ ## Join The Project Team
147
+ <!-- TODO -->
data/Dockerfile ADDED
@@ -0,0 +1,15 @@
1
+ FROM ruby:3.2.0
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
6
+ RUN bundle install
7
+
8
+ # Opus Installation for voice messages
9
+
10
+ RUN apt-get install -y wget
11
+ RUN wget https://archive.mozilla.org/pub/opus/opus-1.3.1.tar.gz
12
+ RUN tar -xvf opus-1.3.1.tar.gz
13
+ RUN cd opus-1.3.1 && ./configure && make && make install
14
+ RUN rm -rf opus-1.3.1.tar.gz opus-1.3.1
15
+
data/Gemfile ADDED
@@ -0,0 +1,47 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "bcrypt"
6
+
7
+ gem "rake", "~> 13.0"
8
+
9
+ gem "rspec", "~> 3.0"
10
+
11
+ gem "rubocop", "~> 1.21"
12
+
13
+ gem "rubocop-rspec", "~> 2.4"
14
+
15
+ gem "simplecov", "~> 0.21"
16
+
17
+ gem "telegram-bot-ruby", "~> 0.16"
18
+
19
+ gem "discordrb", "~> 3.4"
20
+
21
+ gem "faraday"
22
+
23
+ gem "activemodel"
24
+
25
+ gem "activerecord"
26
+
27
+ gem "activesupport"
28
+
29
+ gem "actionmailer"
30
+
31
+ gem "redis"
32
+
33
+ gem "sidekiq"
34
+
35
+ gem "sidekiq-scheduler"
36
+
37
+ gem "activerecord-import"
38
+
39
+ gem "pg"
40
+
41
+ gem "streamio-ffmpeg"
42
+
43
+ gem "lucy_dockerunner"
44
+
45
+ gem "ibm_watson"
46
+
47
+ gem "aws-sdk-polly"
data/Gemfile.lock ADDED
@@ -0,0 +1,299 @@
1
+ GEM
2
+ remote: https://rubygems.org/
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)
9
+ mail (~> 2.5, >= 2.5.4)
10
+ net-imap
11
+ net-pop
12
+ net-smtp
13
+ 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)
18
+ rack-test (>= 0.6.3)
19
+ rails-dom-testing (~> 2.0)
20
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
21
+ actionview (7.0.4.3)
22
+ activesupport (= 7.0.4.3)
23
+ builder (~> 3.1)
24
+ erubi (~> 1.4)
25
+ rails-dom-testing (~> 2.0)
26
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
27
+ activejob (7.0.4.3)
28
+ activesupport (= 7.0.4.3)
29
+ 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)
35
+ activerecord-import (1.4.1)
36
+ activerecord (>= 4.2)
37
+ activesupport (7.0.4.3)
38
+ concurrent-ruby (~> 1.0, >= 1.0.2)
39
+ i18n (>= 1.6, < 2)
40
+ minitest (>= 5.1)
41
+ tzinfo (~> 2.0)
42
+ addressable (2.8.1)
43
+ public_suffix (>= 2.0.2, < 6.0)
44
+ ast (2.4.2)
45
+ aws-eventstream (1.2.0)
46
+ aws-partitions (1.735.0)
47
+ aws-sdk-core (3.171.0)
48
+ aws-eventstream (~> 1, >= 1.0.2)
49
+ aws-partitions (~> 1, >= 1.651.0)
50
+ aws-sigv4 (~> 1.5)
51
+ jmespath (~> 1, >= 1.6.1)
52
+ aws-sdk-polly (1.66.0)
53
+ aws-sdk-core (~> 3, >= 3.165.0)
54
+ aws-sigv4 (~> 1.1)
55
+ aws-sigv4 (1.5.2)
56
+ aws-eventstream (~> 1, >= 1.0.2)
57
+ axiom-types (0.1.1)
58
+ descendants_tracker (~> 0.0.4)
59
+ ice_nine (~> 0.11.0)
60
+ thread_safe (~> 0.3, >= 0.3.1)
61
+ bcrypt (3.1.18)
62
+ builder (3.2.4)
63
+ coercible (1.0.0)
64
+ descendants_tracker (~> 0.0.1)
65
+ concurrent-ruby (1.2.2)
66
+ connection_pool (2.4.0)
67
+ crass (1.0.6)
68
+ date (3.3.3)
69
+ descendants_tracker (0.0.4)
70
+ thread_safe (~> 0.3, >= 0.3.1)
71
+ diff-lcs (1.5.0)
72
+ discordrb (3.4.0)
73
+ discordrb-webhooks (~> 3.3.0)
74
+ ffi (>= 1.9.24)
75
+ opus-ruby
76
+ rest-client (>= 2.0.0)
77
+ websocket-client-simple (>= 0.3.0)
78
+ discordrb-webhooks (3.3.0)
79
+ rest-client (>= 2.1.0.rc1)
80
+ docile (1.4.0)
81
+ domain_name (0.5.20190701)
82
+ unf (>= 0.0.5, < 1.0.0)
83
+ dry-inflector (1.0.0)
84
+ erubi (1.12.0)
85
+ et-orbi (1.2.7)
86
+ tzinfo
87
+ event_emitter (0.2.6)
88
+ eventmachine (1.2.7)
89
+ faraday (2.7.4)
90
+ faraday-net_http (>= 2.0, < 3.1)
91
+ ruby2_keywords (>= 0.0.4)
92
+ faraday-multipart (1.0.4)
93
+ multipart-post (~> 2)
94
+ faraday-net_http (3.0.2)
95
+ faye-websocket (0.11.1)
96
+ eventmachine (>= 0.12.0)
97
+ websocket-driver (>= 0.5.1)
98
+ ffi (1.15.5)
99
+ ffi-compiler (1.0.1)
100
+ ffi (>= 1.0.0)
101
+ rake
102
+ fugit (1.8.1)
103
+ et-orbi (~> 1, >= 1.2.7)
104
+ raabro (~> 1.4)
105
+ globalid (1.1.0)
106
+ activesupport (>= 5.0)
107
+ http (4.4.1)
108
+ addressable (~> 2.3)
109
+ http-cookie (~> 1.0)
110
+ http-form_data (~> 2.2)
111
+ http-parser (~> 1.2.0)
112
+ http-accept (1.7.0)
113
+ http-cookie (1.0.5)
114
+ domain_name (~> 0.5)
115
+ http-form_data (2.3.0)
116
+ http-parser (1.2.3)
117
+ ffi-compiler (>= 1.0, < 2.0)
118
+ i18n (1.12.0)
119
+ concurrent-ruby (~> 1.0)
120
+ ibm_cloud_sdk_core (1.1.3)
121
+ concurrent-ruby (~> 1.0)
122
+ http (~> 4.4.0)
123
+ jwt (~> 2.2.1)
124
+ ibm_watson (2.2.0)
125
+ concurrent-ruby (~> 1.0)
126
+ eventmachine (~> 1.2)
127
+ faye-websocket (~> 0.11)
128
+ http (~> 4.4.0)
129
+ ibm_cloud_sdk_core (~> 1.1.3)
130
+ jwt (~> 2.2.1)
131
+ ice_nine (0.11.2)
132
+ jmespath (1.6.2)
133
+ json (2.6.3)
134
+ jwt (2.2.3)
135
+ loofah (2.19.1)
136
+ crass (~> 1.0.2)
137
+ nokogiri (>= 1.5.9)
138
+ lucy_dockerunner (0.1.9)
139
+ mail (2.8.1)
140
+ mini_mime (>= 0.1.1)
141
+ net-imap
142
+ net-pop
143
+ net-smtp
144
+ mime-types (3.4.1)
145
+ mime-types-data (~> 3.2015)
146
+ mime-types-data (3.2023.0218.1)
147
+ mini_mime (1.1.2)
148
+ minitest (5.18.0)
149
+ multi_json (1.15.0)
150
+ multipart-post (2.3.0)
151
+ net-imap (0.3.4)
152
+ date
153
+ net-protocol
154
+ net-pop (0.1.2)
155
+ net-protocol
156
+ net-protocol (0.2.1)
157
+ timeout
158
+ net-smtp (0.3.3)
159
+ net-protocol
160
+ netrc (0.11.0)
161
+ nokogiri (1.14.2-x86_64-linux)
162
+ racc (~> 1.4)
163
+ opus-ruby (1.0.1)
164
+ ffi
165
+ parallel (1.22.1)
166
+ parser (3.2.1.0)
167
+ ast (~> 2.4.1)
168
+ pg (1.4.6)
169
+ public_suffix (5.0.1)
170
+ raabro (1.4.0)
171
+ racc (1.6.2)
172
+ rack (2.2.6.4)
173
+ rack-test (2.1.0)
174
+ rack (>= 1.3)
175
+ rails-dom-testing (2.0.3)
176
+ activesupport (>= 4.2.0)
177
+ nokogiri (>= 1.6)
178
+ rails-html-sanitizer (1.5.0)
179
+ loofah (~> 2.19, >= 2.19.1)
180
+ rainbow (3.1.1)
181
+ rake (13.0.6)
182
+ redis (5.0.6)
183
+ redis-client (>= 0.9.0)
184
+ redis-client (0.14.0)
185
+ connection_pool
186
+ regexp_parser (2.7.0)
187
+ rest-client (2.1.0)
188
+ http-accept (>= 1.7.0, < 2.0)
189
+ http-cookie (>= 1.0.2, < 2.0)
190
+ mime-types (>= 1.16, < 4.0)
191
+ netrc (~> 0.8)
192
+ rexml (3.2.5)
193
+ rspec (3.12.0)
194
+ rspec-core (~> 3.12.0)
195
+ rspec-expectations (~> 3.12.0)
196
+ rspec-mocks (~> 3.12.0)
197
+ rspec-core (3.12.1)
198
+ rspec-support (~> 3.12.0)
199
+ rspec-expectations (3.12.2)
200
+ diff-lcs (>= 1.2.0, < 2.0)
201
+ rspec-support (~> 3.12.0)
202
+ rspec-mocks (3.12.3)
203
+ diff-lcs (>= 1.2.0, < 2.0)
204
+ rspec-support (~> 3.12.0)
205
+ rspec-support (3.12.0)
206
+ rubocop (1.45.1)
207
+ json (~> 2.3)
208
+ parallel (~> 1.10)
209
+ parser (>= 3.2.0.0)
210
+ rainbow (>= 2.2.2, < 4.0)
211
+ regexp_parser (>= 1.8, < 3.0)
212
+ rexml (>= 3.2.5, < 4.0)
213
+ rubocop-ast (>= 1.24.1, < 2.0)
214
+ ruby-progressbar (~> 1.7)
215
+ unicode-display_width (>= 2.4.0, < 3.0)
216
+ rubocop-ast (1.26.0)
217
+ parser (>= 3.2.1.0)
218
+ rubocop-capybara (2.17.1)
219
+ rubocop (~> 1.41)
220
+ rubocop-rspec (2.19.0)
221
+ rubocop (~> 1.33)
222
+ rubocop-capybara (~> 2.17)
223
+ ruby-progressbar (1.11.0)
224
+ ruby2_keywords (0.0.5)
225
+ rufus-scheduler (3.8.2)
226
+ fugit (~> 1.1, >= 1.1.6)
227
+ sidekiq (7.0.7)
228
+ concurrent-ruby (< 2)
229
+ connection_pool (>= 2.3.0)
230
+ rack (>= 2.2.4)
231
+ redis-client (>= 0.11.0)
232
+ sidekiq-scheduler (5.0.2)
233
+ rufus-scheduler (~> 3.2)
234
+ sidekiq (>= 6, < 8)
235
+ tilt (>= 1.4.0)
236
+ simplecov (0.22.0)
237
+ docile (~> 1.1)
238
+ simplecov-html (~> 0.11)
239
+ simplecov_json_formatter (~> 0.1)
240
+ simplecov-html (0.12.3)
241
+ simplecov_json_formatter (0.1.4)
242
+ streamio-ffmpeg (3.0.2)
243
+ multi_json (~> 1.8)
244
+ telegram-bot-ruby (0.23.0)
245
+ dry-inflector
246
+ faraday (~> 2.0)
247
+ faraday-multipart (~> 1.0)
248
+ virtus (~> 2.0)
249
+ thread_safe (0.3.6)
250
+ tilt (2.1.0)
251
+ timeout (0.3.2)
252
+ tzinfo (2.0.6)
253
+ concurrent-ruby (~> 1.0)
254
+ unf (0.1.4)
255
+ unf_ext
256
+ unf_ext (0.0.8.2)
257
+ unicode-display_width (2.4.2)
258
+ virtus (2.0.0)
259
+ axiom-types (~> 0.1)
260
+ coercible (~> 1.0)
261
+ descendants_tracker (~> 0.0, >= 0.0.3)
262
+ websocket (1.2.9)
263
+ websocket-client-simple (0.6.1)
264
+ event_emitter
265
+ websocket
266
+ websocket-driver (0.7.5)
267
+ websocket-extensions (>= 0.1.0)
268
+ websocket-extensions (0.1.5)
269
+
270
+ PLATFORMS
271
+ ruby
272
+ x86_64-linux
273
+
274
+ DEPENDENCIES
275
+ actionmailer
276
+ activemodel
277
+ activerecord
278
+ activerecord-import
279
+ activesupport
280
+ aws-sdk-polly
281
+ bcrypt
282
+ discordrb (~> 3.4)
283
+ faraday
284
+ ibm_watson
285
+ lucy_dockerunner
286
+ pg
287
+ rake (~> 13.0)
288
+ redis
289
+ rspec (~> 3.0)
290
+ rubocop (~> 1.21)
291
+ rubocop-rspec (~> 2.4)
292
+ sidekiq
293
+ sidekiq-scheduler
294
+ simplecov (~> 0.21)
295
+ streamio-ffmpeg
296
+ telegram-bot-ruby (~> 0.16)
297
+
298
+ BUNDLED WITH
299
+ 2.2.32
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Igor L. de Jesus
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.