kamcaptcha 0.2.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -0
- data/bin/kamcaptcha +1 -1
- data/kamcaptcha.gemspec +2 -2
- metadata +3 -4
- data/MIT-LICENSE.txt +0 -20
data/README.md
CHANGED
@@ -50,3 +50,7 @@ return head(:bad_request) unless kamcaptcha_validates?
|
|
50
50
|
```
|
51
51
|
|
52
52
|
You can write your own helper and controller logic easily, take a look at the source.
|
53
|
+
|
54
|
+
## License
|
55
|
+
|
56
|
+
Released under the Apache License Version 2.0 http://www.apache.org/licenses/LICENSE-2.0.html
|
data/bin/kamcaptcha
CHANGED
@@ -28,7 +28,7 @@ A default run creates a "./tmp" directory and generates 10 random five character
|
|
28
28
|
Full list of options:
|
29
29
|
EOS
|
30
30
|
|
31
|
-
opt :salt, "Salt to use, if not specified one will be generated"
|
31
|
+
opt :salt, "Salt to use, if not specified one will be generated", :type => :string
|
32
32
|
opt :count, "How many words to generate", :default => 10
|
33
33
|
opt :height, "Height of the word image in pixels", :default => 50
|
34
34
|
opt :width, "Width of the word image in pixesks", :default => 240
|
data/kamcaptcha.gemspec
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
Gem::Specification.new "kamcaptcha", "0.
|
1
|
+
Gem::Specification.new "kamcaptcha", "1.0.0" do |s|
|
2
2
|
s.summary = "A captcha image generator that's a little less retarded"
|
3
3
|
s.description = "Helps humankind with simpler captchas"
|
4
4
|
s.authors = [ "Morten Primdahl" ]
|
5
5
|
s.email = "primdahl@me.com"
|
6
6
|
s.homepage = "http://github.com/morten/kamcaptcha"
|
7
7
|
s.files = `git ls-files`.split("\n")
|
8
|
-
s.license = "
|
8
|
+
s.license = "Apache License Version 2.0"
|
9
9
|
|
10
10
|
s.add_runtime_dependency("trollop", ">= 2.0")
|
11
11
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kamcaptcha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-02-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: trollop
|
@@ -117,7 +117,6 @@ files:
|
|
117
117
|
- .gitignore
|
118
118
|
- .travis.yml
|
119
119
|
- Gemfile
|
120
|
-
- MIT-LICENSE.txt
|
121
120
|
- README.md
|
122
121
|
- Rakefile
|
123
122
|
- bin/kamcaptcha
|
@@ -135,7 +134,7 @@ files:
|
|
135
134
|
- test/unit/test_validation.rb
|
136
135
|
homepage: http://github.com/morten/kamcaptcha
|
137
136
|
licenses:
|
138
|
-
-
|
137
|
+
- Apache License Version 2.0
|
139
138
|
post_install_message:
|
140
139
|
rdoc_options: []
|
141
140
|
require_paths:
|
data/MIT-LICENSE.txt
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
Copyright (c) 2012 Morten Primdahl
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
-
a copy of this software and associated documentation files (the
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
9
|
-
the following conditions:
|
10
|
-
|
11
|
-
The above copyright notice and this permission notice shall be
|
12
|
-
included in all copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|