version 0.3.3
This commit is contained in:
parent
7aee2e00a9
commit
d5a0ecc6ac
|
@ -1,3 +1,8 @@
|
||||||
|
0.3.3
|
||||||
|
-----
|
||||||
|
|
||||||
|
- Add `config.expires_in` to allow change captcha code expire time.
|
||||||
|
|
||||||
0.3.2.1
|
0.3.2.1
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
PATH
|
PATH
|
||||||
remote: .
|
remote: .
|
||||||
specs:
|
specs:
|
||||||
rucaptcha (0.3.2.1)
|
rucaptcha (0.3.3)
|
||||||
posix-spawn (>= 0.3.0)
|
posix-spawn (>= 0.3.0)
|
||||||
|
|
||||||
GEM
|
GEM
|
||||||
|
|
|
@ -65,6 +65,8 @@ RuCaptcha.configure do
|
||||||
# Cache generated images in file store, this is config files limit, default: 100
|
# Cache generated images in file store, this is config files limit, default: 100
|
||||||
# set 0 to disable file cache.
|
# set 0 to disable file cache.
|
||||||
self.cache_limit = 100
|
self.cache_limit = 100
|
||||||
|
# Custom captcha code expire time if you need, default: 2 minutes
|
||||||
|
# self.expires_in = 120
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
module RuCaptcha
|
module RuCaptcha
|
||||||
VERSION = '0.3.2.1'
|
VERSION = '0.3.3'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue