ankh 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +14 -10
- data/VERSION +1 -1
- data/ankh.gemspec +24 -34
- metadata +10 -15
- data/.gitignore +0 -21
data/Rakefile
CHANGED
@@ -25,19 +25,23 @@ rescue LoadError
|
|
25
25
|
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
26
26
|
end
|
27
27
|
|
28
|
-
|
29
|
-
|
30
|
-
spec
|
31
|
-
|
32
|
-
|
28
|
+
begin
|
29
|
+
require 'spec/rake/spectask'
|
30
|
+
Spec::Rake::SpecTask.new(:spec) do |spec|
|
31
|
+
spec.libs << 'lib' << 'spec'
|
32
|
+
spec.spec_files = FileList['spec/**/*_spec.rb']
|
33
|
+
end
|
33
34
|
|
34
|
-
Spec::Rake::SpecTask.new(:rcov) do |spec|
|
35
|
-
|
36
|
-
|
37
|
-
|
35
|
+
Spec::Rake::SpecTask.new(:rcov) do |spec|
|
36
|
+
spec.libs << 'lib' << 'spec'
|
37
|
+
spec.pattern = 'spec/**/*_spec.rb'
|
38
|
+
spec.rcov = true
|
39
|
+
end
|
40
|
+
rescue LoadError
|
41
|
+
puts "Rspec (or a dependency) not available. gem install rspec"
|
38
42
|
end
|
39
43
|
|
40
|
-
task :spec => :check_dependencies
|
44
|
+
task :spec => :check_dependencies
|
41
45
|
|
42
46
|
begin
|
43
47
|
require 'cucumber/rake/task'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/ankh.gemspec
CHANGED
@@ -1,60 +1,50 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{ankh}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Dan Pickett"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2011-10-23}
|
13
13
|
s.description = %q{Use Ankh in your Rails (2.3.x or 3.0) projects to protect against bots and other spam producers. It asks a simple
|
14
14
|
arithmatic question to verify that the poster is human.}
|
15
15
|
s.email = %q{dpickett@enlightsolutions.com}
|
16
16
|
s.extra_rdoc_files = [
|
17
17
|
"LICENSE",
|
18
|
-
|
18
|
+
"README.rdoc"
|
19
19
|
]
|
20
20
|
s.files = [
|
21
21
|
".document",
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
"spec/support/active_record_spec_helper.rb"
|
22
|
+
"LICENSE",
|
23
|
+
"README.rdoc",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"ankh.gemspec",
|
27
|
+
"features/ankh.feature",
|
28
|
+
"features/step_definitions/ankh_steps.rb",
|
29
|
+
"features/support/env.rb",
|
30
|
+
"lib/ankh.rb",
|
31
|
+
"lib/ankh/model.rb",
|
32
|
+
"lib/ankh/question.rb",
|
33
|
+
"lib/ankh/rails/legacy.rb",
|
34
|
+
"lib/ankh/validations/human.rb",
|
35
|
+
"spec/ankh/model_spec.rb",
|
36
|
+
"spec/ankh/question_spec.rb",
|
37
|
+
"spec/ankh_spec.rb",
|
38
|
+
"spec/spec.opts",
|
39
|
+
"spec/spec_helper.rb",
|
40
|
+
"spec/support/active_record_spec_helper.rb"
|
42
41
|
]
|
43
42
|
s.homepage = %q{http://github.com/dpickett/ankh}
|
44
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
45
43
|
s.require_paths = ["lib"]
|
46
|
-
s.rubygems_version = %q{1.
|
44
|
+
s.rubygems_version = %q{1.4.2}
|
47
45
|
s.summary = %q{Protect against bots and other spam producers with simple mathematical questions}
|
48
|
-
s.test_files = [
|
49
|
-
"spec/ankh/model_spec.rb",
|
50
|
-
"spec/ankh/question_spec.rb",
|
51
|
-
"spec/ankh_spec.rb",
|
52
|
-
"spec/spec_helper.rb",
|
53
|
-
"spec/support/active_record_spec_helper.rb"
|
54
|
-
]
|
55
46
|
|
56
47
|
if s.respond_to? :specification_version then
|
57
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
58
48
|
s.specification_version = 3
|
59
49
|
|
60
50
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ankh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 25
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dan Pickett
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-10-23 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -123,7 +123,6 @@ extra_rdoc_files:
|
|
123
123
|
- README.rdoc
|
124
124
|
files:
|
125
125
|
- .document
|
126
|
-
- .gitignore
|
127
126
|
- LICENSE
|
128
127
|
- README.rdoc
|
129
128
|
- Rakefile
|
@@ -148,8 +147,8 @@ homepage: http://github.com/dpickett/ankh
|
|
148
147
|
licenses: []
|
149
148
|
|
150
149
|
post_install_message:
|
151
|
-
rdoc_options:
|
152
|
-
|
150
|
+
rdoc_options: []
|
151
|
+
|
153
152
|
require_paths:
|
154
153
|
- lib
|
155
154
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -173,13 +172,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
173
172
|
requirements: []
|
174
173
|
|
175
174
|
rubyforge_project:
|
176
|
-
rubygems_version: 1.
|
175
|
+
rubygems_version: 1.4.2
|
177
176
|
signing_key:
|
178
177
|
specification_version: 3
|
179
178
|
summary: Protect against bots and other spam producers with simple mathematical questions
|
180
|
-
test_files:
|
181
|
-
|
182
|
-
- spec/ankh/question_spec.rb
|
183
|
-
- spec/ankh_spec.rb
|
184
|
-
- spec/spec_helper.rb
|
185
|
-
- spec/support/active_record_spec_helper.rb
|
179
|
+
test_files: []
|
180
|
+
|