easy_captcha 0.6.4 → 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d4b4cd64f6afe57557da86b631154a0b18be4cd8
4
- data.tar.gz: 0e70999850af752841bd0f697d1fe5220c0f5031
3
+ metadata.gz: 5d677d4f711f8c85c5ad9c1eab34f214e70de508
4
+ data.tar.gz: 472562770ddff03f0f84fb67eb5d0ed873183114
5
5
  SHA512:
6
- metadata.gz: 84896042be3aafd978e24755cbf0183ebc33bb608d9ef9774c9d984a6251500ad4a883519a8948f01feb5c14f910b19b7b1d76292b0e533a23f932beeecc8469
7
- data.tar.gz: 540b371f38cc1f89d2712d5c811d8e625dd2ed726d4d718f0250ea97f5a324f73c0624ec69b0f786ebb6d785e696da37a5862959f679497c93d6c665db713069
6
+ metadata.gz: 90c942e04a357cf9c84ec1348af37785cc43bf60d9ea7af2f687e2ab54079f9ccec4cad2e7051aba272151936a846aa69d89375eb3a94602d374eb67edb0a832
7
+ data.tar.gz: db59832dcd59c726dc2de7b713a53a8570b33fc927b4621c4f258a07b3ee14ad6462591bfdb58b50ec9aa9f5fc3c817a7ca2cc987fbdb8cef406031bb505fede
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- easy_captcha (0.6.4)
4
+ easy_captcha (0.6.5)
5
5
  bundler (>= 1.1.0)
6
6
  rails (>= 3.0.0)
7
7
  rmagick (>= 2.13.1)
@@ -12,98 +12,127 @@ PATH
12
12
  GEM
13
13
  remote: http://rubygems.org/
14
14
  specs:
15
- actionmailer (4.0.0)
16
- actionpack (= 4.0.0)
17
- mail (~> 2.5.3)
18
- actionpack (4.0.0)
19
- activesupport (= 4.0.0)
20
- builder (~> 3.1.0)
21
- erubis (~> 2.7.0)
22
- rack (~> 1.5.2)
15
+ actionmailer (4.2.3)
16
+ actionpack (= 4.2.3)
17
+ actionview (= 4.2.3)
18
+ activejob (= 4.2.3)
19
+ mail (~> 2.5, >= 2.5.4)
20
+ rails-dom-testing (~> 1.0, >= 1.0.5)
21
+ actionpack (4.2.3)
22
+ actionview (= 4.2.3)
23
+ activesupport (= 4.2.3)
24
+ rack (~> 1.6)
23
25
  rack-test (~> 0.6.2)
24
- activemodel (4.0.0)
25
- activesupport (= 4.0.0)
26
- builder (~> 3.1.0)
27
- activerecord (4.0.0)
28
- activemodel (= 4.0.0)
29
- activerecord-deprecated_finders (~> 1.0.2)
30
- activesupport (= 4.0.0)
31
- arel (~> 4.0.0)
32
- activerecord-deprecated_finders (1.0.3)
33
- activesupport (4.0.0)
34
- i18n (~> 0.6, >= 0.6.4)
35
- minitest (~> 4.2)
36
- multi_json (~> 1.3)
37
- thread_safe (~> 0.1)
38
- tzinfo (~> 0.3.37)
39
- arel (4.0.0)
40
- atomic (1.1.10)
41
- builder (3.1.4)
42
- diff-lcs (1.2.4)
26
+ rails-dom-testing (~> 1.0, >= 1.0.5)
27
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
28
+ actionview (4.2.3)
29
+ activesupport (= 4.2.3)
30
+ builder (~> 3.1)
31
+ erubis (~> 2.7.0)
32
+ rails-dom-testing (~> 1.0, >= 1.0.5)
33
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
34
+ activejob (4.2.3)
35
+ activesupport (= 4.2.3)
36
+ globalid (>= 0.3.0)
37
+ activemodel (4.2.3)
38
+ activesupport (= 4.2.3)
39
+ builder (~> 3.1)
40
+ activerecord (4.2.3)
41
+ activemodel (= 4.2.3)
42
+ activesupport (= 4.2.3)
43
+ arel (~> 6.0)
44
+ activesupport (4.2.3)
45
+ i18n (~> 0.7)
46
+ json (~> 1.7, >= 1.7.7)
47
+ minitest (~> 5.1)
48
+ thread_safe (~> 0.3, >= 0.3.4)
49
+ tzinfo (~> 1.1)
50
+ arel (6.0.3)
51
+ builder (3.2.2)
52
+ diff-lcs (1.2.5)
53
+ docile (1.1.5)
43
54
  erubis (2.7.0)
