Sha256: e1711a2eab0e96b96a668a305e9b3abf15130bc6fdedb8553515dcf45e0d793c
Contents?: true
Size: 1.01 KB
Versions: 1
Compression:
Stored size: 1.01 KB
Contents
EasyCaptcha.setup do |config| # Cache # config.cache = true # Cache temp dir from Rails.root # config.cache_temp_dir = Rails.root + 'tmp' + 'captchas' # Cache size # config.cache_size = 500 # Cache expire # config.cache_expire = 1.days # Chars # config.chars = %w(2 3 4 5 6 7 9 A C D E F G H J K L M N P Q R S T U X Y Z) # Length # config.length = 6 # Font # config.font_size = 24 # config.font_fill_color = '#333333' # config.font_stroke_color = '#000000' # config.font_stroke = 0 # config.font_family = File.expand_path('../../resources/afont.ttf', __FILE__) # Image #config.image_height = 40 #config.image_width = 140 #config.image_background_color = "#FFFFFF" # Wave # config.wave = true # config.wave_length = (60..100) # config.wave_amplitude = (3..5) # Sketch # config.sketch = true # config.sketch_radius = 3 # config.sketch_sigma = 1 # Implode # config.implode = 0.1 # Blur # config.blur = true # config.blur_radius = 1 # config.blur_sigma = 2 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
easy_captcha-0.3.0 | lib/generators/templates/easy_captcha.rb |