rucaptcha 2.3.0 → 2.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5601faf2374b194da6f350685728238b10224ee52a2a549f917de97af9d27377
4
- data.tar.gz: d70a0e2700e0fb41f2033d9c3c6bd4be74405501dc66258296332d1c651c2a17
3
+ metadata.gz: 5e75b6f9248a3ffcf3bc92b4a20fc0f670e4eb25f7188ca6ee4643534b8c34a8
4
+ data.tar.gz: 91d369ae82e6be6a75f7ab6bcf6bafe0aabe853a54efbf7069f46037b7cc3a75
5
5
  SHA512:
6
- metadata.gz: 2c89ae2e180761861416e443552acb0473582aa653b9569819a2ddc11c9c27d559cec547b501b4122d2e031bdf825c5c1800829431bdba06a81b8abcc35b3a9a
7
- data.tar.gz: 26b4784ca77c22c17dd13631c81218d5f12630b090c02f26ba8def91bb5b215affc226606a3894c0c3d45e643848701c0092e0631a86da84ba883d817641bffc
6
+ metadata.gz: 4a73d887b71280cc2054eb4a36284233a578f6d7a50ec104f68512603e4f5cb7b5fb0d1a156d78956e8eeb807c1ccc676942a395920765f68b12b166d96a6738
7
+ data.tar.gz: d769ec8e35652ce15f7d9630df8e0475f8a01c388af212fe534dc47a2e41877b24315b5e5ba253f8f848c601b988673534f9cff9c190401d5a2c84bbd5dad54f
@@ -1,3 +1,8 @@
1
+ 2.3.1
2
+ -------
3
+
4
+ - Fix #67 a y chars will invalid error (only in 2.3.0).
5
+
1
6
  2.3.0
2
7
  -------
3
8
 
data/README.md CHANGED
@@ -9,13 +9,7 @@ This is a Captcha gem for Rails Applications which generates captcha image by C
9
9
 
10
10
  ## Example
11
11
 
12
- **default style**
13
-
14
- ![rucaptcha-0](https://user-images.githubusercontent.com/5518/45154624-c471a780-b20a-11e8-8bec-6c133838d53a.gif) ![rucaptcha-1](https://user-images.githubusercontent.com/5518/45154625-c471a780-b20a-11e8-8d09-dfb6ace6e9ba.gif) ![rucaptcha-2](https://user-images.githubusercontent.com/5518/45154628-c50a3e00-b20a-11e8-9afd-7c200b663dbc.gif) ![rucaptcha-3](https://user-images.githubusercontent.com/5518/45154629-c50a3e00-b20a-11e8-88d1-536717664e88.gif) ![rucaptcha-4](https://user-images.githubusercontent.com/5518/45154630-c50a3e00-b20a-11e8-9aa8-9b896a177e84.gif)
15
-
16
- **outline enable**
17
-
18
- ![rucaptcha-b0](https://user-images.githubusercontent.com/5518/45154631-c5a2d480-b20a-11e8-9b63-febdaa5e5c9c.gif) ![rucaptcha-b1](https://user-images.githubusercontent.com/5518/45154632-c5a2d480-b20a-11e8-896b-0fe17bc0b5c5.gif) ![rucaptcha-b2](https://user-images.githubusercontent.com/5518/45154633-c63b6b00-b20a-11e8-8226-7d516764634c.gif) ![rucaptcha-b3](https://user-images.githubusercontent.com/5518/45154634-c63b6b00-b20a-11e8-9781-c22a3109616b.gif) ![rucaptcha-b4](https://user-images.githubusercontent.com/5518/45154635-c63b6b00-b20a-11e8-8e12-52a30e686339.gif)
12
+ <img src="https://user-images.githubusercontent.com/5518/45155117-78276700-b20c-11e8-81ea-d18d9d30f90b.png" width="800px" />
19
13
 
20
14
  ## Feature
21
15
 
@@ -151,7 +151,7 @@ static void filter(unsigned char im[70*200]) {
151
151
  memmove(im,om,sizeof(om));
152
152
  }
153
153
 
154
- static const char *letters="abcdyfhhijklmnopqrstuvwxyz";
154
+ static const char *letters="abcdafahijklmnopqrstuvwxyz";
155
155
 
156
156
  void captcha(unsigned char im[70*200], unsigned char l[8], int length, int i_line, int i_filter) {
157
157
  unsigned char swr[200];
@@ -1,3 +1,3 @@
1
1
  module RuCaptcha
2
- VERSION = '2.3.0'
2
+ VERSION = '2.3.1'
3
3
  end
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.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Lee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-06 00:00:00.000000000 Z
11
+ date: 2018-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties