Skip to content

Commit

Permalink
Bump to 2.5.0
Browse files Browse the repository at this point in the history
Add Cloudflare Turnstile support
  • Loading branch information
adrianodennanni committed Aug 12, 2024
1 parent 5122de2 commit 2b59245
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ solution.v4['captcha_output']
- `proxy_password`: optional parameter. The proxy password.
- `user_agent`: optional parameter. The user agent.

#### Turnstile
#### Cloudflare Turnstile

```ruby
solution = client.decode_turnstile!(
Expand Down
1 change: 0 additions & 1 deletion lib/anti_captcha/models/turnstile_solution.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ module AntiCaptcha
class TurnstileSolution < AntiCaptcha::Solution
attr_accessor :token


def initialize(task_result = nil)
super

Expand Down
2 changes: 1 addition & 1 deletion lib/anti_captcha/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module AntiCaptcha
VERSION = "2.4.0"
VERSION = "2.5.0"
USER_AGENT = "AntiCaptcha/Ruby v#{VERSION}"
end

0 comments on commit 2b59245

Please sign in to comment.