44
- hike (1.2.3)
45
- i18n (0.6.4)
46
- mail (2.5.4)
47
- mime-types (~> 1.16)
48
- treetop (~> 1.4.8)
49
- mime-types (1.23)
50
- minitest (4.7.5)
51
- multi_json (1.7.7)
52
- polyglot (0.3.3)
53
- rack (1.5.2)
54
- rack-test (0.6.2)
55
+ globalid (0.3.6)
56
+ activesupport (>= 4.1.0)
57
+ i18n (0.7.0)
58
+ json (1.8.3)
59
+ loofah (2.0.2)
60
+ nokogiri (>= 1.5.9)
61
+ mail (2.6.3)
62
+ mime-types (>= 1.16, < 3)
63
+ mime-types (2.6.1)
64
+ mini_portile (0.6.2)
65
+ minitest (5.8.0)
66
+ nokogiri (1.6.6.2)
67
+ mini_portile (~> 0.6.0)
68
+ rack (1.6.4)
69
+ rack-test (0.6.3)
55
70
  rack (>= 1.0)
56
- rails (4.0.0)
57
- actionmailer (= 4.0.0)
58
- actionpack (= 4.0.0)
59
- activerecord (= 4.0.0)
60
- activesupport (= 4.0.0)
71
+ rails (4.2.3)
72
+ actionmailer (= 4.2.3)
73
+ actionpack (= 4.2.3)
74
+ actionview (= 4.2.3)
75
+ activejob (= 4.2.3)
76
+ activemodel (= 4.2.3)
77
+ activerecord (= 4.2.3)
78
+ activesupport (= 4.2.3)
61
79
  bundler (>= 1.3.0, < 2.0)
62
- railties (= 4.0.0)
63
- sprockets-rails (~> 2.0.0)
64
- railties (4.0.0)
65
- actionpack (= 4.0.0)
66
- activesupport (= 4.0.0)
80
+ railties (= 4.2.3)
81
+ sprockets-rails
82
+ rails-deprecated_sanitizer (1.0.3)
83
+ activesupport (>= 4.2.0.alpha)
84
+ rails-dom-testing (1.0.6)
85
+ activesupport (>= 4.2.0.beta, < 5.0)
86
+ nokogiri (~> 1.6.0)
87
+ rails-deprecated_sanitizer (>= 1.0.1)
88
+ rails-html-sanitizer (1.0.2)
89
+ loofah (~> 2.0)
90
+ railties (4.2.3)
91
+ actionpack (= 4.2.3)
92
+ activesupport (= 4.2.3)
67
93
  rake (>= 0.8.7)
68
94
  thor (>= 0.18.1, < 2.0)
69
- rake (10.1.0)
70
- rmagick (2.13.2)
71
- rspec-core (2.14.4)
72
- rspec-expectations (2.14.0)
73
- diff-lcs (>= 1.1.3, < 2.0)
74
- rspec-mocks (2.14.1)
75
- rspec-rails (2.14.0)
76
- actionpack (>= 3.0)
77
- activesupport (>= 3.0)
78
- railties (>= 3.0)
79
- rspec-core (~> 2.14.0)
80
- rspec-expectations (~> 2.14.0)
81
- rspec-mocks (~> 2.14.0)
82
- simplecov (0.7.1)
83
- multi_json (~> 1.0)
84
- simplecov-html (~> 0.7.1)
85
- simplecov-html (0.7.1)
86
- sprockets (2.10.0)
87
- hike (~> 1.2)
88
- multi_json (~> 1.0)
95
+ rake (10.4.2)
96
+ rmagick (2.15.3)
97
+ rspec-core (3.3.2)
98
+ rspec-support (~> 3.3.0)
99
+ rspec-expectations (3.3.1)
100
+ diff-lcs (>= 1.2.0, < 2.0)
101
+ rspec-support (~> 3.3.0)
102
+ rspec-mocks (3.3.2)
103
+ diff-lcs (>= 1.2.0, < 2.0)
104
+ rspec-support (~> 3.3.0)
105
+ rspec-rails (3.3.3)
106
+ actionpack (>= 3.0, < 4.3)
107
+ activesupport (>= 3.0, < 4.3)
108
+ railties (>= 3.0, < 4.3)
109
+ rspec-core (~> 3.3.0)
110
+ rspec-expectations (~> 3.3.0)
111
+ rspec-mocks (~> 3.3.0)
112
+ rspec-support (~> 3.3.0)
113
+ rspec-support (3.3.0)
114
+ simplecov (0.10.0)
115
+ docile (~> 1.1.0)
116
+ json (~> 1.8)
117
+ simplecov-html (~> 0.10.0)
118
+ simplecov-html (0.10.0)
119
+ sprockets (3.3.0)
89
120
  rack (~> 1.0)
