easy_captcha 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,9 +1,11 @@
1
1
  source "http://rubygems.org"
2
- gem "rails", ">= 3.0.0"
2
+ gem "rails", "~> 3.0.0"
3
3
  gem "rmagick"
4
4
 
5
5
  group :development do
6
6
  gem "bundler", "~> 1.0.0"
7
- gem "jeweler", "~> 1.5.1"
8
- gem "cover_me"
7
+ gem "jeweler", "~> 1.5.2"
8
+ gem 'simplecov', '>= 0.3.8', :require => false
9
+ gem "rspec", "~> 2.3.0"
10
+ gem "yard", "~> 0.6.0"
9
11
  end
data/Gemfile.lock CHANGED
@@ -2,87 +2,95 @@ GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
4
  abstract (1.0.0)
5
- actionmailer (3.0.3)
6
- actionpack (= 3.0.3)
7
- mail (~> 2.2.9)
8
- actionpack (3.0.3)
9
- activemodel (= 3.0.3)
10
- activesupport (= 3.0.3)
5
+ actionmailer (3.0.7)
6
+ actionpack (= 3.0.7)
7
+ mail (~> 2.2.15)
8
+ actionpack (3.0.7)
9
+ activemodel (= 3.0.7)
10
+ activesupport (= 3.0.7)
11
11
  builder (~> 2.1.2)
12
12
  erubis (~> 2.6.6)
13
- i18n (~> 0.4)
13
+ i18n (~> 0.5.0)
14
14
  rack (~> 1.2.1)
15
- rack-mount (~> 0.6.13)
16
- rack-test (~> 0.5.6)
15
+ rack-mount (~> 0.6.14)
16
+ rack-test (~> 0.5.7)
17
17
  tzinfo (~> 0.3.23)
18
- activemodel (3.0.3)
19
- activesupport (= 3.0.3)
18
+ activemodel (3.0.7)
19
+ activesupport (= 3.0.7)
20
20
  builder (~> 2.1.2)
21
- i18n (~> 0.4)
22
- activerecord (3.0.3)
23
- activemodel (= 3.0.3)
24
- activesupport (= 3.0.3)
21
+ i18n (~> 0.5.0)
22
+ activerecord (3.0.7)
23
+ activemodel (= 3.0.7)
24
+ activesupport (= 3.0.7)
25
25
  arel (~> 2.0.2)
26
26
  tzinfo (~> 0.3.23)
27
- activeresource (3.0.3)
28
- activemodel (= 3.0.3)
29
- activesupport (= 3.0.3)
30
- activesupport (3.0.3)
31
- arel (2.0.7)
27
+ activeresource (3.0.7)
28
+ activemodel (= 3.0.7)
29
+ activesupport (= 3.0.7)
30
+ activesupport (3.0.7)
31
+ arel (2.0.10)
32
32
  builder (2.1.2)
33
- configatron (2.6.4)
34
- yamler (>= 0.1.0)
35
- cover_me (1.0.0.rc5)
36
- configatron
37
- hashie
33
+ diff-lcs (1.1.2)
38
34
  erubis (2.6.6)
39
35
  abstract (>= 1.0.0)
40
36
  git (1.2.5)
41
- hashie (0.4.0)
42
37
  i18n (0.5.0)
43
38
  jeweler (1.5.2)
44
39
  bundler (~> 1.0.0)
45
40
  git (>= 1.2.5)
46
41
  rake
47
- mail (2.2.15)
42
+ mail (2.2.19)
48
43
  activesupport (>= 2.3.6)
49
44
  i18n (>= 0.4.0)
50
45
  mime-types (~> 1.16)
51
46
  treetop (~> 1.4.8)
52
47
  mime-types (1.16)
53
48
  polyglot (0.3.1)
54
- rack (1.2.1)
55
- rack-mount (0.6.13)
49
+ rack (1.2.3)
50
+ rack-mount (0.6.14)
56
51
  rack (>= 1.0.0)
57
52
  rack-test (0.5.7)
58
53
  rack (>= 1.0)
59
- rails (3.0.3)
60
- actionmailer (= 3.0.3)
61
- actionpack (= 3.0.3)
62
- activerecord (= 3.0.3)
63
- activeresource (= 3.0.3)
64
- activesupport (= 3.0.3)
54
+ rails (3.0.7)
55
+ actionmailer (= 3.0.7)
56
+ actionpack (= 3.0.7)
57
+ activerecord (= 3.0.7)
58
+ activeresource (= 3.0.7)
59
+ activesupport (= 3.0.7)
65
60
  bundler (~> 1.0)
