blogs_captcha 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 75ab1e4366bcb63bb8847aaf62146d3c7496e70f3ef77aa7b8ad3ba320ebc328
4
- data.tar.gz: 980589fceebec43878277bd5fe3c095d623cf6337d17befda94e1c808a9f7eaf
3
+ metadata.gz: 2f29f1959331c9984487654b57890a85cc3d6c0f9837b9af9395148b8f803261
4
+ data.tar.gz: e648391df1f5fa844ea783efd3d23928db255788efaa31c409d39662b33930b6
5
5
  SHA512:
6
- metadata.gz: b44e1f635f0ca58f9ab0ff3902612cff76f96b684f34cf04eb8c8ac2ce64b92e4f6ebefeb816926061b59550b9f869b4d38b1d2c116792d2913b299fe7562a57
7
- data.tar.gz: 3b146013052d3566e281455f7beeda551714afa3f7bfee94e9eb6dd24048d0f2d338943d6a2a62695f312ade9f34e130860079636e731f8deba3eb1f108dbc1f
6
+ metadata.gz: b44ea8f08f7f5220eedcd7f44f91b322c1cebb79d335f2438cfaec84f9673f688457af8de10156c653558f20217681708f5555deb48123feeb3b9241b2c6482f
7
+ data.tar.gz: 164d601b9fde386f44caa927df265946308eb7964c7d2d133bb9f12d8eb99ef722410f6a9f516db4829b3645753d4baa4e0e9535d28a13eff37f960cf0bc40ba
@@ -5,7 +5,6 @@ require 'blogs_captcha/blogs_captcha'
5
5
  require 'blogs_captcha/version'
6
6
  require 'blogs_captcha/configuration'
7
7
  require 'blogs_captcha/controller_helpers'
8
- require 'blogs_captcha/view_helpers'
9
8
  require 'blogs_captcha/cache'
10
9
  require 'blogs_captcha/engine'
11
10
  require 'blogs_captcha/errors/configuration'
@@ -15,9 +15,9 @@ module BlogsCaptcha
15
15
  code: res[0],
16
16
  time: Time.now.to_i
17
17
  }
18
-
18
+
19
19
  BlogsCaptcha.cache.write(['captcha-session', key].join(':'), session_val, expires_in: BlogsCaptcha.config.expires_in)
20
-
20
+
21
21
  {
22
22
  data: res[1],
23
23
  key: key,
@@ -1,3 +1,3 @@
1
1
  module BlogsCaptcha
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
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.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ChinaHDJ