blogs_captcha 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 57bc75ea05cf9b30bf5985c974b3b2f2c6365d4db0a55beb97ca5cbbc585f5a4
4
- data.tar.gz: 21dfa9deeca2067ad4533f4fe00be2e03bf858c6934e617a6d5e6349590daca9
3
+ metadata.gz: 9f0b4dd4a0072f9d9315a6a9983ddd22d7e5b0375c86516fb419cdebe2a09cec
4
+ data.tar.gz: a995c2e8153116a9c8c0ac5ed1e3b208effe54abbccbc3375108a301607a805b
5
5
  SHA512:
6
- metadata.gz: 789ccb60f7d0764450bcd67bcf509f19ea844f37e7e956f21c8921e50c0169a04dd6476edff91bbec641994d15c98b46cc38151fc4bd7c0e81b7844599405fb0
7
- data.tar.gz: d76b2fdd259e9728a4304fa952ed25d361f79fdd3a4dfd20da9b467f0beb347a891f0a8870fbfbab6fd9fc7bfcd51ccc06f738cb91fa1efa56375d750e92c737
6
+ metadata.gz: 1199dbb834cabcfad6b417a12eb46afbec7ae4ff91cc331c89f7c141f11f6ed8c3ce2655653b5a66a29efcdb582700232f379939e0fa51f70bc54cb18870149f
7
+ data.tar.gz: 17487da4a21a88573a0443f91862fe5c20dcfa8b68d89f643f796e6e78a5682d76044da936fea59223e9fde580c329ff46f6dbdd2bce197304d2bc9f1494b9cd
@@ -1,3 +1,3 @@
1
1
  module BlogsCaptcha
2
- VERSION = '0.0.8'
2
+ VERSION = '0.0.9'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blogs_captcha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - ChinaHDJ
@@ -45,12 +45,6 @@ extensions:
45
45
  - ext/blogs_captcha/extconf.rb
46
46
  extra_rdoc_files: []
47
47
  files:
48
- - app/controllers/blogs_captcha/captcha_controller.rb
49
- - config/locales/rucaptcha.en.yml
50
- - config/locales/rucaptcha.pt-BR.yml
51
- - config/locales/rucaptcha.zh-CN.yml
52
- - config/locales/rucaptcha.zh-TW.yml
53
- - config/routes.rb
54
48
  - ext/blogs_captcha/blogs_captcha.c
55
49
  - ext/blogs_captcha/colors.h
56
50
  - ext/blogs_captcha/extconf.rb
@@ -1,12 +0,0 @@
1
- module BlogsCaptcha
2
- class CaptchaController < ActionController::Base
3
- def index
4
- return head :ok if request.head?
5
- headers['Cache-Control'] = 'no-cache, no-store, max-age=0, must-revalidate'
6
- headers['Pragma'] = 'no-cache'
7
- data = generate_captcha
8
- opts = { disposition: 'inline', type: 'image/gif' }
9
- send_data data, opts
10
- end
11
- end
12
- end
@@ -1,3 +0,0 @@
1
- en:
2
- rucaptcha:
3
- invalid: "Captcha invalid!"
@@ -1,3 +0,0 @@
1
- 'pt-BR':
2
- rucaptcha:
3
- invalid: "Código inválido!"
@@ -1,3 +0,0 @@
1
- 'zh-CN':
2
- rucaptcha:
3
- invalid: "验证码不正确"
@@ -1,3 +0,0 @@
1
- 'zh-TW':
2
- rucaptcha:
3
- invalid: "驗證碼不正確"
data/config/routes.rb DELETED
@@ -1,3 +0,0 @@
1
- BlogsCaptcha::Engine.routes.draw do
2
- root to: 'captcha#index'
3
- end