diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-03-12 13:05:19 +0000 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-03-12 13:05:19 +0000 |
commit | 37bff4c0154b57b35a3194a9b31a9422496b955b (patch) | |
tree | 61592a6bb9d1d9fea378a6e4efa8fdf7d5525b8a /vendor/gems/recaptcha-0.3.1/lib/recaptcha.rb | |
parent | 8b49dc894066e452232cabd09333895487f86986 (diff) | |
parent | 8acea24f98268fbb9b73b66b9e98a1788a3b30ac (diff) |
Merge branch 'merged-bundler' into develop
Diffstat (limited to 'vendor/gems/recaptcha-0.3.1/lib/recaptcha.rb')
-rw-r--r-- | vendor/gems/recaptcha-0.3.1/lib/recaptcha.rb | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/vendor/gems/recaptcha-0.3.1/lib/recaptcha.rb b/vendor/gems/recaptcha-0.3.1/lib/recaptcha.rb deleted file mode 100644 index cb6f039a4..000000000 --- a/vendor/gems/recaptcha-0.3.1/lib/recaptcha.rb +++ /dev/null @@ -1,40 +0,0 @@ -require 'recaptcha/configuration' -require 'recaptcha/client_helper' -require 'recaptcha/verify' - -module Recaptcha - module VERSION #:nodoc: - MAJOR = 0 - MINOR = 2 - TINY = 2 - PATCH = 1 - - STRING = [MAJOR, MINOR, TINY, PATCH].join('.') - end - - - RECAPTCHA_API_SERVER_URL = 'http://www.google.com/recaptcha/api' - RECAPTCHA_API_SECURE_SERVER_URL = 'https://www.google.com/recaptcha/api' - RECAPTCHA_VERIFY_URL = 'http://www.google.com/recaptcha/api/verify' - - SKIP_VERIFY_ENV = ['test', 'cucumber'] - - # Gives access to the current Configuration. - def self.configuration - @configuration ||= Configuration.new - end - - # Allows easy setting of multiple configuration options. See Configuration - # for all available options. - #-- - # The temp assignment is only used to get a nicer rdoc. Feel free to remove - # this hack. - #++ - def self.configure - config = configuration - yield(config) - end - - class RecaptchaError < StandardError - end -end |