raptcha 0.0.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. data/README +0 -88
  2. data/Rakefile +364 -0
  3. data/image.sh +24 -0
  4. data/images/raptcha.png +0 -0
  5. data/lib/raptcha.rb +377 -2063
  6. metadata +56 -128
  7. data/bin/raptcha +0 -2225
  8. data/gemspec.rb +0 -28
  9. data/install.rb +0 -210
  10. data/out +0 -0
  11. data/rails/README +0 -182
  12. data/rails/Rakefile +0 -10
  13. data/rails/app/controllers/application.rb +0 -7
  14. data/rails/app/controllers/raptcha_controller.rb +0 -43
  15. data/rails/app/helpers/application_helper.rb +0 -3
  16. data/rails/config/boot.rb +0 -45
  17. data/rails/config/database.yml +0 -36
  18. data/rails/config/environment.rb +0 -62
  19. data/rails/config/environments/development.rb +0 -21
  20. data/rails/config/environments/production.rb +0 -18
  21. data/rails/config/environments/test.rb +0 -19
  22. data/rails/config/lighttpd.conf +0 -54
  23. data/rails/config/routes.rb +0 -23
  24. data/rails/doc/README_FOR_APP +0 -2
  25. data/rails/lib/raptcha.rb +0 -2225
  26. data/rails/log/development.log +0 -16
  27. data/rails/log/fastcgi.crash.log +0 -4
  28. data/rails/log/lighttpd.access.log +0 -2
  29. data/rails/log/lighttpd.error.log +0 -3
  30. data/rails/log/production.log +0 -0
  31. data/rails/log/server.log +0 -0
  32. data/rails/log/test.log +0 -0
  33. data/rails/public/404.html +0 -30
  34. data/rails/public/500.html +0 -30
  35. data/rails/public/dispatch.cgi +0 -10
  36. data/rails/public/dispatch.fcgi +0 -24
  37. data/rails/public/dispatch.rb +0 -10
  38. data/rails/public/favicon.ico +0 -0
  39. data/rails/public/images/rails.png +0 -0
  40. data/rails/public/index.html +0 -277
  41. data/rails/public/javascripts/application.js +0 -2
  42. data/rails/public/javascripts/controls.js +0 -833
  43. data/rails/public/javascripts/dragdrop.js +0 -942
  44. data/rails/public/javascripts/effects.js +0 -1088
  45. data/rails/public/javascripts/prototype.js +0 -2515
  46. data/rails/public/robots.txt +0 -1
  47. data/rails/script/about +0 -3
  48. data/rails/script/breakpointer +0 -3
  49. data/rails/script/console +0 -3
  50. data/rails/script/destroy +0 -3
  51. data/rails/script/generate +0 -3
  52. data/rails/script/performance/benchmarker +0 -3
  53. data/rails/script/performance/profiler +0 -3
  54. data/rails/script/plugin +0 -3
  55. data/rails/script/process/inspector +0 -3
  56. data/rails/script/process/reaper +0 -3
  57. data/rails/script/process/spawner +0 -3
  58. data/rails/script/runner +0 -3
  59. data/rails/script/server +0 -3
  60. data/rails/test/test_helper.rb +0 -28
  61. data/rails/tmp/sessions/ruby_sess.04085f44b9141c9d +0 -0
  62. data/raptcha-0.0.1.gem +0 -0
  63. data/samples.rb +0 -19
@@ -1 +0,0 @@
1
- # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../config/boot'
3
- require 'commands/about'
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../config/boot'
3
- require 'commands/breakpointer'
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../config/boot'
3
- require 'commands/console'
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../config/boot'
3
- require 'commands/destroy'
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../config/boot'
3
- require 'commands/generate'
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../../config/boot'
3
- require 'commands/performance/benchmarker'
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../../config/boot'
3
- require 'commands/performance/profiler'
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../config/boot'
3
- require 'commands/plugin'
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../../config/boot'
3
- require 'commands/process/inspector'
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../../config/boot'
3
- require 'commands/process/reaper'
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../../config/boot'
3
- require 'commands/process/spawner'
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../config/boot'
3
- require 'commands/runner'
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../config/boot'
3
- require 'commands/server'
@@ -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/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>'