diff --git a/Gemfile b/Gemfile index bd1f43b..600e37d 100644 --- a/Gemfile +++ b/Gemfile @@ -62,7 +62,7 @@ gem 'twitter-bootstrap-rails', '2.2.8' gem 'tinymce-rails' # WYSIWYG EDITOR gem 'contact_us', '>= 1.2.0' # COULD BE EASILY REPLACED WITH OUR OWN CODE -gem 'recaptcha' +gem 'recaptcha', '>= 4.0' gem 'dragonfly' # LOGO UPLOAD # ------------------------------------------------ diff --git a/Gemfile.lock b/Gemfile.lock index ca4b10f..cdf2f64 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -263,7 +263,13 @@ rake (>= 0.8.7) thor (>= 0.18.1, < 2.0) rake (11.3.0) - recaptcha (3.3.0) + ransack (1.8.2) + actionpack (>= 3.0) + activerecord (>= 3.0) + activesupport (>= 3.0) + i18n + polyamorous (~> 1.3) + recaptcha (4.1.0) json redcarpet (3.3.4) ref (2.0.0) @@ -374,7 +380,7 @@ rack-test rails (= 4.2.7) railties - recaptcha + recaptcha (>= 4.0) redcarpet responders (~> 2.0) rolify diff --git a/config/initializers/recaptcha.rb.example b/config/initializers/recaptcha.rb.example index a9e681a..0848591 100644 --- a/config/initializers/recaptcha.rb.example +++ b/config/initializers/recaptcha.rb.example @@ -1,5 +1,5 @@ Recaptcha.configure do |config| - config.public_key = 'replace_this_with_your_public_key' - config.private_key = 'replace_this_with_your_private_key' + config.site_key = 'replace_this_with_your_public_key' + config.secret_key = 'replace_this_with_your_private_key' config.proxy = 'http://someproxy.com:port' end