90
- tilt (~> 1.1, != 1.3.0)
91
- sprockets-rails (2.0.0)
121
+ sprockets-rails (2.3.2)
92
122
  actionpack (>= 3.0)
93
123
  activesupport (>= 3.0)
94
- sprockets (~> 2.8)
95
- thor (0.18.1)
96
- thread_safe (0.1.0)
97
- atomic
98
- tilt (1.4.1)
99
- treetop (1.4.14)
100
- polyglot
101
- polyglot (>= 0.3.1)
102
- tzinfo (0.3.37)
103
- yard (0.8.6.2)
124
+ sprockets (>= 2.8, < 4.0)
125
+ thor (0.19.1)
126
+ thread_safe (0.3.5)
127
+ tzinfo (1.2.2)
128
+ thread_safe (~> 0.1)
129
+ yard (0.8.7.6)
104
130
 
105
131
  PLATFORMS
106
132
  ruby
107
133
 
108
134
  DEPENDENCIES
109
135
  easy_captcha!
136
+
137
+ BUNDLED WITH
138
+ 1.10.3
data/Rakefile CHANGED
@@ -1,6 +1,8 @@
1
- require "bundler/gem_tasks"
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+ RSpec::Core::RakeTask.new(:spec)
2
4
 
3
- task :default => :spec
5
+ task default: :spec
4
6
 
5
7
  require 'yard'
6
- YARD::Rake::YardocTask.new
8
+ YARD::Rake::YardocTask.new
@@ -1,4 +1,3 @@
1
- require 'RMagick'
2
1
  require 'rails'
3
2
  require 'action_controller'
4
3
  require 'active_record'
@@ -8,7 +7,7 @@ require 'active_support'
8
7
  module EasyCaptcha
9
8
  autoload :Espeak, 'easy_captcha/espeak'
10
9
  autoload :Captcha, 'easy_captcha/captcha'
11
- autoload :Controller, 'easy_captcha/controller'
10
+ autoload :CaptchaController, 'easy_captcha/captcha_controller'
12
11
  autoload :ModelHelpers, 'easy_captcha/model_helpers'
13
12
  autoload :ViewHelpers, 'easy_captcha/view_helpers'
14
13
  autoload :ControllerHelpers, 'easy_captcha/controller_helpers'
@@ -1,6 +1,6 @@
1
1
  module EasyCaptcha
2
2
  # captcha controller
3
- class Controller < ActionController::Base
3
+ class CaptchaController < ActionController::Base
4
4
  before_filter :overwrite_cache_control
5
5
  # captcha action send the generated image to browser
6
6
  def captcha
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+
2
3
  module EasyCaptcha
3
4
  module Generator
4
5
 
@@ -9,7 +10,7 @@ module EasyCaptcha
9
10
  def defaults
10
11
  @font_size = 24
11
12
  @font_fill_color = '#333333'
12
- @font = File.expand_path('../../../../resources/captcha.ttf', __FILE__)
13
+ @font = File.expand_path('../../../../resources/captcha.ttf', __FILE__)
13
14
  @font_stroke = '#000000'
14
15
  @font_stroke_color = 0
15
16
  @image_background_color = '#FFFFFF'
@@ -57,6 +58,8 @@ module EasyCaptcha
57
58
 
58
59
  # generate image
59
60
  def generate(code)
61
+ require 'rmagick' unless defined?(Magick)
62
+
60
63
  config = self
61
64
  canvas = Magick::Image.new(EasyCaptcha.image_width, EasyCaptcha.image_height) do |variable|
62
65
  self.background_color = config.image_background_color unless config.image_background_color.nil?
@@ -66,7 +69,7 @@ module EasyCaptcha
66
69
  # Render the text in the image