66
- railties (= 3.0.3)
67
- railties (3.0.3)
68
- actionpack (= 3.0.3)
69
- activesupport (= 3.0.3)
61
+ railties (= 3.0.7)
62
+ railties (3.0.7)
63
+ actionpack (= 3.0.7)
64
+ activesupport (= 3.0.7)
70
65
  rake (>= 0.8.7)
71
66
  thor (~> 0.14.4)
72
- rake (0.8.7)
67
+ rake (0.9.2)
73
68
  rmagick (2.13.1)
69
+ rspec (2.3.0)
70
+ rspec-core (~> 2.3.0)
71
+ rspec-expectations (~> 2.3.0)
72
+ rspec-mocks (~> 2.3.0)
73
+ rspec-core (2.3.1)
74
+ rspec-expectations (2.3.0)
75
+ diff-lcs (~> 1.1.2)
76
+ rspec-mocks (2.3.0)
77
+ simplecov (0.4.2)
78
+ simplecov-html (~> 0.4.4)
79
+ simplecov-html (0.4.5)
74
80
  thor (0.14.6)
75
81
  treetop (1.4.9)
76
82
  polyglot (>= 0.3.1)
77
- tzinfo (0.3.24)
78
- yamler (0.1.0)
83
+ tzinfo (0.3.27)
84
+ yard (0.6.8)
79
85
 
80
86
  PLATFORMS
81
87
  ruby
82
88
 
83
89
  DEPENDENCIES
84
90
  bundler (~> 1.0.0)
85
- cover_me
86
- jeweler (~> 1.5.1)
87
- rails (>= 3.0.0)
91
+ jeweler (~> 1.5.2)
92
+ rails (~> 3.0.0)
88
93
  rmagick
94
+ rspec (~> 2.3.0)
95
+ simplecov (>= 0.3.8)
96
+ yard (~> 0.6.0)
data/README.rdoc CHANGED
@@ -80,7 +80,7 @@ You can configure easy_captcha in "config/initializers/easy_captcha.rb", if you
80
80
  <% end %>
81
81
 
82
82
  == Example app
83
- You find an example app under: http://github.com/traxanos/easy_captcha_example
83
+ You find an example app under: http://github.com/phatworx/easy_captcha_example
84
84
 
85
85
  == History
86
86
  * 0.1 init
@@ -90,6 +90,7 @@ You find an example app under: http://github.com/traxanos/easy_captcha_example
90
90
 
91
91
  == Maintainers
92
92
 
93
+ * Team Phatworx (http://github.com/phatworx)
93
94
  * Marco Scholl (http://github.com/traxanos)
94
95
 
95
96
  == Contributing to EasyCaptcha
data/Rakefile CHANGED
@@ -9,47 +9,26 @@ rescue Bundler::BundlerError => e
9
9
  end
10
10
  require 'rake'
11
11
 
12
-
13
12
  require 'jeweler'
14
13
  Jeweler::Tasks.new do |gem|
14
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
15
15
  gem.name = "easy_captcha"
16
- gem.homepage = "http://github.com/traxanos/easy_captcha"
16
+ gem.homepage = "http://github.com/phatworx/easy_captcha"
17
17
  gem.license = "MIT"
18
- gem.summary = "Captcha-Plugin for Rails"
19
- gem.description = "Captcha-Plugin for Rails"
20
- gem.email = "develop@marco-scholl.de"
18
+ gem.summary = %Q{Captcha-Plugin for Rails}
19
+ gem.description = %Q{Captcha-Plugin for Rails}
20
+ gem.email = "team@phatworx.de"
21
21
  gem.authors = ["Marco Scholl"]
22
- gem.add_runtime_dependency 'rails', '>= 3.0.0'
23
- gem.add_runtime_dependency 'rmagick'
24
22
  end
25
23
  Jeweler::RubygemsDotOrgTasks.new
26
24
 
27
- require 'rake/testtask'
28
- Rake::TestTask.new(:test) do |test|
29
- test.libs << 'lib' << 'test'
30
- test.pattern = 'test/**/test_*.rb'
31
- test.verbose = true
32
- end
33
-
34
- namespace :cover_me do
35
- task :report do
36
- require 'cover_me'
37
- CoverMe.complete!
38
- end
25
+ require 'rspec/core'
26
+ require 'rspec/core/rake_task'
27
+ RSpec::Core::RakeTask.new(:spec) do |spec|
28
+ spec.pattern = FileList['spec/**/*_spec.rb']
39
29
  end
40
30
 
41
- task :test do
42
- Rake::Task['cover_me:report'].invoke
43
- end
31
+ task :default => :spec
44
32
 
45
- task :default => :test
46
-
47
- require 'rake/rdoctask'
48
- Rake::RDocTask.new do |rdoc|
49
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
50
-
51
- rdoc.rdoc_dir = 'rdoc'
52
- rdoc.title = "easy_captcha #{version}"
53
- rdoc.rdoc_files.include('README*')
54
- rdoc.rdoc_files.include('lib/**/*.rb')
55
- end
33
+ require 'yard'
34
+ YARD::Rake::YardocTask.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.1
1
+ 0.4.2
data/easy_captcha.gemspec CHANGED
@@ -5,13 +5,13 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{easy_captcha}
8
- s.version = "0.4.1"
8
+ s.version = "0.4.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Marco Scholl"]
12
- s.date = %q{2011-01-27}
12
+ s.date = %q{2011-06-07}
13
13
  s.description = %q{Captcha-Plugin for Rails}
14
- s.email = %q{develop@marco-scholl.de}
14
+ s.email = %q{team@phatworx.de}
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
17
17
  "README.rdoc"
@@ -42,10 +42,10 @@ Gem::Specification.new do |s|
42
42
  "spec/spec.opts",
43
43
  "spec/spec_helper.rb"
44
44
  ]
