From d5a0ecc6ac56e21a46631cea2e6e5fa403b81338 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Tue, 15 Mar 2016 15:42:36 +0800 Subject: [PATCH] version 0.3.3 --- CHANGELOG.md | 5 +++++ Gemfile.lock | 2 +- README.md | 2 ++ lib/rucaptcha/version.rb | 2 +- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a141793..d8aa907 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +0.3.3 +----- + +- Add `config.expires_in` to allow change captcha code expire time. + 0.3.2.1 ------- diff --git a/Gemfile.lock b/Gemfile.lock index d0b4f1f..b3e0ce4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - rucaptcha (0.3.2.1) + rucaptcha (0.3.3) posix-spawn (>= 0.3.0) GEM diff --git a/README.md b/README.md index 9bce002..09ea4b0 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,8 @@ RuCaptcha.configure do # Cache generated images in file store, this is config files limit, default: 100 # set 0 to disable file cache. self.cache_limit = 100 + # Custom captcha code expire time if you need, default: 2 minutes + # self.expires_in = 120 end ``` diff --git a/lib/rucaptcha/version.rb b/lib/rucaptcha/version.rb index 72ac98b..10e2368 100644 --- a/lib/rucaptcha/version.rb +++ b/lib/rucaptcha/version.rb @@ -1,3 +1,3 @@ module RuCaptcha - VERSION = '0.3.2.1' + VERSION = '0.3.3' end