wxianfeng_simple_captcha 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/simple_captcha/image.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
data/lib/simple_captcha/image.rb
CHANGED
@@ -67,7 +67,7 @@ module SimpleCaptcha #:nodoc
|
|
67
67
|
params << "-pointsize 22"
|
68
68
|
params << "-implode 0.2"
|
69
69
|
|
70
|
-
dst = RUBY_VERSION < '1.9' ? Tempfile.new('simple_captcha.png') : Tempfile.new(['simple_captcha', '.png'])
|
70
|
+
dst = RUBY_VERSION < '1.9' ? Tempfile.new('simple_captcha.png') : Tempfile.new(['simple_captcha', '.png'],"/tmp")
|
71
71
|
dst.binmode
|
72
72
|
|
73
73
|
params << "label:#{text} '#{File.expand_path(dst.path)}'"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wxianfeng_simple_captcha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-10-14 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: ! ' wxianfeng_simple_captcha is captcha for rails,modified from simple_captcha
|
15
15
|
.'
|