67
70
  canvas.annotate(Magick::Draw.new, 0, 0, 0, 0, code) {
68
71
  self.gravity = Magick::CenterGravity
69
- self.font = config.font
72
+ self.font = config.font
70
73
  self.font_weight = Magick::LighterWeight
71
74
  self.fill = config.font_fill_color
72
75
  if config.font_stroke.to_i > 0
@@ -101,7 +104,7 @@ module EasyCaptcha
101
104
 
102
105
  image = background.to_blob { self.format = 'PNG' }
103
106
  else
104
- image = canvas.to_blob { self.format = 'PNG' }
107
+ image = canvas.to_blob { self.format = 'PNG' }
105
108
  end
106
109
 
107
110
  # ruby-1.9
@@ -3,7 +3,7 @@ module ActionDispatch #:nodoc:
3
3
  class Mapper #:nodoc:
4
4
  # call to add default captcha root
5
5
  def captcha_route
6
- match 'captcha' => EasyCaptcha::Controller, :action => :captcha, :via => :get
6
+ match 'captcha' => 'easy_captcha/captcha#captcha', :via => :get
7
7
  end
8
8
  end
9
9
  end
@@ -1,3 +1,3 @@
1
1
  module EasyCaptcha
2
- VERSION = '0.6.4'
2
+ VERSION = '0.6.5'
3
3
  end
@@ -1,59 +1,57 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
2
 
3
3
  describe EasyCaptcha do
4
-
5
4
  describe :setup do
6
5
  EasyCaptcha.setup do |config|
7
6
  # Cache
8
- config.cache = false
7
+ config.cache = false
9
8
 
10
9
  # 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)
10
+ 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
11
 
13
12
  # Length
14
- config.length = 6
13
+ config.length = 6
15
14
 
16
15
  # Image
17
16
  config.image_height = 40
18
- config.image_width = 140
17
+ config.image_width = 140
19
18
 
20
19
  # configure generator
21
20
  config.generator :default do |generator|
22
-
23
21
  # 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__)
22
+ generator.font_size = 24
23
+ generator.font_fill_color = '#333333'
24
+ generator.font_stroke_color = '#000000'
25
+ generator.font_stroke = 0
26
+ generator.font_family = File.expand_path('../../resources/afont.ttf', __FILE__)
29
27
 
30
- generator.image_background_color = "#FFFFFF"
28
+ generator.image_background_color = '#FFFFFF'
31
29
 
32
30
  # Wave
33
- generator.wave = true
34
- generator.wave_length = (60..100)
35
- generator.wave_amplitude = (3..5)
31
+ generator.wave = true
32
+ generator.wave_length = (60..100)
33
+ generator.wave_amplitude = (3..5)
36
34
 
37
35
  # Sketch
38
- generator.sketch = true
39
- generator.sketch_radius = 3
40
- generator.sketch_sigma = 1
36
+ generator.sketch = true
37
+ generator.sketch_radius = 3
38
+ generator.sketch_sigma = 1
41
39
 
42
40
  # Implode
43
- generator.implode = 0.1
41
+ generator.implode = 0.1
44
42
 
45
43
  # Blur
46
- generator.blur = true
47
- generator.blur_radius = 1
48
- generator.blur_sigma = 2
44
+ generator.blur = true
45
+ generator.blur_radius = 1
46
+ generator.blur_sigma = 2
49
47
  end
50
48
  end
51
49
 
52
- it "sould not cache" do
50
+ it 'sould not cache' do
53
51
  EasyCaptcha.cache?.should be_false
54
52
  end
55
53
 
56
- it "should have default generator" do
54
+ it 'should have default generator' do
57
55
  EasyCaptcha.generator.should be_an(EasyCaptcha::Generator::Default)
58
56
  end
59
57
 
@@ -61,56 +59,56 @@ describe EasyCaptcha do
61
59
  before do
62
60
  EasyCaptcha.setup do |config|
63
61
  # Length
64
- config.length = 6
62
+ config.length = 6
65
63
 
66
64
  # 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
65
+ config.image_height = 40
66
+ config.image_width = 140
67
+
68
+ config.generator :default do |generator|
69
+ # Font
70
+ generator.font_size = 24
71
+ generator.font_fill_color = '#333333'
72
+ generator.font_stroke_color = '#000000'
73
+ generator.font_stroke = 0
74
+ generator.font_family = File.expand_path('../../resources/afont.ttf', __FILE__)
75
+
76
+ generator.image_background_color = '#FFFFFF'
77
+
78
+ # Wave
79
+ generator.wave = true
80
+ generator.wave_length = (60..100)
81
+ generator.wave_amplitude = (3..5)
82
+
83
+ # Sketch
84
+ generator.sketch = true
85
+ generator.sketch_radius = 3
86
+ generator.sketch_sigma = 1
87
+
88
+ # Implode
89
+ generator.implode = 0.1
90
+
91
+ # Blur
92
+ generator.blur = true
93
+ generator.blur_radius = 1
94
+ generator.blur_sigma = 2
95
+ end
96
96
  end
97
97
  end
98
98
 
99
- it "get config" do
99
+ it 'get config' do
100
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
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
104
  ].each do |method|
