gotcha 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,7 +28,7 @@ module Gotcha
28
28
 
29
29
  end
30
30
 
31
- ActionView::Helpers::FormTagHelper.send(:include, Gotcha::FormHelpers)
31
+ ActionView::Base.send(:include, Gotcha::FormHelpers)
32
32
  ActionController::Base.send(:include, Gotcha::ControllerHelpers)
33
33
 
34
34
  Dir.glob(File.dirname(__FILE__) + '/../gotchas/*_gotcha.rb').each { |f| require f }
@@ -15,6 +15,7 @@ module Gotcha
15
15
  text = text.is_a?(String) ? text.dup : text.to_s
16
16
  text.downcase!
17
17
  text.gsub! /\s+/, ' '
18
+ text.strip!
18
19
  text
19
20
  end
20
21
 
@@ -1,5 +1,5 @@
1
1
  module Gotcha
2
2
 
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gotcha
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.0.2
4
+ hash: 25
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 3
10
+ version: 0.0.3
6
11
  platform: ruby
7
12
  authors:
8
13
  - John Crepezzi
@@ -10,7 +15,7 @@ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2011-03-08 00:00:00 -05:00
18
+ date: 2011-03-09 00:00:00 -05:00
14
19
  default_executable:
15
20
  dependencies:
16
21
  - !ruby/object:Gem::Dependency
@@ -21,6 +26,9 @@ dependencies:
21
26
  requirements:
22
27
  - - ">="
23
28
  - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
24
32
  version: "0"
25
33
  type: :development
26
34
  version_requirements: *id001
@@ -32,6 +40,9 @@ dependencies:
32
40
  requirements:
33
41
  - - ">="
34
42
  - !ruby/object:Gem::Version
43
+ hash: 3
44
+ segments:
45
+ - 0
35
46
  version: "0"
36
47
  type: :development
37
48
  version_requirements: *id002
@@ -65,17 +76,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
65
76
  requirements:
66
77
  - - ">="
67
78
  - !ruby/object:Gem::Version
79
+ hash: 3
80
+ segments:
81
+ - 0
68
82
  version: "0"
69
83
  required_rubygems_version: !ruby/object:Gem::Requirement
70
84
  none: false
71
85
  requirements:
72
86
  - - ">="
73
87
  - !ruby/object:Gem::Version
88
+ hash: 3
89
+ segments:
90
+ - 0
74
91
  version: "0"
75
92
  requirements: []
76
93
 
77
94
  rubyforge_project: gotcha
78
- rubygems_version: 1.5.0
95
+ rubygems_version: 1.3.7
79
96
  signing_key:
80
97
  specification_version: 3
81
98
  summary: A captcha library for auto-generating questions