solvecaptcha-ruby 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CODE_OF_CONDUCT.md +43 -0
- data/CONTRIBUTING.md +72 -0
- data/Gemfile +14 -0
- data/LICENSE +21 -0
- data/README.md +640 -0
- data/RELEASING.md +16 -0
- data/Rakefile +12 -0
- data/api_solvecaptcha.gemspec +39 -0
- data/examples/amazon_waf_example.rb +7 -0
- data/examples/atb_captcha_example.rb +11 -0
- data/examples/audio_example.rb +10 -0
- data/examples/canvas_example.rb +7 -0
- data/examples/capy_example.rb +7 -0
- data/examples/clickcaptcha_example.rb +7 -0
- data/examples/cutcaptcha_example.rb +7 -0
- data/examples/cybersiara_example.rb +7 -0
- data/examples/datadome_example.rb +7 -0
- data/examples/friendlycaptcha_example.rb +7 -0
- data/examples/funcaptcha_example.rb +7 -0
- data/examples/geetest_example.rb +7 -0
- data/examples/geetest_v4_example.rb +7 -0
- data/examples/grid_captcha_example.rb +14 -0
- data/examples/hcaptcha_example.rb +10 -0
- data/examples/keycaptcha_example.rb +7 -0
- data/examples/lemin_example.rb +7 -0
- data/examples/media/example.mp3 +0 -0
- data/examples/media/normal_2.jpg +0 -0
- data/examples/media/recaptchaGrid4x4.jpg +0 -0
- data/examples/media/recaptchaGridImginstructions4x4.jpg +0 -0
- data/examples/mtcaptcha_example.rb +7 -0
- data/examples/normal_captcha_example.rb +15 -0
- data/examples/recaptcha_enterprise_example.rb +7 -0
- data/examples/recaptcha_v2_example.rb +10 -0
- data/examples/recaptcha_v3_example.rb +7 -0
- data/examples/rotate_example.rb +7 -0
- data/examples/tencent_example.rb +10 -0
- data/examples/turnstile_example.rb +7 -0
- data/examples/yandex_smart_example.rb +7 -0
- data/lib/api_solvecaptcha/api_solvecaptcha_exceptions.rb +25 -0
- data/lib/api_solvecaptcha/client.rb +166 -0
- data/lib/api_solvecaptcha/version.rb +5 -0
- data/lib/api_solvecaptcha.rb +13 -0
- metadata +93 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a690927bd3c8fdfef9d1ade2a00df19d4919252c26108d365f13bfc0f5771fcc
|
4
|
+
data.tar.gz: 54adaf5a31a0581428abe16635a013000d882a1cb580e44ace867a8d98607d3d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 80c9a276cf4e642d7a64205302a846a24f75c137af1ab63291baefcd5fc1ad6a2fa3fa47491ccb454f6261ff0d096875618154ebd2a6f93388caf173a1ddedb2
|
7
|
+
data.tar.gz: c1881778aec82069397a110f9a39e594deb8b43c0cd84e59c2ae3894caad77ce4cf035bb68d3fc7d18e5b175d30861f6ffab7a2e7b5264b3d189766e6f582121
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
We as members, contributors, and maintainers pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, 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 creating a positive environment include:
|
12
|
+
|
13
|
+
- Using welcoming and inclusive language
|
14
|
+
- Being respectful of differing viewpoints and experiences
|
15
|
+
- Gracefully accepting constructive criticism
|
16
|
+
- Focusing on what is best for the community
|
17
|
+
- Showing empathy toward other community members
|
18
|
+
|
19
|
+
Examples of unacceptable behavior by participants include:
|
20
|
+
|
21
|
+
- The use of sexualized language or imagery and unwelcome sexual attention or advances
|
22
|
+
- Trolling, insulting/derogatory comments, and personal or political attacks
|
23
|
+
- Public or private harassment
|
24
|
+
- Publishing others' private information, such as a physical or email address, without their explicit permission
|
25
|
+
- Other conduct which could reasonably be considered inappropriate in a professional setting
|
26
|
+
|
27
|
+
## Our Responsibilities
|
28
|
+
|
29
|
+
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 instances of unacceptable behavior.
|
30
|
+
|
31
|
+
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, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
|
32
|
+
|
33
|
+
## Scope
|
34
|
+
|
35
|
+
This Code of Conduct applies within all project spaces, both public and private, when an individual is representing the project or its community in any way.
|
36
|
+
|
37
|
+
Examples of representing a project or community include using an official project email address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
|
38
|
+
|
39
|
+
## Enforcement
|
40
|
+
|
41
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at info@solvecaptcha.com. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident.
|
42
|
+
|
43
|
+
If you have any questions or suggestions about this Code of Conduct, feel free to reach out to the project team.
|
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,72 @@
|
|
1
|
+
# Contributing to solvecaptcha-ruby
|
2
|
+
|
3
|
+
Thank you for considering contributing to the solvecaptcha-ruby! By contributing, you're helping improve the project and enabling others to benefit from your improvements.
|
4
|
+
|
5
|
+
Here are a few guidelines to help you get started.
|
6
|
+
|
7
|
+
## How to Contribute
|
8
|
+
|
9
|
+
1. **Fork the repository**
|
10
|
+
If you'd like to contribute, please start by forking the project and cloning it to your local machine.
|
11
|
+
|
12
|
+
```bash
|
13
|
+
git clone https://github.com/solvercaptcha/solvecaptcha-ruby.git
|
14
|
+
```
|
15
|
+
|
16
|
+
2. **Create a new branch**
|
17
|
+
Create a new branch for your feature or bug fix. This will help keep your changes separate from the main codebase.
|
18
|
+
|
19
|
+
```bash
|
20
|
+
git checkout -b my-feature-branch
|
21
|
+
```
|
22
|
+
|
23
|
+
3. **Make your changes**
|
24
|
+
Modify the code or documentation as needed. Make sure to follow the project's coding style and conventions.
|
25
|
+
|
26
|
+
4. **Test your changes**
|
27
|
+
Ensure that your changes work as expected and do not break anything in the project. If applicable, write tests to cover your changes.
|
28
|
+
|
29
|
+
5. **Commit your changes**
|
30
|
+
After you've made your changes, commit them with a meaningful message describing what you've done.
|
31
|
+
|
32
|
+
```bash
|
33
|
+
git commit -m "Add feature X to bypass challenge"
|
34
|
+
```
|
35
|
+
|
36
|
+
6. **Push your changes**
|
37
|
+
Push your changes to your forked repository.
|
38
|
+
|
39
|
+
```bash
|
40
|
+
git push origin my-feature-branch
|
41
|
+
```
|
42
|
+
|
43
|
+
7. **Submit a pull request**
|
44
|
+
Navigate to the original repository and submit a pull request. Describe the changes you've made and why they're important.
|
45
|
+
|
46
|
+
We will review your pull request and get back to you as soon as possible!
|
47
|
+
|
48
|
+
## Reporting Issues
|
49
|
+
|
50
|
+
If you find any bugs or issues with the project, feel free to open an issue in the **Issues** tab. When reporting an issue, please provide the following information:
|
51
|
+
|
52
|
+
- A detailed description of the issue.
|
53
|
+
- Steps to reproduce the issue.
|
54
|
+
- Any relevant error messages or logs.
|
55
|
+
|
56
|
+
## Code of Conduct
|
57
|
+
|
58
|
+
By contributing to this project, you agree to abide by our [Code of Conduct](./CODE_OF_CONDUCT.md). Please be respectful and considerate to other contributors.
|
59
|
+
|
60
|
+
## Types of Contributions
|
61
|
+
|
62
|
+
Here are some ways you can contribute to the project:
|
63
|
+
|
64
|
+
- **Bug Fixes**: If you find a bug, feel free to submit a pull request with a fix.
|
65
|
+
- **Feature Requests**: Have a great idea for a new feature? Open an issue to discuss it!
|
66
|
+
- **Documentation**: Help improve the documentation or add new guides to make the project more accessible to others.
|
67
|
+
- **Tests**: Ensure that the project is thoroughly tested and improve the test coverage.
|
68
|
+
- **Code Refactoring**: Help improve the project codebase by refactoring or optimizing the code.
|
69
|
+
|
70
|
+
## Thank You!
|
71
|
+
|
72
|
+
Your contributions are greatly appreciated! Together, we can make this project even better for everyone.
|
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2025 Solvecaptcha
|
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.
|