negative_captcha 0.2.beta3 → 0.2.beta4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  module ActionView
2
2
  module Helpers
3
- module FormTagHelpers
3
+ module NegativeCaptchaHelpers
4
4
  def negative_captcha(captcha)
5
5
  [
6
6
  hidden_field_tag('timestamp', captcha.timestamp),
@@ -79,3 +79,7 @@ end
79
79
 
80
80
  require 'negative_captcha/view_helpers'
81
81
  require "negative_captcha/form_builder"
82
+
83
+ class ActionView::Base
84
+ include NegativeCaptchaHelpers
85
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: negative_captcha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.beta3
4
+ version: 0.2.beta4
5
5
  prerelease: 4
6
6
  platform: ruby
7
7
  authors: