acts_as_textcaptcha 3.0.8 → 3.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.rdoc +13 -0
- data/acts_as_textcaptcha.gemspec +2 -1
- data/gem-public_cert.pem +21 -0
- data/lib/acts_as_textcaptcha/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19a69c91d84eb187e75e36653c1e7ac81c47b9db
|
4
|
+
data.tar.gz: 262c7a7d66c75b4f311e060c613870683012519f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 859ef465fc32203b325f65af5a4f699ad5668f5d3ba10ef94bb44992ae28331565ce68c50eb38150cf0412312e97932539dec435a5249d8b91f5cc35285c1dec
|
7
|
+
data.tar.gz: 37003e42faddb4c8fe424cd7044f4d861cc9901cd828f8173b7f72729f819a6091455b780a25fce997bdabc29011e0d661e2fba9f2fe8e4bccff15e3e5ce4a8b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.rdoc
CHANGED
@@ -196,6 +196,19 @@ What do you need?
|
|
196
196
|
* {Text CAPTCHA}[http://textcaptcha.com] API and service by {Rob Tuley}[http://openknot.com/me/] at {Openknot}[http://openknot.com]
|
197
197
|
* {bcrypt-ruby}[http://bcrypt-ruby.rubyforge.org/] Gem by {Coda Hale}[http://codahale.com]
|
198
198
|
|
199
|
+
|
200
|
+
== Gem Signing
|
201
|
+
|
202
|
+
You can use the HighSecurity policy to install this gem by adding my public certificate as a trusted source. To do so, run;
|
203
|
+
|
204
|
+
`gem cert --add <(curl -Ls https://gist.github.com/matthutchinson/5697493/raw/13c2c9edf52cbf72ef399cd4e3b9044ac700abf9/gem-public_cert.pem)`
|
205
|
+
|
206
|
+
After doing this, you should be able to install the gem with;
|
207
|
+
|
208
|
+
gem install acts_as_textcaptcha -P HighSecurity
|
209
|
+
# or with Bundler, specify the HighSecurity policy
|
210
|
+
bundle install --trust-policy HighSecurity
|
211
|
+
|
199
212
|
== Todo
|
200
213
|
|
201
214
|
* Achieve 100% test coverage, currently at 93%
|
data/acts_as_textcaptcha.gemspec
CHANGED
@@ -16,8 +16,9 @@ Gem::Specification.new do |s|
|
|
16
16
|
For more reasons on why logic questions are a good idea visit; http://textcaptcha.com/why}
|
17
17
|
|
18
18
|
s.extra_rdoc_files = ['README.rdoc', 'LICENSE']
|
19
|
+
|
19
20
|
s.signing_key = '/Users/matt/.gem/gem-private_key.pem'
|
20
|
-
s.cert_chain
|
21
|
+
s.cert_chain = ['gem-public_cert.pem']
|
21
22
|
|
22
23
|
s.files = `git ls-files`.split("\n")
|
23
24
|
s.test_files = `git ls-files -- {test}/*`.split("\n")
|
data/gem-public_cert.pem
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
-----BEGIN CERTIFICATE-----
|
2
|
+
MIIDdDCCAlygAwIBAgIBATANBgkqhkiG9w0BAQUFADBAMQ0wCwYDVQQDDARtYXR0
|
3
|
+
MRowGAYKCZImiZPyLGQBGRYKaGlkZGVubG9vcDETMBEGCgmSJomT8ixkARkWA2Nv
|
4
|
+
bTAeFw0xMzA2MDMxMDA0NDNaFw0xNDA2MDMxMDA0NDNaMEAxDTALBgNVBAMMBG1h
|
5
|
+
dHQxGjAYBgoJkiaJk/IsZAEZFgpoaWRkZW5sb29wMRMwEQYKCZImiZPyLGQBGRYD
|
6
|
+
Y29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApUgO+NlewgetOcmX
|
7
|
+
8kk5IiISAmGGYqoFrDnzO7/NGjlWcSit91hZszadsQ00OM9h30WMDqSGPlwt2qVL
|
8
|
+
CQShDjOTx4PQcN9O8PchlhLow/wNVfB5b5sYQX3aDIiIoSLViQt+zquPhTHExN4X
|
9
|
+
HJJFxwUVIQot0JHV7mh9jApu+RJIpiVPM0is18NnOC2BIXjrGYxqHr7cG4BafvLz
|
10
|
+
tNTmPtpnp+bxKtp/bGP0wRtPSU9jX/a3V1p1DyI48O5wDLzctXJq/I088sTmB0Ao
|
11
|
+
9WjYro4/ZKv5P/D/RUE4Y6wle6REHwElRN4aq+lJAjpgz8mlhrG0pOkLc1fQ30cC
|
12
|
+
WMW9kwIDAQABo3kwdzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU
|
13
|
+
dgeKBlNLxQ51DpNFUEXb/BCxNkcwHgYDVR0RBBcwFYETbWF0dEBoaWRkZW5sb29w
|
14
|
+
LmNvbTAeBgNVHRIEFzAVgRNtYXR0QGhpZGRlbmxvb3AuY29tMA0GCSqGSIb3DQEB
|
15
|
+
BQUAA4IBAQBDAy+PrOSYmhOFeQdwUhSVIKKVAKZl7W9mnRhgRbSSDqX4vMrOdxtJ
|
16
|
+
pmGbYG+VEiO99/i48RkpePDw33QKxw+QS0XnQgzUkUirxqCzYh10mZg9R75SYIWy
|
17
|
+
bRvDWm+vuJ1eJP1h2Qp7pXYdF6YlBOtCzwJ9rCrzEg2ysH8fmiPXfEhSGtXoJSXk
|
18
|
+
r0M/oZPea0G7EwwO9vkhFRFjdXpV1s40nd1FVjNs8KMfCmbgy47LDVCUKD7vRXqL
|
19
|
+
bTJLvq5MW2z5Vv58bXm1ZqUffIMHnO8wRGrq3l1OyBXO528IIyr/0EWKeD1mMxcR
|
20
|
+
KUbCbOV40pG+vpamHIngE3nrQQ1bR24k
|
21
|
+
-----END CERTIFICATE-----
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_textcaptcha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Hutchinson
|
@@ -179,6 +179,7 @@ files:
|
|
179
179
|
- Rakefile
|
180
180
|
- acts_as_textcaptcha.gemspec
|
181
181
|
- config/textcaptcha.yml
|
182
|
+
- gem-public_cert.pem
|
182
183
|
- init.rb
|
183
184
|
- lib/acts_as_textcaptcha.rb
|
184
185
|
- lib/acts_as_textcaptcha/framework/rails.rb
|
@@ -211,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
211
212
|
version: '0'
|
212
213
|
requirements: []
|
213
214
|
rubyforge_project:
|
214
|
-
rubygems_version: 2.0.
|
215
|
+
rubygems_version: 2.0.3
|
215
216
|
signing_key:
|
216
217
|
specification_version: 4
|
217
218
|
summary: Spam protection for your models via logic questions and the textcaptcha.com
|
metadata.gz.sig
CHANGED
Binary file
|