rucaptcha 3.2.1-x86_64-linux → 3.2.3-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/ext/rucaptcha/Cargo.toml +3 -3
- data/ext/rucaptcha/src/lib.rs +1 -1
- data/lib/rucaptcha/3.1/rucaptcha.so +0 -0
- data/lib/rucaptcha/3.2/rucaptcha.so +0 -0
- data/lib/rucaptcha/3.3/rucaptcha.so +0 -0
- data/lib/rucaptcha/configuration.rb +2 -0
- data/lib/rucaptcha/engine.rb +1 -1
- data/lib/rucaptcha/version.rb +1 -1
- data/lib/rucaptcha.rb +1 -0
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1f73d0ffb509f69544ddd55f3c4ccc1e37c847d8d97ea058176158ea2557b90
|
4
|
+
data.tar.gz: fb030f6e6571338365bb67ca01a1cd10ad21b1b62058e3bd4dcca41ec44f7c04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dde803be1c60581e6289b9fb4ec8e3f6659ac32a55aec3e7f7aa0957abe32a5d46fe54b5bfef0cb6a2d1f5f28c1643e9ae6ed28da5c2ef7b40b6ea9d894aa1b
|
7
|
+
data.tar.gz: 70dc0ff70b92b35708fccd6125e982fafa6bf06bf2cd54330e47e039a49f3ab555e81e4249e2c0eb05cd31e0c00a9088bbe3a7a36973d1343443feab50236b98
|
data/README.md
CHANGED
data/ext/rucaptcha/Cargo.toml
CHANGED
data/ext/rucaptcha/src/lib.rs
CHANGED
@@ -23,7 +23,7 @@ pub fn create(
|
|
23
23
|
|
24
24
|
#[magnus::init]
|
25
25
|
fn init() -> Result<(), Error> {
|
26
|
-
let class = define_class("RuCaptchaCore",
|
26
|
+
let class = define_class("RuCaptchaCore", magnus::class::object())?;
|
27
27
|
class.define_singleton_method("create", function!(create, 5))?;
|
28
28
|
|
29
29
|
Ok(())
|
Binary file
|
Binary file
|
Binary file
|
data/lib/rucaptcha/engine.rb
CHANGED
@@ -6,7 +6,7 @@ module RuCaptcha
|
|
6
6
|
# https://github.com/rails/rails/blob/3-2-stable/actionpack/lib/action_dispatch/routing/route_set.rb#L268
|
7
7
|
# `app.routes.prepend` start from Rails 3.2 - 5.0
|
8
8
|
app.routes.prepend do
|
9
|
-
mount RuCaptcha::Engine =>
|
9
|
+
mount RuCaptcha::Engine => RuCaptcha.config.mount_path
|
10
10
|
end
|
11
11
|
|
12
12
|
RuCaptcha.check_cache_store! unless RuCaptcha.config.skip_cache_store_check
|
data/lib/rucaptcha/version.rb
CHANGED
data/lib/rucaptcha.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rucaptcha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.3
|
5
5
|
platform: x86_64-linux
|
6
6
|
authors:
|
7
7
|
- Jason Lee
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -31,14 +31,14 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 0.9.
|
34
|
+
version: 0.9.86
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 0.9.
|
41
|
+
version: 0.9.86
|
42
42
|
description:
|
43
43
|
email: huacnlee@gmail.com
|
44
44
|
executables: []
|
@@ -64,6 +64,7 @@ files:
|
|
64
64
|
- lib/rucaptcha.rb
|
65
65
|
- lib/rucaptcha/3.1/rucaptcha.so
|
66
66
|
- lib/rucaptcha/3.2/rucaptcha.so
|
67
|
+
- lib/rucaptcha/3.3/rucaptcha.so
|
67
68
|
- lib/rucaptcha/cache.rb
|
68
69
|
- lib/rucaptcha/configuration.rb
|
69
70
|
- lib/rucaptcha/controller_helpers.rb
|
@@ -86,7 +87,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
86
87
|
version: '3.1'
|
87
88
|
- - "<"
|
88
89
|
- !ruby/object:Gem::Version
|
89
|
-
version: 3.
|
90
|
+
version: 3.4.dev
|
90
91
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
91
92
|
requirements:
|
92
93
|
- - ">="
|