mathcha 0.5.3 → 0.5.4

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.
@@ -0,0 +1,34 @@
1
+ ## Matcha
2
+
3
+ Mathcha is a horribly-named, arithmetic-based, text-driven captcha. Why you ask? For very few good reasons:
4
+
5
+ - I had never written a plugin.
6
+ - I wanted to play with a few bits of technology I hadn't touched:
7
+ -- git, github, gemcutter, gem packaging, jeweler
8
+ - I really like Recaptcha it's just that I've seen a few folk using simple math problems; I prefer it.
9
+ - I need this functionality across a few applications I've been working on.
10
+
11
+ ## Note
12
+
13
+ This thing is nascent, fledgling, and was produced in a matter of hours. I haven't thoroughly tested it yet
14
+ so don't put too much faith in it. Please feel free to fork and dress up. I plan on staying on top of this
15
+ over the next few weeks and getting something put together that I'm happy to push on my peers.
16
+
17
+ ## Installation
18
+
19
+ First, install the gem:
20
+
21
+ `sudo gem install mathcha`
22
+
23
+ Next, modify your config/environment.rb to reference the mathcha gem:
24
+
25
+ `config.gem "mathcha", :source => "http://gemcutter.org"`
26
+
27
+ ## Example
28
+
29
+ * In your view: <%= mathcha_tag %>
30
+ * In your controller: if (verify_mathcha(params))
31
+ * More soon.
32
+
33
+
34
+ Copyright (c) 2009 Cory Wilkerson, released under the MIT license
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.3
1
+ 0.5.4
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{mathcha}
8
- s.version = "0.5.3"
8
+ s.version = "0.5.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Cory Wilkerson"]
@@ -13,11 +13,11 @@ Gem::Specification.new do |s|
13
13
  s.description = %q{Quick little arithmetic plain-text captcha}
14
14
  s.email = %q{coryjwilkerson@gmail.com}
15
15
  s.extra_rdoc_files = [
16
- "README"
16
+ "README.markdown"
17
17
  ]
18
18
  s.files = [
19
19
  "MIT-LICENSE",
20
- "README",
20
+ "README.markdown",
21
21
  "Rakefile",
22
22
  "VERSION",
23
23
  "install.rb",
@@ -25,6 +25,7 @@ Gem::Specification.new do |s|
25
25
  "lib/mathcha/mathcha_helper.rb",
26
26
  "lib/mathcha/mathcha_verify.rb",
27
27
  "mathcha.gemspec",
28
+ "pkg/mathcha-0.5.3.gem",
28
29
  "rails/init.rb",
29
30
  "tasks/mathcha_tasks.rake",
30
31
  "test/mathcha_test.rb",
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mathcha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cory Wilkerson
@@ -29,10 +29,10 @@ executables: []
29
29
  extensions: []
30
30
 
31
31
  extra_rdoc_files:
32
- - README
32
+ - README.markdown
33
33
  files:
34
34
  - MIT-LICENSE
35
- - README
35
+ - README.markdown
36
36
  - Rakefile
37
37
  - VERSION
38
38
  - install.rb
@@ -40,6 +40,7 @@ files:
40
40
  - lib/mathcha/mathcha_helper.rb
41
41
  - lib/mathcha/mathcha_verify.rb
42
42
  - mathcha.gemspec
43
+ - pkg/mathcha-0.5.3.gem
43
44
  - rails/init.rb
44
45
  - tasks/mathcha_tasks.rake
45
46
  - test/mathcha_test.rb
data/README DELETED
@@ -1,22 +0,0 @@
1
- Mathcha
2
- =======
3
-
4
- Mathcha is a horribly-named, arithmetic-based, text-driven captcha. Why you ask? For very few good reasons:
5
-
6
- * I had never written a plugin.
7
- * I wanted to play with a few bits of technology I hadn't touched: git, github, gemcutter, gem packaging, jeweler, etc.
8
- * I really like Recaptcha it's just that I've seen a few folk using simple math problems and it's
9
- * I need this functionality across a few applications I've been working on.
10
-
11
- This thing is nascent, fledgling, and was produced in a matter of hours. I haven't thoroughly tested it yet so don't put too much faith in it. Please feel free to fork and dress up. I plan on staying on top of this over the next few weeks and getting something put together that I'm happy to push on my peers.
12
-
13
-
14
- Example
15
- =======
16
-
17
- * In your view: <%= mathcha_tag %>
18
- * In your controller: if (verify_mathcha(params))
19
- * More soon.
20
-
21
-
22
- Copyright (c) 2009 Cory Wilkerson, released under the MIT license