catptcha 0.1.2 → 0.1.3

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.
Files changed (2) hide show
  1. data/lib/catptcha.rb +2 -2
  2. metadata +4 -4
data/lib/catptcha.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Catptcha
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
 
4
4
  class << self
5
5
  # Get a list of 3 kitten photos
@@ -20,7 +20,7 @@ module Catptcha
20
20
  return <<-EOJS
21
21
  function catptcha_click(e) {
22
22
  if (e.checked) {
23
- e.parentNode.getElementsByTagName('img')[0].setAttribute("style","border: 2px solid black;");
23
+ e.parentNode.getElementsByTagName('img')[0].setAttribute("style","border: 2px solid red;");
24
24
  } else {
25
25
  e.parentNode.getElementsByTagName('img')[0].setAttribute("style", "padding: 2px");
26
26
  }
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: catptcha
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Zack Hobson
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-05-21 00:00:00 -07:00
18
+ date: 2012-05-23 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency