simple_spam_prevent 0.0.1 → 1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.rdoc +11 -1
- data/test/dummy/config/locales/en.yml +3 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +640 -0
- metadata +5 -7
- data/test/dummy/tmp/pids/server.pid +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a0d980e8900ac5490f7a50b8df04e08cf4116ff9
|
|
4
|
+
data.tar.gz: 06b3623eb9b18343a786f0a7f092069f64fc2358
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 03c618716fde6c6dd6f103b56af72b8f189dd1db9f814dd2e2065f6c14c2a0a4f5b20ab2e8d68b51fbaf0e76bad1b3f574008428f188d2fc6826edfac99d5fdc
|
|
7
|
+
data.tar.gz: fdd50e85437b43df584545dbf4639e192a7c627e71f6cbbfed7f68f9aa0a4c6d6320a8f7005959019fe74e0549d29bc267c92f2bc97aa214f2db1d524aba3a22
|
data/README.rdoc
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
= SimpleSpamPrevent
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
SimpleSpamPrevent is a gem for preventing spams from logged in users.
|
|
4
|
+
|
|
5
|
+
Their are many gems available to show captcha but they dont help us when a user is logged in. You can configure each rails action to a limit 'x' in 'y' seconds. So if a user is logged in and he hits the same page more than 'x' number of times in the last 'y' seconds, then he will be redirected to a page where he needs to enter captcha.
|
|
6
|
+
|
|
7
|
+
= Requirements
|
|
8
|
+
|
|
9
|
+
>= 3.2
|
|
10
|
+
|
|
11
|
+
= Usage
|
|
12
|
+
|
|
13
|
+
|
|
Binary file
|
|
@@ -11773,3 +11773,643 @@ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-12-07 19:00:11
|
|
|
11773
11773
|
|
|
11774
11774
|
|
|
11775
11775
|
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-12-07 19:00:11 +0530
|
|
11776
|
+
|
|
11777
|
+
|
|
11778
|
+
Started GET "/abc" for 127.0.0.1 at 2014-12-07 19:40:06 +0530
|
|
11779
|
+
Processing by ApplicationController#abc as HTML
|
|
11780
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
11781
|
+
[1m[35mSQL (45.5ms)[0m INSERT INTO "simple_spam_prevent_action_histories" ("action", "controller", "created_at", "reference_id", "reference_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "abc"], ["controller", "application"], ["created_at", "2014-12-07 14:10:06.361828"], ["reference_id", 1], ["reference_type", "user"], ["updated_at", "2014-12-07 14:10:06.361828"]]
|
|
11782
|
+
[1m[36m (217.8ms)[0m [1mcommit transaction[0m
|
|
11783
|
+
[1m[35m (0.7ms)[0m SELECT COUNT(*) FROM "simple_spam_prevent_action_histories" WHERE (controller = ('application') AND action = ('abc') AND created_at > ('2014-12-07 14:08:26.629285') AND reference_type = ('user') AND reference_id = (1))
|
|
11784
|
+
Rendered application/abc.html.erb within layouts/application (6.2ms)
|
|
11785
|
+
Completed 200 OK in 339ms (Views: 53.6ms | ActiveRecord: 265.4ms)
|
|
11786
|
+
|
|
11787
|
+
|
|
11788
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-12-07 19:40:06 +0530
|
|
11789
|
+
|
|
11790
|
+
|
|
11791
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-12-07 19:40:06 +0530
|
|
11792
|
+
|
|
11793
|
+
|
|
11794
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-12-07 19:40:06 +0530
|
|
11795
|
+
|
|
11796
|
+
|
|
11797
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-12-07 19:40:06 +0530
|
|
11798
|
+
|
|
11799
|
+
|
|
11800
|
+
Started POST "/abc" for 127.0.0.1 at 2014-12-07 19:40:10 +0530
|
|
11801
|
+
Processing by ApplicationController#abc as HTML
|
|
11802
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"hrNLm8CKrN5V2Hx/x8TdBkXS97v+VinR3OSJQxyOUHk=", "my_form"=>{"message"=>"pp"}, "commit"=>"submit"}
|
|
11803
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
11804
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "simple_spam_prevent_action_histories" ("action", "controller", "created_at", "reference_id", "reference_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "abc"], ["controller", "application"], ["created_at", "2014-12-07 14:10:10.404468"], ["reference_id", 1], ["reference_type", "user"], ["updated_at", "2014-12-07 14:10:10.404468"]]
|
|
11805
|
+
[1m[36m (224.5ms)[0m [1mcommit transaction[0m
|
|
11806
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "simple_spam_prevent_action_histories" WHERE (controller = ('application') AND action = ('abc') AND created_at > ('2014-12-07 14:08:30.631797') AND reference_type = ('user') AND reference_id = (1))
|
|
11807
|
+
Rendered application/abc.html.erb within layouts/application (1.6ms)
|
|
11808
|
+
Completed 200 OK in 238ms (Views: 6.9ms | ActiveRecord: 225.4ms)
|
|
11809
|
+
|
|
11810
|
+
|
|
11811
|
+
Started POST "/abc" for 127.0.0.1 at 2014-12-07 19:40:13 +0530
|
|
11812
|
+
Processing by ApplicationController#abc as HTML
|
|
11813
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"hrNLm8CKrN5V2Hx/x8TdBkXS97v+VinR3OSJQxyOUHk=", "my_form"=>{"message"=>"ll"}, "commit"=>"submit"}
|
|
11814
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
11815
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "simple_spam_prevent_action_histories" ("action", "controller", "created_at", "reference_id", "reference_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "abc"], ["controller", "application"], ["created_at", "2014-12-07 14:10:13.053118"], ["reference_id", 1], ["reference_type", "user"], ["updated_at", "2014-12-07 14:10:13.053118"]]
|
|
11816
|
+
[1m[36m (208.9ms)[0m [1mcommit transaction[0m
|
|
11817
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM "simple_spam_prevent_action_histories" WHERE (controller = ('application') AND action = ('abc') AND created_at > ('2014-12-07 14:08:33.263563') AND reference_type = ('user') AND reference_id = (1))
|
|
11818
|
+
Rendered application/abc.html.erb within layouts/application (1.6ms)
|
|
11819
|
+
Completed 200 OK in 222ms (Views: 8.0ms | ActiveRecord: 209.9ms)
|
|
11820
|
+
|
|
11821
|
+
|
|
11822
|
+
Started POST "/abc" for 127.0.0.1 at 2014-12-07 19:40:15 +0530
|
|
11823
|
+
Processing by ApplicationController#abc as HTML
|
|
11824
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"hrNLm8CKrN5V2Hx/x8TdBkXS97v+VinR3OSJQxyOUHk=", "my_form"=>{"message"=>"mm"}, "commit"=>"submit"}
|
|
11825
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
11826
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_spam_prevent_action_histories" ("action", "controller", "created_at", "reference_id", "reference_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "abc"], ["controller", "application"], ["created_at", "2014-12-07 14:10:15.687764"], ["reference_id", 1], ["reference_type", "user"], ["updated_at", "2014-12-07 14:10:15.687764"]]
|
|
11827
|
+
[1m[36m (208.4ms)[0m [1mcommit transaction[0m
|
|
11828
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM "simple_spam_prevent_action_histories" WHERE (controller = ('application') AND action = ('abc') AND created_at > ('2014-12-07 14:08:35.968694') AND reference_type = ('user') AND reference_id = (1))
|
|
11829
|
+
Redirected to http://localhost:3000/simple_spam_prevent/show_captcha
|
|
11830
|
+
Filter chain halted as #<Proc:0x00000002be4220@/home/prakhar/rails_apps/simple_spam_prevent/simple_spam_prevent/test/dummy/app/controllers/application_controller.rb:5> rendered or redirected
|
|
11831
|
+
Completed 302 Found in 290ms (ActiveRecord: 209.3ms)
|
|
11832
|
+
|
|
11833
|
+
|
|
11834
|
+
Started GET "/simple_spam_prevent/show_captcha" for 127.0.0.1 at 2014-12-07 19:40:16 +0530
|
|
11835
|
+
Processing by SimpleSpamPrevent::CaptchaController#show_captcha as HTML
|
|
11836
|
+
[1m[36mSimpleCaptcha::SimpleCaptchaData Load (0.1ms)[0m [1mSELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1[0m
|
|
11837
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
11838
|
+
Binary data inserted for `string` type on column `key`
|
|
11839
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "simple_captcha_data" ("created_at", "key", "updated_at", "value") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-12-07 14:10:16.048858"], ["key", "ecaa5c64a3190faa01c318f78a6d00e5c0436ddd"], ["updated_at", "2014-12-07 14:10:16.048858"], ["value", "ELRSL"]]
|
|
11840
|
+
[1m[35m (153.4ms)[0m commit transaction
|
|
11841
|
+
Rendered /home/prakhar/rails_apps/simple_spam_prevent/simple_spam_prevent/app/views/simple_spam_prevent/captcha/show_captcha.html.erb within layouts/simple_spam_prevent/application (186.0ms)
|
|
11842
|
+
Completed 500 Internal Server Error in 191ms
|
|
11843
|
+
|
|
11844
|
+
ActionView::Template::Error (can not load translations from /home/prakhar/rails_apps/simple_spam_prevent/simple_spam_prevent/test/dummy/config/locales/en.yml: #<Psych::SyntaxError: (/home/prakhar/rails_apps/simple_spam_prevent/simple_spam_prevent/test/dummy/config/locales/en.yml): found character that cannot start any token while scanning for the next token at line 10 column 5>):
|
|
11845
|
+
1:
|
|
11846
|
+
2: <%= form_for :show_captcha, :url => url_for(:controller => 'captcha', :action => 'verify_captcha') do |f| %>
|
|
11847
|
+
3: <%= show_simple_captcha %>
|
|
11848
|
+
4: <%= f.submit :submit %>
|
|
11849
|
+
5: <% end %>
|
|
11850
|
+
i18n (0.6.11) lib/i18n/backend/base.rb:185:in `rescue in load_yml'
|
|
11851
|
+
i18n (0.6.11) lib/i18n/backend/base.rb:182:in `load_yml'
|
|
11852
|
+
i18n (0.6.11) lib/i18n/backend/base.rb:166:in `load_file'
|
|
11853
|
+
i18n (0.6.11) lib/i18n/backend/base.rb:15:in `block in load_translations'
|
|
11854
|
+
i18n (0.6.11) lib/i18n/backend/base.rb:15:in `each'
|
|
11855
|
+
i18n (0.6.11) lib/i18n/backend/base.rb:15:in `load_translations'
|
|
11856
|
+
i18n (0.6.11) lib/i18n/backend/simple.rb:57:in `init_translations'
|
|
11857
|
+
i18n (0.6.11) lib/i18n/backend/simple.rb:40:in `available_locales'
|
|
11858
|
+
i18n (0.6.11) lib/i18n/config.rb:41:in `available_locales'
|
|
11859
|
+
i18n (0.6.11) lib/i18n/config.rb:47:in `available_locales_set'
|
|
11860
|
+
i18n (0.6.11) lib/i18n.rb:277:in `locale_available?'
|
|
11861
|
+
i18n (0.6.11) lib/i18n.rb:285:in `enforce_available_locales!'
|
|
11862
|
+
i18n (0.6.11) lib/i18n.rb:150:in `translate'
|
|
11863
|
+
/home/prakhar/.rvm/gems/ruby-1.9.3-p551-railsexpress@simple_spam_prevent/bundler/gems/simple-captcha-2602bf19a63d/lib/simple_captcha/view.rb:51:in `show_simple_captcha'
|
|
11864
|
+
/home/prakhar/rails_apps/simple_spam_prevent/simple_spam_prevent/app/views/simple_spam_prevent/captcha/show_captcha.html.erb:3:in `block in __home_prakhar_rails_apps_simple_spam_prevent_simple_spam_prevent_app_views_simple_spam_prevent_captcha_show_captcha_html_erb___2570883439916017505_24387080'
|
|
11865
|
+
actionview (4.1.8) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
|
|
11866
|
+
actionview (4.1.8) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
|
|
11867
|
+
actionview (4.1.8) lib/action_view/helpers/capture_helper.rb:38:in `capture'
|
|
11868
|
+
actionview (4.1.8) lib/action_view/helpers/form_helper.rb:434:in `form_for'
|
|
11869
|
+
/home/prakhar/rails_apps/simple_spam_prevent/simple_spam_prevent/app/views/simple_spam_prevent/captcha/show_captcha.html.erb:2:in `__home_prakhar_rails_apps_simple_spam_prevent_simple_spam_prevent_app_views_simple_spam_prevent_captcha_show_captcha_html_erb___2570883439916017505_24387080'
|
|
11870
|
+
actionview (4.1.8) lib/action_view/template.rb:145:in `block in render'
|
|
11871
|
+
activesupport (4.1.8) lib/active_support/notifications.rb:161:in `instrument'
|
|
11872
|
+
actionview (4.1.8) lib/action_view/template.rb:339:in `instrument'
|
|
11873
|
+
actionview (4.1.8) lib/action_view/template.rb:143:in `render'
|
|
11874
|
+
actionview (4.1.8) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
|
|
11875
|
+
actionview (4.1.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
|
|
11876
|
+
activesupport (4.1.8) lib/active_support/notifications.rb:159:in `block in instrument'
|
|
11877
|
+
activesupport (4.1.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
|
11878
|
+
activesupport (4.1.8) lib/active_support/notifications.rb:159:in `instrument'
|
|
11879
|
+
actionview (4.1.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
|
|
11880
|
+
actionview (4.1.8) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
|
|
11881
|
+
actionview (4.1.8) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
|
|
11882
|
+
actionview (4.1.8) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
|
|
11883
|
+
actionview (4.1.8) lib/action_view/renderer/template_renderer.rb:17:in `render'
|
|
11884
|
+
actionview (4.1.8) lib/action_view/renderer/renderer.rb:42:in `render_template'
|
|
11885
|
+
actionview (4.1.8) lib/action_view/renderer/renderer.rb:23:in `render'
|
|
11886
|
+
actionview (4.1.8) lib/action_view/rendering.rb:99:in `_render_template'
|
|
11887
|
+
actionpack (4.1.8) lib/action_controller/metal/streaming.rb:217:in `_render_template'
|
|
11888
|
+
actionview (4.1.8) lib/action_view/rendering.rb:82:in `render_to_body'
|
|
11889
|
+
actionpack (4.1.8) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
|
|
11890
|
+
actionpack (4.1.8) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
|
|
11891
|
+
actionpack (4.1.8) lib/abstract_controller/rendering.rb:25:in `render'
|
|
11892
|
+
actionpack (4.1.8) lib/action_controller/metal/rendering.rb:16:in `render'
|
|
11893
|
+
actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
|
|
11894
|
+
activesupport (4.1.8) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
|
|
11895
|
+
/home/prakhar/.rvm/rubies/ruby-1.9.3-p551-railsexpress/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
|
|
11896
|
+
activesupport (4.1.8) lib/active_support/core_ext/benchmark.rb:12:in `ms'
|
|
11897
|
+
actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
|
|
11898
|
+
actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
|
|
11899
|
+
activerecord (4.1.8) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
|
|
11900
|
+
actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:40:in `render'
|
|
11901
|
+
actionpack (4.1.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
|
|
11902
|
+
actionpack (4.1.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
|
|
11903
|
+
actionpack (4.1.8) lib/abstract_controller/base.rb:189:in `process_action'
|
|
11904
|
+
actionpack (4.1.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
|
11905
|
+
actionpack (4.1.8) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
|
11906
|
+
activesupport (4.1.8) lib/active_support/callbacks.rb:82:in `run_callbacks'
|
|
11907
|
+
actionpack (4.1.8) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
|
11908
|
+
actionpack (4.1.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
|
11909
|
+
actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
|
11910
|
+
activesupport (4.1.8) lib/active_support/notifications.rb:159:in `block in instrument'
|
|
11911
|
+
activesupport (4.1.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
|
11912
|
+
activesupport (4.1.8) lib/active_support/notifications.rb:159:in `instrument'
|
|
11913
|
+
actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
|
11914
|
+
actionpack (4.1.8) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
|
11915
|
+
activerecord (4.1.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
|
11916
|
+
actionpack (4.1.8) lib/abstract_controller/base.rb:136:in `process'
|
|
11917
|
+
actionview (4.1.8) lib/action_view/rendering.rb:30:in `process'
|
|
11918
|
+
actionpack (4.1.8) lib/action_controller/metal.rb:196:in `dispatch'
|
|
11919
|
+
actionpack (4.1.8) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
|
11920
|
+
actionpack (4.1.8) lib/action_controller/metal.rb:232:in `block in action'
|
|
11921
|
+
actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:82:in `call'
|
|
11922
|
+
actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
|
|
11923
|
+
actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:50:in `call'
|
|
11924
|
+
actionpack (4.1.8) lib/action_dispatch/journey/router.rb:73:in `block in call'
|
|
11925
|
+
actionpack (4.1.8) lib/action_dispatch/journey/router.rb:59:in `each'
|
|
11926
|
+
actionpack (4.1.8) lib/action_dispatch/journey/router.rb:59:in `call'
|
|
11927
|
+
actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:678:in `call'
|
|
11928
|
+
railties (4.1.8) lib/rails/engine.rb:514:in `call'
|
|
11929
|
+
railties (4.1.8) lib/rails/railtie.rb:194:in `public_send'
|
|
11930
|
+
railties (4.1.8) lib/rails/railtie.rb:194:in `method_missing'
|
|
11931
|
+
actionpack (4.1.8) lib/action_dispatch/journey/router.rb:73:in `block in call'
|
|
11932
|
+
actionpack (4.1.8) lib/action_dispatch/journey/router.rb:59:in `each'
|
|
11933
|
+
actionpack (4.1.8) lib/action_dispatch/journey/router.rb:59:in `call'
|
|
11934
|
+
actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:678:in `call'
|
|
11935
|
+
/home/prakhar/.rvm/gems/ruby-1.9.3-p551-railsexpress@simple_spam_prevent/bundler/gems/simple-captcha-2602bf19a63d/lib/simple_captcha/middleware.rb:20:in `call'
|
|
11936
|
+
rack (1.5.2) lib/rack/etag.rb:23:in `call'
|
|
11937
|
+
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
|
|
11938
|
+
rack (1.5.2) lib/rack/head.rb:11:in `call'
|
|
11939
|
+
actionpack (4.1.8) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
|
11940
|
+
actionpack (4.1.8) lib/action_dispatch/middleware/flash.rb:254:in `call'
|
|
11941
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
|
|
11942
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
|
|
11943
|
+
actionpack (4.1.8) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
|
11944
|
+
activerecord (4.1.8) lib/active_record/query_cache.rb:36:in `call'
|
|
11945
|
+
activerecord (4.1.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
|
|
11946
|
+
actionpack (4.1.8) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
|
11947
|
+
activesupport (4.1.8) lib/active_support/callbacks.rb:82:in `run_callbacks'
|
|
11948
|
+
actionpack (4.1.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
|
11949
|
+
actionpack (4.1.8) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
|
11950
|
+
actionpack (4.1.8) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
|
|
11951
|
+
actionpack (4.1.8) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
|
11952
|
+
actionpack (4.1.8) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
|
11953
|
+
railties (4.1.8) lib/rails/rack/logger.rb:38:in `call_app'
|
|
11954
|
+
railties (4.1.8) lib/rails/rack/logger.rb:20:in `block in call'
|
|
11955
|
+
activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
|
11956
|
+
activesupport (4.1.8) lib/active_support/tagged_logging.rb:26:in `tagged'
|
|
11957
|
+
activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `tagged'
|
|
11958
|
+
railties (4.1.8) lib/rails/rack/logger.rb:20:in `call'
|
|
11959
|
+
actionpack (4.1.8) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
|
11960
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
|
11961
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
|
11962
|
+
activesupport (4.1.8) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
|
|
11963
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
|
11964
|
+
actionpack (4.1.8) lib/action_dispatch/middleware/static.rb:84:in `call'
|
|
11965
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
|
11966
|
+
railties (4.1.8) lib/rails/engine.rb:514:in `call'
|
|
11967
|
+
railties (4.1.8) lib/rails/application.rb:144:in `call'
|
|
11968
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
|
11969
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
|
11970
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
|
11971
|
+
/home/prakhar/.rvm/rubies/ruby-1.9.3-p551-railsexpress/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
|
11972
|
+
/home/prakhar/.rvm/rubies/ruby-1.9.3-p551-railsexpress/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
|
11973
|
+
/home/prakhar/.rvm/rubies/ruby-1.9.3-p551-railsexpress/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
|
11974
|
+
|
|
11975
|
+
|
|
11976
|
+
Rendered /home/prakhar/.rvm/gems/ruby-1.9.3-p551-railsexpress@simple_spam_prevent/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
|
|
11977
|
+
Rendered /home/prakhar/.rvm/gems/ruby-1.9.3-p551-railsexpress@simple_spam_prevent/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms)
|
|
11978
|
+
Rendered /home/prakhar/.rvm/gems/ruby-1.9.3-p551-railsexpress@simple_spam_prevent/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (16.5ms)
|
|
11979
|
+
|
|
11980
|
+
|
|
11981
|
+
Started GET "/simple_spam_prevent/show_captcha" for 127.0.0.1 at 2014-12-07 19:40:55 +0530
|
|
11982
|
+
Processing by SimpleSpamPrevent::CaptchaController#show_captcha as HTML
|
|
11983
|
+
[1m[36mSimpleCaptcha::SimpleCaptchaData Load (0.2ms)[0m [1mSELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1[0m
|
|
11984
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
11985
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "simple_captcha_data" SET "updated_at" = ?, "value" = ? WHERE "simple_captcha_data"."id" = 15[0m [["updated_at", "2014-12-07 14:10:55.718088"], ["value", "YYJGS"]]
|
|
11986
|
+
[1m[35m (181.7ms)[0m commit transaction
|
|
11987
|
+
Rendered simple_captcha/_simple_captcha.erb (1.0ms)
|
|
11988
|
+
Rendered /home/prakhar/rails_apps/simple_spam_prevent/simple_spam_prevent/app/views/simple_spam_prevent/captcha/show_captcha.html.erb within layouts/simple_spam_prevent/application (207.8ms)
|
|
11989
|
+
Completed 200 OK in 229ms (Views: 46.5ms | ActiveRecord: 182.6ms)
|
|
11990
|
+
|
|
11991
|
+
|
|
11992
|
+
Started GET "/assets/simple_spam_prevent/application.css?body=1" for 127.0.0.1 at 2014-12-07 19:40:56 +0530
|
|
11993
|
+
|
|
11994
|
+
|
|
11995
|
+
Started GET "/assets/simple_spam_prevent/application.js?body=1" for 127.0.0.1 at 2014-12-07 19:40:56 +0530
|
|
11996
|
+
|
|
11997
|
+
|
|
11998
|
+
Started GET "/simple_captcha?code=ecaa5c64a3190faa01c318f78a6d00e5c0436ddd&time=1417961455" for 127.0.0.1 at 2014-12-07 19:40:56 +0530
|
|
11999
|
+
[1m[36mSimpleCaptcha::SimpleCaptchaData Load (0.2ms)[0m [1mSELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1[0m
|
|
12000
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1
|
|
12001
|
+
|
|
12002
|
+
|
|
12003
|
+
Started POST "/simple_spam_prevent/verify_captcha" for 127.0.0.1 at 2014-12-07 19:40:59 +0530
|
|
12004
|
+
Processing by SimpleSpamPrevent::CaptchaController#verify_captcha as HTML
|
|
12005
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"hrNLm8CKrN5V2Hx/x8TdBkXS97v+VinR3OSJQxyOUHk=", "captcha_key"=>"ecaa5c64a3190faa01c318f78a6d00e5c0436ddd", "captcha"=>"k", "commit"=>"submit"}
|
|
12006
|
+
[1m[36mSimpleCaptcha::SimpleCaptchaData Load (0.2ms)[0m [1mSELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1[0m
|
|
12007
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1
|
|
12008
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
12009
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "simple_captcha_data" SET "updated_at" = ?, "value" = ? WHERE "simple_captcha_data"."id" = 15 [["updated_at", "2014-12-07 14:10:59.104247"], ["value", "MDSNT"]]
|
|
12010
|
+
[1m[36m (165.5ms)[0m [1mcommit transaction[0m
|
|
12011
|
+
Rendered simple_captcha/_simple_captcha.erb (0.2ms)
|
|
12012
|
+
Rendered /home/prakhar/rails_apps/simple_spam_prevent/simple_spam_prevent/app/views/simple_spam_prevent/captcha/show_captcha.html.erb within layouts/simple_spam_prevent/application (174.5ms)
|
|
12013
|
+
Completed 200 OK in 184ms (Views: 16.6ms | ActiveRecord: 166.3ms)
|
|
12014
|
+
|
|
12015
|
+
|
|
12016
|
+
Started GET "/simple_captcha?code=ecaa5c64a3190faa01c318f78a6d00e5c0436ddd&time=1417961459" for 127.0.0.1 at 2014-12-07 19:40:59 +0530
|
|
12017
|
+
[1m[35mSimpleCaptcha::SimpleCaptchaData Load (0.2ms)[0m SELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1
|
|
12018
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1[0m
|
|
12019
|
+
|
|
12020
|
+
|
|
12021
|
+
Started POST "/simple_spam_prevent/verify_captcha" for 127.0.0.1 at 2014-12-07 19:41:02 +0530
|
|
12022
|
+
Processing by SimpleSpamPrevent::CaptchaController#verify_captcha as HTML
|
|
12023
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"hrNLm8CKrN5V2Hx/x8TdBkXS97v+VinR3OSJQxyOUHk=", "captcha_key"=>"ecaa5c64a3190faa01c318f78a6d00e5c0436ddd", "captcha"=>"mn", "commit"=>"submit"}
|
|
12024
|
+
[1m[35mSimpleCaptcha::SimpleCaptchaData Load (0.4ms)[0m SELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1
|
|
12025
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1[0m
|
|
12026
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
12027
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "simple_captcha_data" SET "updated_at" = ?, "value" = ? WHERE "simple_captcha_data"."id" = 15[0m [["updated_at", "2014-12-07 14:11:02.334910"], ["value", "PAYQR"]]
|
|
12028
|
+
[1m[35m (157.6ms)[0m commit transaction
|
|
12029
|
+
Rendered simple_captcha/_simple_captcha.erb (0.1ms)
|
|
12030
|
+
Rendered /home/prakhar/rails_apps/simple_spam_prevent/simple_spam_prevent/app/views/simple_spam_prevent/captcha/show_captcha.html.erb within layouts/simple_spam_prevent/application (164.6ms)
|
|
12031
|
+
Completed 200 OK in 176ms (Views: 15.1ms | ActiveRecord: 158.5ms)
|
|
12032
|
+
|
|
12033
|
+
|
|
12034
|
+
Started GET "/simple_captcha?code=ecaa5c64a3190faa01c318f78a6d00e5c0436ddd&time=1417961462" for 127.0.0.1 at 2014-12-07 19:41:02 +0530
|
|
12035
|
+
[1m[36mSimpleCaptcha::SimpleCaptchaData Load (0.2ms)[0m [1mSELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1[0m
|
|
12036
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1
|
|
12037
|
+
|
|
12038
|
+
|
|
12039
|
+
Started POST "/simple_spam_prevent/verify_captcha" for 127.0.0.1 at 2014-12-07 19:41:37 +0530
|
|
12040
|
+
Processing by SimpleSpamPrevent::CaptchaController#verify_captcha as HTML
|
|
12041
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"hrNLm8CKrN5V2Hx/x8TdBkXS97v+VinR3OSJQxyOUHk=", "captcha_key"=>"ecaa5c64a3190faa01c318f78a6d00e5c0436ddd", "captcha"=>"mn", "commit"=>"submit"}
|
|
12042
|
+
[1m[36mSimpleCaptcha::SimpleCaptchaData Load (0.1ms)[0m [1mSELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1[0m
|
|
12043
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1
|
|
12044
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
12045
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "simple_captcha_data" SET "updated_at" = ?, "value" = ? WHERE "simple_captcha_data"."id" = 15 [["updated_at", "2014-12-07 14:11:37.372455"], ["value", "XCOAT"]]
|
|
12046
|
+
[1m[36m (199.6ms)[0m [1mcommit transaction[0m
|
|
12047
|
+
Rendered simple_captcha/_simple_captcha.erb (0.1ms)
|
|
12048
|
+
Rendered /home/prakhar/rails_apps/simple_spam_prevent/simple_spam_prevent/app/views/simple_spam_prevent/captcha/show_captcha.html.erb within layouts/simple_spam_prevent/application (215.0ms)
|
|
12049
|
+
Completed 200 OK in 224ms (Views: 21.3ms | ActiveRecord: 200.5ms)
|
|
12050
|
+
|
|
12051
|
+
|
|
12052
|
+
Started GET "/assets/simple_spam_prevent/application.css?body=1" for 127.0.0.1 at 2014-12-07 19:41:37 +0530
|
|
12053
|
+
|
|
12054
|
+
|
|
12055
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-12-07 19:41:37 +0530
|
|
12056
|
+
|
|
12057
|
+
|
|
12058
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-12-07 19:41:37 +0530
|
|
12059
|
+
|
|
12060
|
+
|
|
12061
|
+
Started GET "/assets/simple_spam_prevent/application.js?body=1" for 127.0.0.1 at 2014-12-07 19:41:37 +0530
|
|
12062
|
+
|
|
12063
|
+
|
|
12064
|
+
Started GET "/simple_captcha?code=ecaa5c64a3190faa01c318f78a6d00e5c0436ddd&time=1417961497" for 127.0.0.1 at 2014-12-07 19:41:37 +0530
|
|
12065
|
+
[1m[35mSimpleCaptcha::SimpleCaptchaData Load (0.2ms)[0m SELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1
|
|
12066
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1[0m
|
|
12067
|
+
|
|
12068
|
+
|
|
12069
|
+
Started POST "/simple_spam_prevent/verify_captcha" for 127.0.0.1 at 2014-12-07 19:41:40 +0530
|
|
12070
|
+
Processing by SimpleSpamPrevent::CaptchaController#verify_captcha as HTML
|
|
12071
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"hrNLm8CKrN5V2Hx/x8TdBkXS97v+VinR3OSJQxyOUHk=", "captcha_key"=>"ecaa5c64a3190faa01c318f78a6d00e5c0436ddd", "captcha"=>"kllk", "commit"=>"submit"}
|
|
12072
|
+
[1m[35mSimpleCaptcha::SimpleCaptchaData Load (0.2ms)[0m SELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1
|
|
12073
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1[0m
|
|
12074
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
12075
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "simple_captcha_data" SET "updated_at" = ?, "value" = ? WHERE "simple_captcha_data"."id" = 15[0m [["updated_at", "2014-12-07 14:11:40.501050"], ["value", "MZZEE"]]
|
|
12076
|
+
[1m[35m (182.5ms)[0m commit transaction
|
|
12077
|
+
Rendered simple_captcha/_simple_captcha.erb (0.1ms)
|
|
12078
|
+
Rendered /home/prakhar/rails_apps/simple_spam_prevent/simple_spam_prevent/app/views/simple_spam_prevent/captcha/show_captcha.html.erb within layouts/simple_spam_prevent/application (188.8ms)
|
|
12079
|
+
Completed 200 OK in 196ms (Views: 11.3ms | ActiveRecord: 183.2ms)
|
|
12080
|
+
|
|
12081
|
+
|
|
12082
|
+
Started GET "/assets/simple_spam_prevent/application.css?body=1" for 127.0.0.1 at 2014-12-07 19:41:40 +0530
|
|
12083
|
+
|
|
12084
|
+
|
|
12085
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-12-07 19:41:40 +0530
|
|
12086
|
+
|
|
12087
|
+
|
|
12088
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-12-07 19:41:40 +0530
|
|
12089
|
+
|
|
12090
|
+
|
|
12091
|
+
Started GET "/simple_captcha?code=ecaa5c64a3190faa01c318f78a6d00e5c0436ddd&time=1417961500" for 127.0.0.1 at 2014-12-07 19:41:40 +0530
|
|
12092
|
+
[1m[36mSimpleCaptcha::SimpleCaptchaData Load (0.3ms)[0m [1mSELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1[0m
|
|
12093
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1
|
|
12094
|
+
|
|
12095
|
+
|
|
12096
|
+
Started GET "/assets/simple_spam_prevent/application.js?body=1" for 127.0.0.1 at 2014-12-07 19:41:40 +0530
|
|
12097
|
+
|
|
12098
|
+
|
|
12099
|
+
Started POST "/simple_spam_prevent/verify_captcha" for 127.0.0.1 at 2014-12-07 19:41:56 +0530
|
|
12100
|
+
Processing by SimpleSpamPrevent::CaptchaController#verify_captcha as HTML
|
|
12101
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"hrNLm8CKrN5V2Hx/x8TdBkXS97v+VinR3OSJQxyOUHk=", "captcha_key"=>"ecaa5c64a3190faa01c318f78a6d00e5c0436ddd", "captcha"=>"lk", "commit"=>"submit"}
|
|
12102
|
+
[1m[36mSimpleCaptcha::SimpleCaptchaData Load (0.1ms)[0m [1mSELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1[0m
|
|
12103
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1
|
|
12104
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
12105
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "simple_captcha_data" SET "updated_at" = ?, "value" = ? WHERE "simple_captcha_data"."id" = 15 [["updated_at", "2014-12-07 14:11:56.293172"], ["value", "WNROU"]]
|
|
12106
|
+
[1m[36m (149.2ms)[0m [1mcommit transaction[0m
|
|
12107
|
+
Rendered simple_captcha/_simple_captcha.erb (0.1ms)
|
|
12108
|
+
Rendered /home/prakhar/rails_apps/simple_spam_prevent/simple_spam_prevent/app/views/simple_spam_prevent/captcha/show_captcha.html.erb within layouts/simple_spam_prevent/application (163.0ms)
|
|
12109
|
+
Completed 200 OK in 169ms (Views: 16.7ms | ActiveRecord: 150.2ms)
|
|
12110
|
+
|
|
12111
|
+
|
|
12112
|
+
Started GET "/assets/simple_spam_prevent/application.css?body=1" for 127.0.0.1 at 2014-12-07 19:41:56 +0530
|
|
12113
|
+
|
|
12114
|
+
|
|
12115
|
+
Started GET "/assets/simple_spam_prevent/application.js?body=1" for 127.0.0.1 at 2014-12-07 19:41:56 +0530
|
|
12116
|
+
|
|
12117
|
+
|
|
12118
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-12-07 19:41:56 +0530
|
|
12119
|
+
|
|
12120
|
+
|
|
12121
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-12-07 19:41:56 +0530
|
|
12122
|
+
|
|
12123
|
+
|
|
12124
|
+
Started GET "/simple_captcha?code=ecaa5c64a3190faa01c318f78a6d00e5c0436ddd&time=1417961516" for 127.0.0.1 at 2014-12-07 19:41:56 +0530
|
|
12125
|
+
[1m[35mSimpleCaptcha::SimpleCaptchaData Load (0.2ms)[0m SELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1
|
|
12126
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1[0m
|
|
12127
|
+
|
|
12128
|
+
|
|
12129
|
+
Started POST "/simple_spam_prevent/verify_captcha" for 127.0.0.1 at 2014-12-07 19:41:59 +0530
|
|
12130
|
+
Processing by SimpleSpamPrevent::CaptchaController#verify_captcha as HTML
|
|
12131
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"hrNLm8CKrN5V2Hx/x8TdBkXS97v+VinR3OSJQxyOUHk=", "captcha_key"=>"ecaa5c64a3190faa01c318f78a6d00e5c0436ddd", "captcha"=>"kj", "commit"=>"submit"}
|
|
12132
|
+
[1m[35mSimpleCaptcha::SimpleCaptchaData Load (0.4ms)[0m SELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1
|
|
12133
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1[0m
|
|
12134
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
12135
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "simple_captcha_data" SET "updated_at" = ?, "value" = ? WHERE "simple_captcha_data"."id" = 15[0m [["updated_at", "2014-12-07 14:11:59.117156"], ["value", "EDXDJ"]]
|
|
12136
|
+
[1m[35m (155.3ms)[0m commit transaction
|
|
12137
|
+
Rendered simple_captcha/_simple_captcha.erb (0.1ms)
|
|
12138
|
+
Rendered /home/prakhar/rails_apps/simple_spam_prevent/simple_spam_prevent/app/views/simple_spam_prevent/captcha/show_captcha.html.erb within layouts/simple_spam_prevent/application (162.3ms)
|
|
12139
|
+
Completed 200 OK in 174ms (Views: 15.9ms | ActiveRecord: 156.0ms)
|
|
12140
|
+
|
|
12141
|
+
|
|
12142
|
+
Started GET "/assets/simple_spam_prevent/application.css?body=1" for 127.0.0.1 at 2014-12-07 19:41:59 +0530
|
|
12143
|
+
|
|
12144
|
+
|
|
12145
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-12-07 19:41:59 +0530
|
|
12146
|
+
|
|
12147
|
+
|
|
12148
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-12-07 19:41:59 +0530
|
|
12149
|
+
|
|
12150
|
+
|
|
12151
|
+
Started GET "/assets/simple_spam_prevent/application.js?body=1" for 127.0.0.1 at 2014-12-07 19:41:59 +0530
|
|
12152
|
+
|
|
12153
|
+
|
|
12154
|
+
Started GET "/simple_captcha?code=ecaa5c64a3190faa01c318f78a6d00e5c0436ddd&time=1417961519" for 127.0.0.1 at 2014-12-07 19:41:59 +0530
|
|
12155
|
+
[1m[36mSimpleCaptcha::SimpleCaptchaData Load (0.2ms)[0m [1mSELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1[0m
|
|
12156
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1
|
|
12157
|
+
|
|
12158
|
+
|
|
12159
|
+
Started POST "/simple_spam_prevent/verify_captcha" for 127.0.0.1 at 2014-12-07 19:42:59 +0530
|
|
12160
|
+
Processing by SimpleSpamPrevent::CaptchaController#verify_captcha as HTML
|
|
12161
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"hrNLm8CKrN5V2Hx/x8TdBkXS97v+VinR3OSJQxyOUHk=", "captcha_key"=>"ecaa5c64a3190faa01c318f78a6d00e5c0436ddd", "captcha"=>"kln", "commit"=>"submit"}
|
|
12162
|
+
[1m[36mSimpleCaptcha::SimpleCaptchaData Load (0.1ms)[0m [1mSELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1[0m
|
|
12163
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1
|
|
12164
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
12165
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "simple_captcha_data" SET "updated_at" = ?, "value" = ? WHERE "simple_captcha_data"."id" = 15 [["updated_at", "2014-12-07 14:12:59.184809"], ["value", "VJNUE"]]
|
|
12166
|
+
[1m[36m (165.9ms)[0m [1mcommit transaction[0m
|
|
12167
|
+
Rendered simple_captcha/_simple_captcha.erb (0.2ms)
|
|
12168
|
+
Rendered /home/prakhar/rails_apps/simple_spam_prevent/simple_spam_prevent/app/views/simple_spam_prevent/captcha/show_captcha.html.erb within layouts/simple_spam_prevent/application (181.3ms)
|
|
12169
|
+
Completed 200 OK in 189ms (Views: 20.9ms | ActiveRecord: 166.6ms)
|
|
12170
|
+
|
|
12171
|
+
|
|
12172
|
+
Started GET "/assets/simple_spam_prevent/application.css?body=1" for 127.0.0.1 at 2014-12-07 19:42:59 +0530
|
|
12173
|
+
|
|
12174
|
+
|
|
12175
|
+
Started GET "/assets/simple_spam_prevent/application.js?body=1" for 127.0.0.1 at 2014-12-07 19:42:59 +0530
|
|
12176
|
+
|
|
12177
|
+
|
|
12178
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-12-07 19:42:59 +0530
|
|
12179
|
+
|
|
12180
|
+
|
|
12181
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-12-07 19:42:59 +0530
|
|
12182
|
+
|
|
12183
|
+
|
|
12184
|
+
Started GET "/simple_captcha?code=ecaa5c64a3190faa01c318f78a6d00e5c0436ddd&time=1417961579" for 127.0.0.1 at 2014-12-07 19:42:59 +0530
|
|
12185
|
+
[1m[35mSimpleCaptcha::SimpleCaptchaData Load (0.2ms)[0m SELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1
|
|
12186
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1[0m
|
|
12187
|
+
|
|
12188
|
+
|
|
12189
|
+
Started POST "/simple_spam_prevent/verify_captcha" for 127.0.0.1 at 2014-12-07 19:43:01 +0530
|
|
12190
|
+
Processing by SimpleSpamPrevent::CaptchaController#verify_captcha as HTML
|
|
12191
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"hrNLm8CKrN5V2Hx/x8TdBkXS97v+VinR3OSJQxyOUHk=", "captcha_key"=>"ecaa5c64a3190faa01c318f78a6d00e5c0436ddd", "captcha"=>"mkn", "commit"=>"submit"}
|
|
12192
|
+
[1m[35mSimpleCaptcha::SimpleCaptchaData Load (0.2ms)[0m SELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1
|
|
12193
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1[0m
|
|
12194
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
12195
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "simple_captcha_data" SET "updated_at" = ?, "value" = ? WHERE "simple_captcha_data"."id" = 15[0m [["updated_at", "2014-12-07 14:13:01.025904"], ["value", "LSLJB"]]
|
|
12196
|
+
[1m[35m (195.4ms)[0m commit transaction
|
|
12197
|
+
Rendered simple_captcha/_simple_captcha.erb (0.1ms)
|
|
12198
|
+
Rendered /home/prakhar/rails_apps/simple_spam_prevent/simple_spam_prevent/app/views/simple_spam_prevent/captcha/show_captcha.html.erb within layouts/simple_spam_prevent/application (202.5ms)
|
|
12199
|
+
Completed 200 OK in 211ms (Views: 13.9ms | ActiveRecord: 195.9ms)
|
|
12200
|
+
|
|
12201
|
+
|
|
12202
|
+
Started GET "/assets/simple_spam_prevent/application.css?body=1" for 127.0.0.1 at 2014-12-07 19:43:01 +0530
|
|
12203
|
+
|
|
12204
|
+
|
|
12205
|
+
Started GET "/simple_captcha?code=ecaa5c64a3190faa01c318f78a6d00e5c0436ddd&time=1417961581" for 127.0.0.1 at 2014-12-07 19:43:01 +0530
|
|
12206
|
+
[1m[36mSimpleCaptcha::SimpleCaptchaData Load (0.6ms)[0m [1mSELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1[0m
|
|
12207
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1
|
|
12208
|
+
|
|
12209
|
+
|
|
12210
|
+
Started GET "/assets/simple_spam_prevent/application.js?body=1" for 127.0.0.1 at 2014-12-07 19:43:01 +0530
|
|
12211
|
+
|
|
12212
|
+
|
|
12213
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-12-07 19:43:01 +0530
|
|
12214
|
+
|
|
12215
|
+
|
|
12216
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-12-07 19:43:01 +0530
|
|
12217
|
+
|
|
12218
|
+
|
|
12219
|
+
Started POST "/simple_spam_prevent/verify_captcha" for 127.0.0.1 at 2014-12-07 19:43:16 +0530
|
|
12220
|
+
Processing by SimpleSpamPrevent::CaptchaController#verify_captcha as HTML
|
|
12221
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"hrNLm8CKrN5V2Hx/x8TdBkXS97v+VinR3OSJQxyOUHk=", "captcha_key"=>"ecaa5c64a3190faa01c318f78a6d00e5c0436ddd", "captcha"=>"nbj", "commit"=>"submit"}
|
|
12222
|
+
[1m[36mSimpleCaptcha::SimpleCaptchaData Load (0.1ms)[0m [1mSELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1[0m
|
|
12223
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1
|
|
12224
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
12225
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "simple_captcha_data" SET "updated_at" = ?, "value" = ? WHERE "simple_captcha_data"."id" = 15 [["updated_at", "2014-12-07 14:13:16.834527"], ["value", "LFUET"]]
|
|
12226
|
+
[1m[36m (233.2ms)[0m [1mcommit transaction[0m
|
|
12227
|
+
Rendered /home/prakhar/rails_apps/simple_spam_prevent/simple_spam_prevent/app/views/simple_spam_prevent/captcha/show_captcha.html.erb within layouts/simple_spam_prevent/application (248.4ms)
|
|
12228
|
+
Completed 500 Internal Server Error in 254ms
|
|
12229
|
+
|
|
12230
|
+
ActionView::Template::Error (can not load translations from /home/prakhar/rails_apps/simple_spam_prevent/simple_spam_prevent/test/dummy/config/locales/en.yml: #<Psych::SyntaxError: (/home/prakhar/rails_apps/simple_spam_prevent/simple_spam_prevent/test/dummy/config/locales/en.yml): found character that cannot start any token while scanning for the next token at line 10 column 5>):
|
|
12231
|
+
1:
|
|
12232
|
+
2: <%= form_for :show_captcha, :url => url_for(:controller => 'captcha', :action => 'verify_captcha') do |f| %>
|
|
12233
|
+
3: <%= show_simple_captcha %>
|
|
12234
|
+
4: <%= f.submit :submit %>
|
|
12235
|
+
5: <% end %>
|
|
12236
|
+
i18n (0.6.11) lib/i18n/backend/base.rb:185:in `rescue in load_yml'
|
|
12237
|
+
i18n (0.6.11) lib/i18n/backend/base.rb:182:in `load_yml'
|
|
12238
|
+
i18n (0.6.11) lib/i18n/backend/base.rb:166:in `load_file'
|
|
12239
|
+
i18n (0.6.11) lib/i18n/backend/base.rb:15:in `block in load_translations'
|
|
12240
|
+
i18n (0.6.11) lib/i18n/backend/base.rb:15:in `each'
|
|
12241
|
+
i18n (0.6.11) lib/i18n/backend/base.rb:15:in `load_translations'
|
|
12242
|
+
i18n (0.6.11) lib/i18n/backend/simple.rb:57:in `init_translations'
|
|
12243
|
+
i18n (0.6.11) lib/i18n/backend/simple.rb:71:in `lookup'
|
|
12244
|
+
i18n (0.6.11) lib/i18n/backend/base.rb:26:in `translate'
|
|
12245
|
+
i18n (0.6.11) lib/i18n.rb:157:in `block in translate'
|
|
12246
|
+
i18n (0.6.11) lib/i18n.rb:153:in `catch'
|
|
12247
|
+
i18n (0.6.11) lib/i18n.rb:153:in `translate'
|
|
12248
|
+
/home/prakhar/.rvm/gems/ruby-1.9.3-p551-railsexpress@simple_spam_prevent/bundler/gems/simple-captcha-2602bf19a63d/lib/simple_captcha/view.rb:51:in `show_simple_captcha'
|
|
12249
|
+
/home/prakhar/rails_apps/simple_spam_prevent/simple_spam_prevent/app/views/simple_spam_prevent/captcha/show_captcha.html.erb:3:in `block in __home_prakhar_rails_apps_simple_spam_prevent_simple_spam_prevent_app_views_simple_spam_prevent_captcha_show_captcha_html_erb___2570883439916017505_24387080'
|
|
12250
|
+
actionview (4.1.8) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
|
|
12251
|
+
actionview (4.1.8) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
|
|
12252
|
+
actionview (4.1.8) lib/action_view/helpers/capture_helper.rb:38:in `capture'
|
|
12253
|
+
actionview (4.1.8) lib/action_view/helpers/form_helper.rb:434:in `form_for'
|
|
12254
|
+
/home/prakhar/rails_apps/simple_spam_prevent/simple_spam_prevent/app/views/simple_spam_prevent/captcha/show_captcha.html.erb:2:in `__home_prakhar_rails_apps_simple_spam_prevent_simple_spam_prevent_app_views_simple_spam_prevent_captcha_show_captcha_html_erb___2570883439916017505_24387080'
|
|
12255
|
+
actionview (4.1.8) lib/action_view/template.rb:145:in `block in render'
|
|
12256
|
+
activesupport (4.1.8) lib/active_support/notifications.rb:161:in `instrument'
|
|
12257
|
+
actionview (4.1.8) lib/action_view/template.rb:339:in `instrument'
|
|
12258
|
+
actionview (4.1.8) lib/action_view/template.rb:143:in `render'
|
|
12259
|
+
actionview (4.1.8) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
|
|
12260
|
+
actionview (4.1.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
|
|
12261
|
+
activesupport (4.1.8) lib/active_support/notifications.rb:159:in `block in instrument'
|
|
12262
|
+
activesupport (4.1.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
|
12263
|
+
activesupport (4.1.8) lib/active_support/notifications.rb:159:in `instrument'
|
|
12264
|
+
actionview (4.1.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
|
|
12265
|
+
actionview (4.1.8) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
|
|
12266
|
+
actionview (4.1.8) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
|
|
12267
|
+
actionview (4.1.8) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
|
|
12268
|
+
actionview (4.1.8) lib/action_view/renderer/template_renderer.rb:17:in `render'
|
|
12269
|
+
actionview (4.1.8) lib/action_view/renderer/renderer.rb:42:in `render_template'
|
|
12270
|
+
actionview (4.1.8) lib/action_view/renderer/renderer.rb:23:in `render'
|
|
12271
|
+
actionview (4.1.8) lib/action_view/rendering.rb:99:in `_render_template'
|
|
12272
|
+
actionpack (4.1.8) lib/action_controller/metal/streaming.rb:217:in `_render_template'
|
|
12273
|
+
actionview (4.1.8) lib/action_view/rendering.rb:82:in `render_to_body'
|
|
12274
|
+
actionpack (4.1.8) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
|
|
12275
|
+
actionpack (4.1.8) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
|
|
12276
|
+
actionpack (4.1.8) lib/abstract_controller/rendering.rb:25:in `render'
|
|
12277
|
+
actionpack (4.1.8) lib/action_controller/metal/rendering.rb:16:in `render'
|
|
12278
|
+
actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
|
|
12279
|
+
activesupport (4.1.8) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
|
|
12280
|
+
/home/prakhar/.rvm/rubies/ruby-1.9.3-p551-railsexpress/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
|
|
12281
|
+
activesupport (4.1.8) lib/active_support/core_ext/benchmark.rb:12:in `ms'
|
|
12282
|
+
actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
|
|
12283
|
+
actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
|
|
12284
|
+
activerecord (4.1.8) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
|
|
12285
|
+
actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:40:in `render'
|
|
12286
|
+
/home/prakhar/rails_apps/simple_spam_prevent/simple_spam_prevent/app/controllers/simple_spam_prevent/captcha_controller.rb:13:in `verify_captcha'
|
|
12287
|
+
actionpack (4.1.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
|
12288
|
+
actionpack (4.1.8) lib/abstract_controller/base.rb:189:in `process_action'
|
|
12289
|
+
actionpack (4.1.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
|
12290
|
+
actionpack (4.1.8) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
|
12291
|
+
activesupport (4.1.8) lib/active_support/callbacks.rb:82:in `run_callbacks'
|
|
12292
|
+
actionpack (4.1.8) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
|
12293
|
+
actionpack (4.1.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
|
12294
|
+
actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
|
12295
|
+
activesupport (4.1.8) lib/active_support/notifications.rb:159:in `block in instrument'
|
|
12296
|
+
activesupport (4.1.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
|
12297
|
+
activesupport (4.1.8) lib/active_support/notifications.rb:159:in `instrument'
|
|
12298
|
+
actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
|
12299
|
+
actionpack (4.1.8) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
|
12300
|
+
activerecord (4.1.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
|
12301
|
+
actionpack (4.1.8) lib/abstract_controller/base.rb:136:in `process'
|
|
12302
|
+
actionview (4.1.8) lib/action_view/rendering.rb:30:in `process'
|
|
12303
|
+
actionpack (4.1.8) lib/action_controller/metal.rb:196:in `dispatch'
|
|
12304
|
+
actionpack (4.1.8) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
|
12305
|
+
actionpack (4.1.8) lib/action_controller/metal.rb:232:in `block in action'
|
|
12306
|
+
actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:82:in `call'
|
|
12307
|
+
actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
|
|
12308
|
+
actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:50:in `call'
|
|
12309
|
+
actionpack (4.1.8) lib/action_dispatch/journey/router.rb:73:in `block in call'
|
|
12310
|
+
actionpack (4.1.8) lib/action_dispatch/journey/router.rb:59:in `each'
|
|
12311
|
+
actionpack (4.1.8) lib/action_dispatch/journey/router.rb:59:in `call'
|
|
12312
|
+
actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:678:in `call'
|
|
12313
|
+
railties (4.1.8) lib/rails/engine.rb:514:in `call'
|
|
12314
|
+
railties (4.1.8) lib/rails/railtie.rb:194:in `public_send'
|
|
12315
|
+
railties (4.1.8) lib/rails/railtie.rb:194:in `method_missing'
|
|
12316
|
+
actionpack (4.1.8) lib/action_dispatch/journey/router.rb:73:in `block in call'
|
|
12317
|
+
actionpack (4.1.8) lib/action_dispatch/journey/router.rb:59:in `each'
|
|
12318
|
+
actionpack (4.1.8) lib/action_dispatch/journey/router.rb:59:in `call'
|
|
12319
|
+
actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:678:in `call'
|
|
12320
|
+
/home/prakhar/.rvm/gems/ruby-1.9.3-p551-railsexpress@simple_spam_prevent/bundler/gems/simple-captcha-2602bf19a63d/lib/simple_captcha/middleware.rb:20:in `call'
|
|
12321
|
+
rack (1.5.2) lib/rack/etag.rb:23:in `call'
|
|
12322
|
+
rack (1.5.2) lib/rack/conditionalget.rb:35:in `call'
|
|
12323
|
+
rack (1.5.2) lib/rack/head.rb:11:in `call'
|
|
12324
|
+
actionpack (4.1.8) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
|
12325
|
+
actionpack (4.1.8) lib/action_dispatch/middleware/flash.rb:254:in `call'
|
|
12326
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
|
|
12327
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
|
|
12328
|
+
actionpack (4.1.8) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
|
12329
|
+
activerecord (4.1.8) lib/active_record/query_cache.rb:36:in `call'
|
|
12330
|
+
activerecord (4.1.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
|
|
12331
|
+
actionpack (4.1.8) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
|
12332
|
+
activesupport (4.1.8) lib/active_support/callbacks.rb:82:in `run_callbacks'
|
|
12333
|
+
actionpack (4.1.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
|
12334
|
+
actionpack (4.1.8) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
|
12335
|
+
actionpack (4.1.8) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
|
|
12336
|
+
actionpack (4.1.8) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
|
12337
|
+
actionpack (4.1.8) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
|
12338
|
+
railties (4.1.8) lib/rails/rack/logger.rb:38:in `call_app'
|
|
12339
|
+
railties (4.1.8) lib/rails/rack/logger.rb:20:in `block in call'
|
|
12340
|
+
activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
|
12341
|
+
activesupport (4.1.8) lib/active_support/tagged_logging.rb:26:in `tagged'
|
|
12342
|
+
activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `tagged'
|
|
12343
|
+
railties (4.1.8) lib/rails/rack/logger.rb:20:in `call'
|
|
12344
|
+
actionpack (4.1.8) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
|
12345
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
|
12346
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
|
12347
|
+
activesupport (4.1.8) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
|
|
12348
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
|
12349
|
+
actionpack (4.1.8) lib/action_dispatch/middleware/static.rb:84:in `call'
|
|
12350
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
|
12351
|
+
railties (4.1.8) lib/rails/engine.rb:514:in `call'
|
|
12352
|
+
railties (4.1.8) lib/rails/application.rb:144:in `call'
|
|
12353
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
|
12354
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
|
12355
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
|
12356
|
+
/home/prakhar/.rvm/rubies/ruby-1.9.3-p551-railsexpress/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
|
12357
|
+
/home/prakhar/.rvm/rubies/ruby-1.9.3-p551-railsexpress/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
|
12358
|
+
/home/prakhar/.rvm/rubies/ruby-1.9.3-p551-railsexpress/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
|
12359
|
+
|
|
12360
|
+
|
|
12361
|
+
Rendered /home/prakhar/.rvm/gems/ruby-1.9.3-p551-railsexpress@simple_spam_prevent/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms)
|
|
12362
|
+
Rendered /home/prakhar/.rvm/gems/ruby-1.9.3-p551-railsexpress@simple_spam_prevent/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms)
|
|
12363
|
+
Rendered /home/prakhar/.rvm/gems/ruby-1.9.3-p551-railsexpress@simple_spam_prevent/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (12.4ms)
|
|
12364
|
+
|
|
12365
|
+
|
|
12366
|
+
Started POST "/simple_spam_prevent/verify_captcha" for 127.0.0.1 at 2014-12-07 19:43:26 +0530
|
|
12367
|
+
Processing by SimpleSpamPrevent::CaptchaController#verify_captcha as HTML
|
|
12368
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"hrNLm8CKrN5V2Hx/x8TdBkXS97v+VinR3OSJQxyOUHk=", "captcha_key"=>"ecaa5c64a3190faa01c318f78a6d00e5c0436ddd", "captcha"=>"nbj", "commit"=>"submit"}
|
|
12369
|
+
[1m[35mSimpleCaptcha::SimpleCaptchaData Load (0.2ms)[0m SELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1
|
|
12370
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1[0m
|
|
12371
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
12372
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "simple_captcha_data" SET "updated_at" = ?, "value" = ? WHERE "simple_captcha_data"."id" = 15[0m [["updated_at", "2014-12-07 14:13:27.013456"], ["value", "OFLOD"]]
|
|
12373
|
+
[1m[35m (168.4ms)[0m commit transaction
|
|
12374
|
+
Rendered simple_captcha/_simple_captcha.erb (0.1ms)
|
|
12375
|
+
Rendered /home/prakhar/rails_apps/simple_spam_prevent/simple_spam_prevent/app/views/simple_spam_prevent/captcha/show_captcha.html.erb within layouts/simple_spam_prevent/application (178.9ms)
|
|
12376
|
+
Completed 200 OK in 186ms (Views: 14.4ms | ActiveRecord: 169.3ms)
|
|
12377
|
+
|
|
12378
|
+
|
|
12379
|
+
Started GET "/assets/simple_spam_prevent/application.css?body=1" for 127.0.0.1 at 2014-12-07 19:43:27 +0530
|
|
12380
|
+
|
|
12381
|
+
|
|
12382
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-12-07 19:43:27 +0530
|
|
12383
|
+
|
|
12384
|
+
|
|
12385
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-12-07 19:43:27 +0530
|
|
12386
|
+
|
|
12387
|
+
|
|
12388
|
+
Started GET "/assets/simple_spam_prevent/application.js?body=1" for 127.0.0.1 at 2014-12-07 19:43:27 +0530
|
|
12389
|
+
|
|
12390
|
+
|
|
12391
|
+
Started GET "/simple_captcha?code=ecaa5c64a3190faa01c318f78a6d00e5c0436ddd&time=1417961607" for 127.0.0.1 at 2014-12-07 19:43:27 +0530
|
|
12392
|
+
[1m[36mSimpleCaptcha::SimpleCaptchaData Load (0.2ms)[0m [1mSELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1[0m
|
|
12393
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1
|
|
12394
|
+
|
|
12395
|
+
|
|
12396
|
+
Started POST "/simple_spam_prevent/verify_captcha" for 127.0.0.1 at 2014-12-07 19:43:32 +0530
|
|
12397
|
+
Processing by SimpleSpamPrevent::CaptchaController#verify_captcha as HTML
|
|
12398
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"hrNLm8CKrN5V2Hx/x8TdBkXS97v+VinR3OSJQxyOUHk=", "captcha_key"=>"ecaa5c64a3190faa01c318f78a6d00e5c0436ddd", "captcha"=>"OFLOD", "commit"=>"submit"}
|
|
12399
|
+
[1m[36mSimpleCaptcha::SimpleCaptchaData Load (0.2ms)[0m [1mSELECT "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captcha_data"."key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd' ORDER BY "simple_captcha_data"."id" ASC LIMIT 1[0m
|
|
12400
|
+
[1m[35mSQL (176.0ms)[0m DELETE FROM "simple_captcha_data" WHERE ("key" = 'ecaa5c64a3190faa01c318f78a6d00e5c0436ddd')
|
|
12401
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "simple_captcha_data" WHERE ("updated_at" < '2014-12-07 13:13:32.550812')[0m
|
|
12402
|
+
Redirected to http://localhost:3000/abc
|
|
12403
|
+
Completed 302 Found in 182ms (ActiveRecord: 176.5ms)
|
|
12404
|
+
|
|
12405
|
+
|
|
12406
|
+
Started GET "/abc" for 127.0.0.1 at 2014-12-07 19:43:32 +0530
|
|
12407
|
+
Processing by ApplicationController#abc as HTML
|
|
12408
|
+
Rendered application/abc.html.erb within layouts/application (0.7ms)
|
|
12409
|
+
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms)
|
|
12410
|
+
|
|
12411
|
+
|
|
12412
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-12-07 19:43:32 +0530
|
|
12413
|
+
|
|
12414
|
+
|
|
12415
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-12-07 19:43:32 +0530
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: simple_spam_prevent
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: '1.0'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Prakhar
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2015-06-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
prerelease: false
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - '>='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '0'
|
|
19
|
+
version: '3.0'
|
|
20
20
|
type: :runtime
|
|
21
21
|
name: rails
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - '>='
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '0'
|
|
26
|
+
version: '3.0'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
prerelease: false
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -130,13 +130,12 @@ files:
|
|
|
130
130
|
- test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
|
131
131
|
- test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
|
132
132
|
- test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
|
133
|
-
- test/dummy/tmp/pids/server.pid
|
|
134
133
|
- test/fixtures/simple_spam_prevent/action_histories.yml
|
|
135
134
|
- test/integration/navigation_test.rb
|
|
136
135
|
- test/simple_spam_prevent_test.rb
|
|
137
136
|
- test/test_helper.rb
|
|
138
137
|
- test/unit/simple_spam_prevent/action_history_test.rb
|
|
139
|
-
homepage:
|
|
138
|
+
homepage: https://github.com/prakharjain09/simple_spam_prevent
|
|
140
139
|
licenses: []
|
|
141
140
|
metadata: {}
|
|
142
141
|
post_install_message:
|
|
@@ -215,7 +214,6 @@ test_files:
|
|
|
215
214
|
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
|
216
215
|
- test/dummy/tmp/cache/assets/E39/570/sprockets%2F4cb8ff3aa8cfb4eefc2f58f606b8146e
|
|
217
216
|
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
|
218
|
-
- test/dummy/tmp/pids/server.pid
|
|
219
217
|
- test/dummy/config.ru
|
|
220
218
|
- test/dummy/config/database.yml
|
|
221
219
|
- test/dummy/config/environment.rb
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
19057
|