captcher 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +210 -0
- data/Rakefile +22 -0
- data/app/controllers/captcher/captchas_controller.rb +22 -0
- data/app/controllers/concerns/captcher/captcha_aware.rb +30 -0
- data/app/helpers/captcher/application_helper.rb +13 -0
- data/app/views/layouts/captcher/application.html.erb +16 -0
- data/config/routes.rb +10 -0
- data/lib/captcher.rb +57 -0
- data/lib/captcher/base_captcha.rb +46 -0
- data/lib/captcher/captchas/awesome_captcha.rb +7 -0
- data/lib/captcher/captchas/code_captcha.rb +40 -0
- data/lib/captcher/captchas/math_captcha.rb +7 -0
- data/lib/captcher/config.rb +41 -0
- data/lib/captcher/engine.rb +5 -0
- data/lib/captcher/text_image.rb +48 -0
- data/lib/captcher/version.rb +3 -0
- data/lib/fonts/Bangers-Regular.ttf +0 -0
- data/lib/fonts/CarterOne.ttf +0 -0
- data/lib/fonts/FrederickatheGreat-Regular.ttf +0 -0
- data/lib/fonts/IndieFlower-Regular.ttf +0 -0
- data/lib/fonts/LobsterTwo-BoldItalic.ttf +0 -0
- data/lib/fonts/SigmarOne-Regular.ttf +0 -0
- data/lib/tasks/captcher_tasks.rake +4 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/config/manifest.js +4 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/javascripts/cable.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
- data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
- data/spec/dummy/app/controllers/application_controller.rb +2 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/jobs/application_job.rb +2 -0
- data/spec/dummy/app/mailers/application_mailer.rb +4 -0
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/app/views/layouts/application.html.erb +15 -0
- data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +36 -0
- data/spec/dummy/bin/update +31 -0
- data/spec/dummy/bin/yarn +11 -0
- data/spec/dummy/config.ru +5 -0
- data/spec/dummy/config/application.rb +30 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/cable.yml +10 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +61 -0
- data/spec/dummy/config/environments/production.rb +94 -0
- data/spec/dummy/config/environments/test.rb +46 -0
- data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
- data/spec/dummy/config/initializers/assets.rb +14 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/content_security_policy.rb +25 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +33 -0
- data/spec/dummy/config/puma.rb +34 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/config/spring.rb +6 -0
- data/spec/dummy/config/storage.yml +34 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +6608 -0
- data/spec/dummy/log/test.log +6492 -0
- data/spec/dummy/package.json +5 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/tmp/development_secret.txt +1 -0
- data/spec/helpers.rb +23 -0
- data/spec/lib/captcher/config_spec.rb +41 -0
- data/spec/models/captchas/code_captcha_spec.rb +45 -0
- data/spec/rails_helper.rb +72 -0
- data/spec/requests/captcha_management_spec.rb +48 -0
- data/spec/spec_helper.rb +96 -0
- data/spec/tmp/test.png +0 -0
- metadata +291 -0
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.