45
- s.homepage = %q{http://github.com/traxanos/easy_captcha}
45
+ s.homepage = %q{http://github.com/phatworx/easy_captcha}
46
46
  s.licenses = ["MIT"]
47
47
  s.require_paths = ["lib"]
48
- s.rubygems_version = %q{1.3.7}
48
+ s.rubygems_version = %q{1.6.2}
49
49
  s.summary = %q{Captcha-Plugin for Rails}
50
50
  s.test_files = [
51
51
  "spec/easy_captcha_spec.rb",
@@ -53,34 +53,33 @@ Gem::Specification.new do |s|
53
53
  ]
54
54
 
55
55
  if s.respond_to? :specification_version then
56
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
57
56
  s.specification_version = 3
58
57
 
59
58
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
60
- s.add_runtime_dependency(%q<rails>, [">= 3.0.0"])
59
+ s.add_runtime_dependency(%q<rails>, ["~> 3.0.0"])
61
60
  s.add_runtime_dependency(%q<rmagick>, [">= 0"])
62
61
  s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
63
- s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"])
64
- s.add_development_dependency(%q<cover_me>, [">= 0"])
65
- s.add_runtime_dependency(%q<rails>, [">= 3.0.0"])
66
- s.add_runtime_dependency(%q<rmagick>, [">= 0"])
62
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
63
+ s.add_development_dependency(%q<simplecov>, [">= 0.3.8"])
64
+ s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
65
+ s.add_development_dependency(%q<yard>, ["~> 0.6.0"])
67
66
  else
68
- s.add_dependency(%q<rails>, [">= 3.0.0"])
67
+ s.add_dependency(%q<rails>, ["~> 3.0.0"])
69
68
  s.add_dependency(%q<rmagick>, [">= 0"])
70
69
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
71
- s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
72
- s.add_dependency(%q<cover_me>, [">= 0"])
73
- s.add_dependency(%q<rails>, [">= 3.0.0"])
74
- s.add_dependency(%q<rmagick>, [">= 0"])
70
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
71
+ s.add_dependency(%q<simplecov>, [">= 0.3.8"])
72
+ s.add_dependency(%q<rspec>, ["~> 2.3.0"])
73
+ s.add_dependency(%q<yard>, ["~> 0.6.0"])
75
74
  end
76
75
  else
77
- s.add_dependency(%q<rails>, [">= 3.0.0"])
76
+ s.add_dependency(%q<rails>, ["~> 3.0.0"])
78
77
  s.add_dependency(%q<rmagick>, [">= 0"])
79
78
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
80
- s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
81
- s.add_dependency(%q<cover_me>, [">= 0"])
82
- s.add_dependency(%q<rails>, [">= 3.0.0"])
83
- s.add_dependency(%q<rmagick>, [">= 0"])
79
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
80
+ s.add_dependency(%q<simplecov>, [">= 0.3.8"])
81
+ s.add_dependency(%q<rspec>, ["~> 2.3.0"])
82
+ s.add_dependency(%q<yard>, ["~> 0.6.0"])
84
83
  end
85
84
  end
86
85
 
@@ -4,7 +4,7 @@ module EasyCaptcha
4
4
 
5
5
  def self.included(base) #:nodoc:
6
6
  base.class_eval do
7
- helper_method :valid_captcha?
7
+ helper_method :valid_captcha?, :captcha_valid?
8
8
  end
9
9
  end
10
10
 
@@ -46,10 +46,11 @@ module EasyCaptcha
46
46
  end
47
47
 
48
48
  # validate given captcha code and re
49
- def valid_captcha?(code)
49
+ def captcha_valid?(code)
50
50
  return false if session[:captcha].blank? or code.blank?
51
51
  session[:captcha].to_s.upcase == code.to_s.upcase
52
52
  end
53
+ alias_method :valid_captcha?, :captcha_valid?
53
54
 
54
55
  # reset the captcha code in session for security after each request
55
56
  def reset_last_captcha_code!
@@ -20,9 +20,10 @@ module EasyCaptcha
20
20
  end
21
21
 
22
22
  # validate captcha
23
- def valid_captcha?
23
+ def captcha_valid?
24
24
  errors.add(:captcha, :invalid) if @captcha.blank? or @captcha_verification.blank? or @captcha.to_s.upcase != @captcha_verification.to_s.upcase
25
25
  end
26
+ alias_method :valid_captcha?, :captcha_valid?
26
27
  end
27
28
  end
28
29
  end
@@ -1,7 +1,116 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
2
 
3
- describe "EasyCaptcha" do
4
- it "fails" do
5
- #fail "hey buddy, you should probably rename this file and start specing for real"
3
+ describe EasyCaptcha do
4
+
5
+ describe :setup do
6
+ EasyCaptcha.setup do |config|
7
+ # Cache
8
+ config.cache = false
9
+
10
+ # Chars
11
+ config.chars = %w(2 3 4 5 6 7 9 A C D E F G H J K L M N P Q R S T U X Y Z)
12
+
13
+ # Length
14
+ config.length = 6
15
+
16
+ # Image
17
+ config.image_height = 40
18
+ config.image_width = 140
19
+
20
+ # configure generator
21
+ config.generator :default do |generator|
22
+
23
+ # Font
24
+ generator.font_size = 24
25
+ generator.font_fill_color = '#333333'
26
+ generator.font_stroke_color = '#000000'
27
+ generator.font_stroke = 0
28
+ generator.font_family = File.expand_path('../../resources/afont.ttf', __FILE__)
29
+
30
+ generator.image_background_color = "#FFFFFF"
31
+
32
+ # Wave
33
+ generator.wave = true
34
+ generator.wave_length = (60..100)
35
+ generator.wave_amplitude = (3..5)
36
+
37
+ # Sketch
38
+ generator.sketch = true
39
+ generator.sketch_radius = 3
40
+ generator.sketch_sigma = 1
41
+
42
+ # Implode
43
+ generator.implode = 0.1
44
+
45
+ # Blur
46
+ generator.blur = true
47
+ generator.blur_radius = 1
48
+ generator.blur_sigma = 2
49
+ end
50
+ end
51
+
52
+ it "sould not cache" do
53
+ EasyCaptcha.cache?.should be_false
54
+ end
55
+
56
+ it "should have default generator" do
57
+ EasyCaptcha.generator.should be_an(EasyCaptcha::Generator::Default)
58
+ end
59
+
60
+ describe :depracations do
61
+ before do
62
+ EasyCaptcha.setup do |config|
63
+ # Length
64
+ config.length = 6
65
+
66
+ # Image
67
+ config.image_height = 40
68
+ config.image_width = 140
69
+
70
+ # Font
71
+ config.font_size = 24
72
+ config.font_fill_color = '#333333'
73
+ config.font_stroke_color = '#000000'
74
+ config.font_stroke = 0
75
+ config.font_family = File.expand_path('../../resources/afont.ttf', __FILE__)
76
+
77
+ config.image_background_color = "#FFFFFF"
78
+
79
+ # Wave
80
+ config.wave = true
81
+ config.wave_length = (60..100)
82
+ config.wave_amplitude = (3..5)
83
+
84
+ # Sketch
85
+ config.sketch = true
86
+ config.sketch_radius = 3
87
+ config.sketch_sigma = 1
88
+
89
+ # Implode
90
+ config.implode = 0.1
91
+
92
+ # Blur
93
+ config.blur = true
94
+ config.blur_radius = 1
95
+ config.blur_sigma = 2
96
+ end
97
+ end
98
+
99
+ it "get config" do
100
+ [
101
+ :font_size, :font_fill_color, :font_family, :font_stroke, :font_stroke_color,
102
+ :image_background_color, :sketch, :sketch_radius, :sketch_sigma, :wave,
103
+ :wave_length, :wave_amplitude, :implode, :blur, :blur_radius, :blur_sigma
104
+ ].each do |method|
105
+ EasyCaptcha.send("#{method}").should_not be_nil
106
+ end
107
+ end
108
+
109
+ it "method_missing should call normal on non depracations" do
110
+ lambda { EasyCaptcha.send("a_missing_method") }.should raise_error
111
+ end
112
+ end
113
+
6
114
  end
115
+
7
116
  end
data/spec/spec_helper.rb CHANGED
@@ -1,9 +1,14 @@
1
- $LOAD_PATH.unshift(File.dirname(__FILE__))
2
1
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
3
+ require 'simplecov'
4
+ SimpleCov.start 'rails'
5
+ require 'rspec'
3
6
  require 'easy_captcha'
4
- require 'spec'
5
- require 'spec/autorun'
6
7
 
7
- Spec::Runner.configure do |config|
8
-
8
+ # Requires supporting files with custom matchers and macros, etc,
9
+ # in ./support/ and its subdirectories.
10
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
11
+
12
+ RSpec.configure do |config|
13
+
9
14
  end
metadata CHANGED
@@ -1,131 +1,102 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: easy_captcha
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 4
8
- - 1
9
- version: 0.4.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.2
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Marco Scholl
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2011-01-27 00:00:00 +01:00
12
+ date: 2011-06-07 00:00:00.000000000 +02:00
18
13
  default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
21
16
  name: rails
22
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: &12696620 !ruby/object:Gem::Requirement
23
18
  none: false
24
- requirements:
25
- - - ">="
26
- - !ruby/object:Gem::Version
27
- segments:
28
- - 3
29
- - 0
30
- - 0
19
+ requirements:
20
+ - - ~>
21
+ - !ruby/object:Gem::Version
31
22
  version: 3.0.0
32
23
  type: :runtime
33
24
  prerelease: false
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
25
+ version_requirements: *12696620
26
+ - !ruby/object:Gem::Dependency
36
27
  name: rmagick
37
- requirement: &id002 !ruby/object:Gem::Requirement
28
+ requirement: &12696040 !ruby/object:Gem::Requirement
38
29
  none: false
39
- requirements:
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- segments:
43
- - 0
44
- version: "0"
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
45
34
  type: :runtime
46
35
  prerelease: false
47
- version_requirements: *id002
48
- - !ruby/object:Gem::Dependency
36
+ version_requirements: *12696040
37
+ - !ruby/object:Gem::Dependency
49
38
  name: bundler
50
- requirement: &id003 !ruby/object:Gem::Requirement
39
+ requirement: &12695460 !ruby/object:Gem::Requirement
51
40
  none: false
52
- requirements:
41
+ requirements:
53
42
  - - ~>
54
- - !ruby/object:Gem::Version
55
- segments:
56
- - 1
57
- - 0
58
- - 0
43
+ - !ruby/object:Gem::Version
59
44
  version: 1.0.0
60
45
  type: :development
61
46
  prerelease: false
62
- version_requirements: *id003
63
- - !ruby/object:Gem::Dependency
47
+ version_requirements: *12695460
48
+ - !ruby/object:Gem::Dependency
64
49
  name: jeweler
65
- requirement: &id004 !ruby/object:Gem::Requirement
50
+ requirement: &12694680 !ruby/object:Gem::Requirement
66
51
  none: false
67
- requirements:
52
+ requirements:
68
53
  - - ~>
69
- - !ruby/object:Gem::Version
70
- segments:
71
- - 1
72
- - 5
73
- - 1
74
- version: 1.5.1
54
+ - !ruby/object:Gem::Version
55
+ version: 1.5.2
75
56
  type: :development
76
57
  prerelease: false
77
- version_requirements: *id004
78
- - !ruby/object:Gem::Dependency
79
- name: cover_me
80
- requirement: &id005 !ruby/object:Gem::Requirement
58
+ version_requirements: *12694680
59
+ - !ruby/object:Gem::Dependency
60
+ name: simplecov
61
+ requirement: &12693820 !ruby/object:Gem::Requirement
81
62
  none: false
82
- requirements:
83
- - - ">="
84
- - !ruby/object:Gem::Version
85
- segments:
86
- - 0
87
- version: "0"
63
+ requirements:
64
+ - - ! '>='
65
+ - !ruby/object:Gem::Version
66
+ version: 0.3.8
88
67
  type: :development
89
68
  prerelease: false
90
- version_requirements: *id005
91
- - !ruby/object:Gem::Dependency
92
- name: rails
93
- requirement: &id006 !ruby/object:Gem::Requirement
69
+ version_requirements: *12693820
70
+ - !ruby/object:Gem::Dependency
71
+ name: rspec
72
+ requirement: &12693040 !ruby/object:Gem::Requirement
94
73
  none: false
95
- requirements:
96
- - - ">="
97
- - !ruby/object:Gem::Version
98
- segments:
99
- - 3
100
- - 0
101
- - 0
102
- version: 3.0.0
103
- type: :runtime
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 2.3.0
78
+ type: :development
104
79
  prerelease: false
105
- version_requirements: *id006
106
- - !ruby/object:Gem::Dependency
107
- name: rmagick
108
- requirement: &id007 !ruby/object:Gem::Requirement
80
+ version_requirements: *12693040
81
+ - !ruby/object:Gem::Dependency
82
+ name: yard
83
+ requirement: &12692040 !ruby/object:Gem::Requirement
109
84
  none: false
110
- requirements:
111
- - - ">="
112
- - !ruby/object:Gem::Version
113
- segments:
114
- - 0
115
- version: "0"
116
- type: :runtime
85
+ requirements:
86
+ - - ~>
87
+ - !ruby/object:Gem::Version
88
+ version: 0.6.0
89
+ type: :development
117
90
  prerelease: false
118
- version_requirements: *id007
91
+ version_requirements: *12692040
119
92
  description: Captcha-Plugin for Rails
120
- email: develop@marco-scholl.de
93
+ email: team@phatworx.de
121
94
  executables: []
122
-
123
95
  extensions: []
124
-
125
- extra_rdoc_files:
96
+ extra_rdoc_files:
126
97
  - LICENSE.txt
127
98
  - README.rdoc
128
- files:
99
+ files:
129
100
  - Gemfile
130
101
  - Gemfile.lock
131
102
  - LICENSE.txt
@@ -151,38 +122,34 @@ files:
151
122
  - spec/spec.opts
152
123
  - spec/spec_helper.rb
153
124
  has_rdoc: true
154
- homepage: http://github.com/traxanos/easy_captcha
155
- licenses:
125
+ homepage: http://github.com/phatworx/easy_captcha
126
+ licenses:
156
127
  - MIT
157
128
  post_install_message:
158
129
  rdoc_options: []
159
-
160
- require_paths:
130
+ require_paths:
161
131
  - lib
162
- required_ruby_version: !ruby/object:Gem::Requirement
132
+ required_ruby_version: !ruby/object:Gem::Requirement
163
133
  none: false
164
- requirements:
165
- - - ">="
166
- - !ruby/object:Gem::Version
167
- hash: 465524661579164899
168
- segments:
134
+ requirements:
135
+ - - ! '>='
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ segments:
169
139
  - 0
170
- version: "0"
171
- required_rubygems_version: !ruby/object:Gem::Requirement
140
+ hash: 4431429861703401670
141
+ required_rubygems_version: !ruby/object:Gem::Requirement
172
142
  none: false
173
- requirements:
174
- - - ">="
175
- - !ruby/object:Gem::Version
176
- segments:
177
- - 0
178
- version: "0"
143
+ requirements:
144
+ - - ! '>='
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
179
147
  requirements: []
180
-
181
148
  rubyforge_project:
182
- rubygems_version: 1.3.7
149
+ rubygems_version: 1.6.2
183
150
  signing_key:
184
151
  specification_version: 3
185
152
  summary: Captcha-Plugin for Rails
186
- test_files:
153
+ test_files:
187
154
  - spec/easy_captcha_spec.rb
188
155
  - spec/spec_helper.rb