raptcha 0.0.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README +0 -88
- data/Rakefile +364 -0
- data/image.sh +24 -0
- data/images/raptcha.png +0 -0
- data/lib/raptcha.rb +377 -2063
- metadata +56 -128
- data/bin/raptcha +0 -2225
- data/gemspec.rb +0 -28
- data/install.rb +0 -210
- data/out +0 -0
- data/rails/README +0 -182
- data/rails/Rakefile +0 -10
- data/rails/app/controllers/application.rb +0 -7
- data/rails/app/controllers/raptcha_controller.rb +0 -43
- data/rails/app/helpers/application_helper.rb +0 -3
- data/rails/config/boot.rb +0 -45
- data/rails/config/database.yml +0 -36
- data/rails/config/environment.rb +0 -62
- data/rails/config/environments/development.rb +0 -21
- data/rails/config/environments/production.rb +0 -18
- data/rails/config/environments/test.rb +0 -19
- data/rails/config/lighttpd.conf +0 -54
- data/rails/config/routes.rb +0 -23
- data/rails/doc/README_FOR_APP +0 -2
- data/rails/lib/raptcha.rb +0 -2225
- data/rails/log/development.log +0 -16
- data/rails/log/fastcgi.crash.log +0 -4
- data/rails/log/lighttpd.access.log +0 -2
- data/rails/log/lighttpd.error.log +0 -3
- data/rails/log/production.log +0 -0
- data/rails/log/server.log +0 -0
- data/rails/log/test.log +0 -0
- data/rails/public/404.html +0 -30
- data/rails/public/500.html +0 -30
- data/rails/public/dispatch.cgi +0 -10
- data/rails/public/dispatch.fcgi +0 -24
- data/rails/public/dispatch.rb +0 -10
- data/rails/public/favicon.ico +0 -0
- data/rails/public/images/rails.png +0 -0
- data/rails/public/index.html +0 -277
- data/rails/public/javascripts/application.js +0 -2
- data/rails/public/javascripts/controls.js +0 -833
- data/rails/public/javascripts/dragdrop.js +0 -942
- data/rails/public/javascripts/effects.js +0 -1088
- data/rails/public/javascripts/prototype.js +0 -2515
- data/rails/public/robots.txt +0 -1
- data/rails/script/about +0 -3
- data/rails/script/breakpointer +0 -3
- data/rails/script/console +0 -3
- data/rails/script/destroy +0 -3
- data/rails/script/generate +0 -3
- data/rails/script/performance/benchmarker +0 -3
- data/rails/script/performance/profiler +0 -3
- data/rails/script/plugin +0 -3
- data/rails/script/process/inspector +0 -3
- data/rails/script/process/reaper +0 -3
- data/rails/script/process/spawner +0 -3
- data/rails/script/runner +0 -3
- data/rails/script/server +0 -3
- data/rails/test/test_helper.rb +0 -28
- data/rails/tmp/sessions/ruby_sess.04085f44b9141c9d +0 -0
- data/raptcha-0.0.1.gem +0 -0
- data/samples.rb +0 -19
data/rails/public/robots.txt
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
# See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
|
data/rails/script/about
DELETED
data/rails/script/breakpointer
DELETED
data/rails/script/console
DELETED
data/rails/script/destroy
DELETED
data/rails/script/generate
DELETED
data/rails/script/plugin
DELETED
data/rails/script/process/reaper
DELETED
data/rails/script/runner
DELETED
data/rails/script/server
DELETED
data/rails/test/test_helper.rb
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
ENV["RAILS_ENV"] = "test"
|
2
|
-
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
|
3
|
-
require 'test_help'
|
4
|
-
|
5
|
-
class Test::Unit::TestCase
|
6
|
-
# Transactional fixtures accelerate your tests by wrapping each test method
|
7
|
-
# in a transaction that's rolled back on completion. This ensures that the
|
8
|
-
# test database remains unchanged so your fixtures don't have to be reloaded
|
9
|
-
# between every test method. Fewer database queries means faster tests.
|
10
|
-
#
|
11
|
-
# Read Mike Clark's excellent walkthrough at
|
12
|
-
# http://clarkware.com/cgi/blosxom/2005/10/24#Rails10FastTesting
|
13
|
-
#
|
14
|
-
# Every Active Record database supports transactions except MyISAM tables
|
15
|
-
# in MySQL. Turn off transactional fixtures in this case; however, if you
|
16
|
-
# don't care one way or the other, switching from MyISAM to InnoDB tables
|
17
|
-
# is recommended.
|
18
|
-
self.use_transactional_fixtures = true
|
19
|
-
|
20
|
-
# Instantiated fixtures are slow, but give you @david where otherwise you
|
21
|
-
# would need people(:david). If you don't want to migrate your existing
|
22
|
-
# test cases which use the @david style and don't mind the speed hit (each
|
23
|
-
# instantiated fixtures translates to a database query per test method),
|
24
|
-
# then set this back to true.
|
25
|
-
self.use_instantiated_fixtures = false
|
26
|
-
|
27
|
-
# Add more helper methods to be used by all tests here...
|
28
|
-
end
|
Binary file
|
data/raptcha-0.0.1.gem
DELETED
Binary file
|
data/samples.rb
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
require 'lib/raptcha'
|
2
|
-
|
3
|
-
colors = [
|
4
|
-
'springgreen',
|
5
|
-
'purple',
|
6
|
-
'blue',
|
7
|
-
'red',
|
8
|
-
'orange',
|
9
|
-
]
|
10
|
-
|
11
|
-
puts '<div style="background:black;display:table;">'
|
12
|
-
|
13
|
-
5.times do |i|
|
14
|
-
puts '<br><br>'
|
15
|
-
puts Raptcha.inline(:foreground => colors[i])
|
16
|
-
puts '<br><br>'
|
17
|
-
end
|
18
|
-
|
19
|
-
puts '</div>'
|