easy_captcha 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
data/easy_captcha.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{easy_captcha}
8
- s.version = "0.1.3"
8
+ s.version = "0.1.4"
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"]
@@ -23,16 +23,15 @@ Gem::Specification.new do |s|
23
23
  "VERSION",
24
24
  "easy_captcha.gemspec",
25
25
  "init.rb",
26
- "install.rb",
27
26
  "lib/easy_captcha.rb",
28
27
  "lib/easy_captcha/captcha.rb",
29
28
  "lib/easy_captcha/controller.rb",
30
29
  "lib/easy_captcha/controller_helpers.rb",
31
30
  "lib/easy_captcha/view_helpers.rb",
32
31
  "resources/captcha.ttf",
33
- "test/easy_captcha_test.rb",
34
- "test/test_helper.rb",
35
- "uninstall.rb"
32
+ "spec/easy_captcha_spec.rb",
33
+ "spec/spec.opts",
34
+ "spec/spec_helper.rb"
36
35
  ]
37
36
  s.homepage = %q{http://github.com/traxanos/easy_captcha}
38
37
  s.rdoc_options = ["--charset=UTF-8"]
@@ -40,8 +39,8 @@ Gem::Specification.new do |s|
40
39
  s.rubygems_version = %q{1.3.7}
41
40
  s.summary = %q{Captcha-Plugin for Rails}
42
41
  s.test_files = [
43
- "test/easy_captcha_test.rb",
44
- "test/test_helper.rb"
42
+ "spec/easy_captcha_spec.rb",
43
+ "spec/spec_helper.rb"
45
44
  ]
46
45
 
47
46
  if s.respond_to? :specification_version then
data/lib/easy_captcha.rb CHANGED
@@ -1,4 +1,6 @@
1
- require 'active_support'
1
+ require 'rails'
2
+ require 'action_controller'
3
+
2
4
  # Captcha-Plugin for Rails
3
5
  module EasyCaptcha
4
6
  autoload :Captcha, 'easy_captcha/captcha'
@@ -0,0 +1,7 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+
3
+ describe "EasyCaptcha" do
4
+ it "fails" do
5
+ #fail "hey buddy, you should probably rename this file and start specing for real"
6
+ end
7
+ end
data/spec/spec.opts ADDED
@@ -0,0 +1 @@
1
+ --color
@@ -0,0 +1,9 @@
1
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
2
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
3
+ require 'easy_captcha'
4
+ require 'spec'
5
+ require 'spec/autorun'
6
+
7
+ Spec::Runner.configure do |config|
8
+
9
+ end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 3
9
- version: 0.1.3
8
+ - 4
9
+ version: 0.1.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Marco Scholl
@@ -76,16 +76,15 @@ files:
76
76
  - VERSION
77
77
  - easy_captcha.gemspec
78
78
  - init.rb
79
- - install.rb
80
79
  - lib/easy_captcha.rb
81
80
  - lib/easy_captcha/captcha.rb
82
81
  - lib/easy_captcha/controller.rb
83
82
  - lib/easy_captcha/controller_helpers.rb
84
83
  - lib/easy_captcha/view_helpers.rb
85
84
  - resources/captcha.ttf
86
- - test/easy_captcha_test.rb
87
- - test/test_helper.rb
88
- - uninstall.rb
85
+ - spec/easy_captcha_spec.rb
86
+ - spec/spec.opts
87
+ - spec/spec_helper.rb
89
88
  has_rdoc: true
90
89
  homepage: http://github.com/traxanos/easy_captcha
91
90
  licenses: []
@@ -119,5 +118,5 @@ signing_key:
119
118
  specification_version: 3
120
119
  summary: Captcha-Plugin for Rails
121
120
  test_files:
122
- - test/easy_captcha_test.rb
123
- - test/test_helper.rb
121
+ - spec/easy_captcha_spec.rb
122
+ - spec/spec_helper.rb
data/install.rb DELETED
File without changes
@@ -1,8 +0,0 @@
1
- require 'test_helper'
2
-
3
- class EasyCaptchaTest < ActiveSupport::TestCase
4
- # Replace this with your real tests.
5
- test "the truth" do
6
- assert true
7
- end
8
- end
data/test/test_helper.rb DELETED
@@ -1,3 +0,0 @@
1
- require 'rubygems'
2
- require 'test/unit'
3
- require 'active_support'
data/uninstall.rb DELETED
File without changes