105
- EasyCaptcha.send("#{method}").should_not be_nil
105
+ EasyCaptcha.generator.send(method).should_not be_nil
106
106
  end
107
107
  end
108
108
 
109
- it "method_missing should call normal on non depracations" do
110
- lambda { EasyCaptcha.send("a_missing_method") }.should raise_error
109
+ it 'method_missing should call normal on non depracations' do
110
+ -> { EasyCaptcha.send('a_missing_method') }.should raise_error
111
111
  end
112
112
  end
113
-
114
113
  end
115
-
116
114
  end
@@ -2,23 +2,22 @@
2
2
  require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
3
3
 
4
4
  describe EasyCaptcha::Espeak do
5
- context "check default values" do
5
+ context 'check default values' do
6
6
  subject { EasyCaptcha::Espeak.new }
7
7
 
8
- its(:amplitude) { (80..120).to_a.should include(subject) }
9
- its(:pitch) { (30..70).to_a.should include(subject) }
8
+ its(:amplitude) { (80..120).should include(subject.amplitude) }
9
+ its(:pitch) { (30..70).should include(subject.pitch) }
10
10
  its(:gap) { should eq 80 }
11
11
  its(:voice) { should be_nil }
12
-
13
12
  end
14
13
 
15
- context "check config: voices" do
14
+ context 'check config: voices' do
16
15
  let(:voices) { ['german', 'german+m1'] }
17
16
  subject do
18
17
  EasyCaptcha::Espeak.new do |config|
19
18
  config.voice = voices
20
19
  end
21
20
  end
22
- its(:voice) { voices.should include(subject) }
21
+ it { voices.should include(subject.voice) }
23
22
  end
24
23
  end
@@ -5,13 +5,8 @@ begin
5
5
  SimpleCov.start 'rails'
6
6
  rescue LoadError
7
7
  end
8
- require 'rspec'
9
8
  require 'easy_captcha'
10
9
 
11
10
  # Requires supporting files with custom matchers and macros, etc,
12
11
  # in ./support/ and its subdirectories.
13
12
  Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
14
-
15
- RSpec.configure do |config|
16
-
17
- end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_captcha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.4
4
+ version: 0.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marco Scholl
@@ -15,84 +15,84 @@ dependencies:
15
15
  name: rails
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '>='
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: 3.0.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - '>='
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: 3.0.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: bundler
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - '>='
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: 1.1.0
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - '>='
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: 1.1.0
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: simplecov
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - '>='
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
48
  version: 0.3.8
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - '>='
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: 0.3.8
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: rspec-rails
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - '>='
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: 2.8.1
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - '>='
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: 2.8.1
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: yard
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - '>='
74
+ - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: 0.7.0
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: 0.7.0
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: rmagick
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - '>='
88
+ - - ">="
89
89
  - !ruby/object:Gem::Version
90
90
  version: 2.13.1
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - '>='
95
+ - - ">="
96
96
  - !ruby/object:Gem::Version
97
97
  version: 2.13.1
98
98
  description: Captcha-Plugin for Rails
@@ -103,8 +103,8 @@ extra_rdoc_files:
103
103
  - LICENSE.txt
104
104
  - README.rdoc
105
105
  files:
106
- - .gitignore
107
- - .travis.yml
106
+ - ".gitignore"
107
+ - ".travis.yml"
108
108
  - Gemfile
109
109
  - Gemfile.lock
110
110
  - LICENSE.txt
@@ -114,7 +114,7 @@ files:
114
114
  - init.rb
115
115
  - lib/easy_captcha.rb
116
116
  - lib/easy_captcha/captcha.rb
117
- - lib/easy_captcha/controller.rb
117
+ - lib/easy_captcha/captcha_controller.rb
118
118
  - lib/easy_captcha/controller_helpers.rb
119
119
  - lib/easy_captcha/espeak.rb
120
120
  - lib/easy_captcha/generator.rb
@@ -141,17 +141,17 @@ require_paths:
141
141
  - lib
142
142
  required_ruby_version: !ruby/object:Gem::Requirement
143
143
  requirements:
144
- - - '>='
144
+ - - ">="
145
145
  - !ruby/object:Gem::Version
146
146
  version: '0'
147
147
  required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  requirements:
149
- - - '>='
149
+ - - ">="
150
150
  - !ruby/object:Gem::Version
151
151
  version: '0'
152
152
  requirements: []
153
153
  rubyforge_project:
154
- rubygems_version: 2.0.3
154
+ rubygems_version: 2.4.2
155
155
  signing_key:
156
156
  specification_version: 4
157
157
  summary: Captcha-Plugin for Rails