Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

changed defender gem to working version

  • Loading branch information...
commit 616e80987dab6203666a9e896b081c66a99e2aa7 1 parent d96f7f5
@aross aross authored
Showing with 11 additions and 6 deletions.
  1. +1 −1  Gemfile
  2. +9 −4 Gemfile.lock
  3. +1 −1  spec/models/comment_spec.rb
View
2  Gemfile
@@ -65,7 +65,7 @@ gem "json"
gem "nokogiri"
# spam protection
-gem "defender"
+gem "defender", :git => 'git://github.com/kennethlmartin/defender.git'
group :deployment do
gem 'capistrano'
View
13 Gemfile.lock
@@ -13,6 +13,14 @@ GIT
simple_captcha (0.1.1)
GIT
+ remote: git://github.com/kennethlmartin/defender.git
+ revision: 795923014e4853b41ffbe72933388644e31de60f
+ specs:
+ defender (2.0.2)
+ activemodel (>= 3.0.0)
+ defensio (~> 0.9.1)
+
+GIT
remote: git://github.com/opencongress/formageddon.git
revision: 753b862a593b472f47b00af2eef13e460a7eb4c8
specs:
@@ -99,9 +107,6 @@ GEM
cucumber (>= 0.8.0)
culerity (0.2.15)
daemons (1.1.4)
- defender (2.0.2)
- activemodel (>= 3.0.0)
- defensio (~> 0.9.1)
defensio (0.9.1)
httparty (>= 0.5.0)
delayed_job (2.1.4)
@@ -302,7 +307,7 @@ DEPENDENCIES
closure-compiler
cucumber (= 0.8.5)
cucumber-rails
- defender
+ defender!
delayed_job (~> 2.1)
facebooker2
fog
View
2  spec/models/comment_spec.rb
@@ -28,8 +28,8 @@
comment.user = @user
# this api key is not the same as the one used in production
- Comment.test_mode = true
Defender.api_key = '7381e638d4d9163d409266b313dee312'
+ Defender.test_mode = true
end
it "does not identify good comments as spam" do
Please sign in to comment.
Something went wrong with that request. Please try again.