rucaptcha 2.3.2 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/README.md +2 -0
- data/lib/rucaptcha.rb +1 -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/view_helpers.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dedcdb1109660abdd7154eba8afa5aa4b22a1ce0093b61d018b30de0c7c00367
|
4
|
+
data.tar.gz: af218e451a34fd7a11a934c2a6d84f62a8c03342d87c9e7e4dc1534c79a2e07d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d29ad3b367a5dd326a9a3eb390a11b3dbcaf557d2520f68b7a244df3029e13e4ae878ea097ccde98ebcf3e7990402d679fde3082c3bf34b9d266d39f228d9174
|
7
|
+
data.tar.gz: 0b10c69dbe3f77210f4fa450f3fc9c86721d26a6656980660de3051193e9a8617c5d6b38d747fa35196bf768ecbb24db37dc5fd369cd6d364ff9f853710c7a76
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,13 @@
|
|
1
|
+
2.4.0
|
2
|
+
-------
|
3
|
+
|
4
|
+
- Add skip_cache_store_check configuration. (#63)
|
5
|
+
- Fix for generate captcha with relative path, not url. (#58)
|
6
|
+
|
1
7
|
2.3.2
|
2
8
|
-------
|
3
9
|
|
4
|
-
- Change Yellow and Green colors to Pink and Deep Purple to pass WCAG 2.0's contrast test
|
10
|
+
- Change Yellow and Green colors to Pink and Deep Purple to pass WCAG 2.0's contrast test. (#70)
|
5
11
|
|
6
12
|
2.3.1
|
7
13
|
-------
|
data/README.md
CHANGED
@@ -41,6 +41,8 @@ RuCaptcha.configure do
|
|
41
41
|
# 默认:会从 Rails 配置的 cache_store 里面读取相同的配置信息,并尝试用可以运行的方式,用于存储验证码字符
|
42
42
|
# 但如果是 [:null_store, :memory_store, :file_store] 之类的,你可以通过下面的配置项单独给 RuCaptcha 配置 cache_store
|
43
43
|
self.cache_store = :mem_cache_store
|
44
|
+
# 如果想要 disable cache_store 的 warning,就设置为 true,default false
|
45
|
+
# self.skip_cache_store_check = true
|
44
46
|
# Chars length, default: 5, allows: [3 - 7]
|
45
47
|
# self.length = 5
|
46
48
|
# enable/disable Strikethrough.
|
data/lib/rucaptcha.rb
CHANGED
data/lib/rucaptcha/engine.rb
CHANGED
data/lib/rucaptcha/version.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: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Lee
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -84,8 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
84
|
- !ruby/object:Gem::Version
|
85
85
|
version: '0'
|
86
86
|
requirements: []
|
87
|
-
|
88
|
-
rubygems_version: 2.7.8
|
87
|
+
rubygems_version: 3.0.1
|
89
88
|
signing_key:
|
90
89
|
specification_version: 4
|
91
90
|
summary: This is a Captcha gem for Rails Applications. It drawing captcha image with
|