ankh 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/Rakefile +14 -10
  2. data/VERSION +1 -1
  3. data/ankh.gemspec +24 -34
  4. metadata +10 -15
  5. 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
- require 'spec/rake/spectask'
29
- Spec::Rake::SpecTask.new(:spec) do |spec|
30
- spec.libs << 'lib' << 'spec'
31
- spec.spec_files = FileList['spec/**/*_spec.rb']
32
- end
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
- spec.libs << 'lib' << 'spec'
36
- spec.pattern = 'spec/**/*_spec.rb'
37
- spec.rcov = true
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.0
1
+ 0.1.1
@@ -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 the gemspec command
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.0"
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{2010-10-13}
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
- "README.rdoc"
18
+ "README.rdoc"
19
19
  ]
20
20
  s.files = [
21
21
  ".document",
22
- ".gitignore",
23
- "LICENSE",
24
- "README.rdoc",
25
- "Rakefile",
26
- "VERSION",
27
- "ankh.gemspec",
28
- "features/ankh.feature",
29
- "features/step_definitions/ankh_steps.rb",
30
- "features/support/env.rb",
31
- "lib/ankh.rb",
32
- "lib/ankh/model.rb",
33
- "lib/ankh/question.rb",
34
- "lib/ankh/rails/legacy.rb",
35
- "lib/ankh/validations/human.rb",
36
- "spec/ankh/model_spec.rb",
37
- "spec/ankh/question_spec.rb",
38
- "spec/ankh_spec.rb",
39
- "spec/spec.opts",
40
- "spec/spec_helper.rb",
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.3.7}
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: 27
5
- prerelease: false
4
+ hash: 25
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
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: 2010-10-13 00:00:00 -04:00
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
- - --charset=UTF-8
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.3.7
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
- - spec/ankh/model_spec.rb
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
+
data/.gitignore DELETED
@@ -1,21 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- coverage
18
- rdoc
19
- pkg
20
-
21
- ## PROJECT::SPECIFIC