version 0.3.3

This commit is contained in:
Jason Lee 2016-03-15 15:42:36 +08:00
parent 7aee2e00a9
commit d5a0ecc6ac
4 changed files with 9 additions and 2 deletions

View File

@ -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
------- -------

View File

@ -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

View File

@ -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
``` ```

View File

@ -1,3 +1,3 @@
module RuCaptcha module RuCaptcha
VERSION = '0.3.2.1' VERSION = '0.3.3'
end end