borda 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. data/README +243 -0
  2. data/Rakefile +10 -0
  3. data/app/controllers/.forum_controller.rb.swp +0 -0
  4. data/app/controllers/application_controller.rb +10 -0
  5. data/app/controllers/forum_controller.rb +5 -0
  6. data/app/helpers/application_helper.rb +3 -0
  7. data/app/helpers/forum_helper.rb +2 -0
  8. data/app/views/forum/.index.html.erb.swp +0 -0
  9. data/app/views/forum/index.html.erb +1 -0
  10. data/config/boot.rb +110 -0
  11. data/config/database.yml +23 -0
  12. data/config/environment.rb +41 -0
  13. data/config/environments/development.rb +17 -0
  14. data/config/environments/production.rb +28 -0
  15. data/config/environments/test.rb +28 -0
  16. data/config/initializers/backtrace_silencers.rb +7 -0
  17. data/config/initializers/cookie_verification_secret.rb +7 -0
  18. data/config/initializers/inflections.rb +10 -0
  19. data/config/initializers/mime_types.rb +5 -0
  20. data/config/initializers/new_rails_defaults.rb +21 -0
  21. data/config/initializers/session_store.rb +15 -0
  22. data/config/locales/en.yml +5 -0
  23. data/config/routes.rb +43 -0
  24. data/db/seeds.rb +7 -0
  25. data/doc/README_FOR_APP +2 -0
  26. data/log/development.log +0 -0
  27. data/log/production.log +0 -0
  28. data/log/server.log +0 -0
  29. data/log/test.log +0 -0
  30. data/public/404.html +30 -0
  31. data/public/422.html +30 -0
  32. data/public/500.html +30 -0
  33. data/public/favicon.ico +0 -0
  34. data/public/images/rails.png +0 -0
  35. data/public/index.html +275 -0
  36. data/public/javascripts/application.js +2 -0
  37. data/public/javascripts/controls.js +963 -0
  38. data/public/javascripts/dragdrop.js +973 -0
  39. data/public/javascripts/effects.js +1128 -0
  40. data/public/javascripts/prototype.js +4320 -0
  41. data/public/robots.txt +5 -0
  42. data/script/about +4 -0
  43. data/script/console +3 -0
  44. data/script/dbconsole +3 -0
  45. data/script/destroy +3 -0
  46. data/script/generate +3 -0
  47. data/script/performance/benchmarker +3 -0
  48. data/script/performance/profiler +3 -0
  49. data/script/plugin +3 -0
  50. data/script/runner +3 -0
  51. data/script/server +3 -0
  52. data/test/functional/forum_controller_test.rb +8 -0
  53. data/test/performance/browsing_test.rb +9 -0
  54. data/test/test_helper.rb +38 -0
  55. data/test/unit/helpers/forum_helper_test.rb +4 -0
  56. metadata +126 -0
data/public/robots.txt ADDED
@@ -0,0 +1,5 @@
1
+ # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
2
+ #
3
+ # To ban all spiders from the entire site uncomment the next two lines:
4
+ # User-Agent: *
5
+ # Disallow: /
data/script/about ADDED
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+ require File.expand_path('../../config/boot', __FILE__)
3
+ $LOAD_PATH.unshift "#{RAILTIES_PATH}/builtin/rails_info"
4
+ require 'commands/about'
data/script/console ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.expand_path('../../config/boot', __FILE__)
3
+ require 'commands/console'
data/script/dbconsole ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.expand_path('../../config/boot', __FILE__)
3
+ require 'commands/dbconsole'
data/script/destroy ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.expand_path('../../config/boot', __FILE__)
3
+ require 'commands/destroy'
data/script/generate ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.expand_path('../../config/boot', __FILE__)
3
+ require 'commands/generate'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.expand_path('../../../config/boot', __FILE__)
3
+ require 'commands/performance/benchmarker'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.expand_path('../../../config/boot', __FILE__)
3
+ require 'commands/performance/profiler'
data/script/plugin ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.expand_path('../../config/boot', __FILE__)
3
+ require 'commands/plugin'
data/script/runner ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.expand_path('../../config/boot', __FILE__)
3
+ require 'commands/runner'
data/script/server ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.expand_path('../../config/boot', __FILE__)
3
+ require 'commands/server'
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class ForumControllerTest < ActionController::TestCase
4
+ # Replace this with your real tests.
5
+ test "the truth" do
6
+ assert true
7
+ end
8
+ end
@@ -0,0 +1,9 @@
1
+ require 'test_helper'
2
+ require 'performance_test_help'
3
+
4
+ # Profiling results for each test method are written to tmp/performance.
5
+ class BrowsingTest < ActionController::PerformanceTest
6
+ def test_homepage
7
+ get '/'
8
+ end
9
+ end
@@ -0,0 +1,38 @@
1
+ ENV["RAILS_ENV"] = "test"
2
+ require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
3
+ require 'test_help'
4
+
5
+ class ActiveSupport::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
+ #
19
+ # The only drawback to using transactional fixtures is when you actually
20
+ # need to test transactions. Since your test is bracketed by a transaction,
21
+ # any transactions started in your code will be automatically rolled back.
22
+ self.use_transactional_fixtures = true
23
+
24
+ # Instantiated fixtures are slow, but give you @david where otherwise you
25
+ # would need people(:david). If you don't want to migrate your existing
26
+ # test cases which use the @david style and don't mind the speed hit (each
27
+ # instantiated fixtures translates to a database query per test method),
28
+ # then set this back to true.
29
+ self.use_instantiated_fixtures = false
30
+
31
+ # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
32
+ #
33
+ # Note: You'll currently still have to declare fixtures explicitly in integration tests
34
+ # -- they do not yet inherit this setting
35
+ fixtures :all
36
+
37
+ # Add more helper methods to be used by all tests here...
38
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class ForumHelperTest < ActionView::TestCase
4
+ end
metadata ADDED
@@ -0,0 +1,126 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: borda
3
+ version: !ruby/object:Gem::Version
4
+ hash: 23
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 4
10
+ version: 0.0.4
11
+ platform: ruby
12
+ authors:
13
+ - koleso
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-08-28 00:00:00 +03:00
19
+ default_executable:
20
+ dependencies: []
21
+
22
+ description: Simple forum for a testing purpose
23
+ email:
24
+ - koleso@bk.ru
25
+ executables: []
26
+
27
+ extensions: []
28
+
29
+ extra_rdoc_files: []
30
+
31
+ files:
32
+ - README
33
+ - Rakefile
34
+ - app/controllers/.forum_controller.rb.swp
35
+ - app/controllers/application_controller.rb
36
+ - app/controllers/forum_controller.rb
37
+ - app/helpers/application_helper.rb
38
+ - app/helpers/forum_helper.rb
39
+ - app/views/forum/.index.html.erb.swp
40
+ - app/views/forum/index.html.erb
41
+ - config/boot.rb
42
+ - config/database.yml
43
+ - config/environment.rb
44
+ - config/environments/development.rb
45
+ - config/environments/production.rb
46
+ - config/environments/test.rb
47
+ - config/initializers/backtrace_silencers.rb
48
+ - config/initializers/cookie_verification_secret.rb
49
+ - config/initializers/inflections.rb
50
+ - config/initializers/mime_types.rb
51
+ - config/initializers/new_rails_defaults.rb
52
+ - config/initializers/session_store.rb
53
+ - config/locales/en.yml
54
+ - config/routes.rb
55
+ - db/seeds.rb
56
+ - doc/README_FOR_APP
57
+ - log/development.log
58
+ - log/production.log
59
+ - log/server.log
60
+ - log/test.log
61
+ - public/404.html
62
+ - public/422.html
63
+ - public/500.html
64
+ - public/favicon.ico
65
+ - public/images/rails.png
66
+ - public/index.html
67
+ - public/javascripts/application.js
68
+ - public/javascripts/controls.js
69
+ - public/javascripts/dragdrop.js
70
+ - public/javascripts/effects.js
71
+ - public/javascripts/prototype.js
72
+ - public/robots.txt
73
+ - script/about
74
+ - script/console
75
+ - script/dbconsole
76
+ - script/destroy
77
+ - script/generate
78
+ - script/performance/benchmarker
79
+ - script/performance/profiler
80
+ - script/plugin
81
+ - script/runner
82
+ - script/server
83
+ - test/functional/forum_controller_test.rb
84
+ - test/performance/browsing_test.rb
85
+ - test/test_helper.rb
86
+ - test/unit/helpers/forum_helper_test.rb
87
+ has_rdoc: true
88
+ homepage: ""
89
+ licenses: []
90
+
91
+ post_install_message:
92
+ rdoc_options: []
93
+
94
+ require_paths:
95
+ - lib
96
+ - lib/tasks
97
+ required_ruby_version: !ruby/object:Gem::Requirement
98
+ none: false
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ hash: 3
103
+ segments:
104
+ - 0
105
+ version: "0"
106
+ required_rubygems_version: !ruby/object:Gem::Requirement
107
+ none: false
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ hash: 3
112
+ segments:
113
+ - 0
114
+ version: "0"
115
+ requirements: []
116
+
117
+ rubyforge_project: borda
118
+ rubygems_version: 1.5.0
119
+ signing_key:
120
+ specification_version: 3
121
+ summary: Simple forum
122
+ test_files:
123
+ - test/functional/forum_controller_test.rb
124
+ - test/performance/browsing_test.rb
125
+ - test/test_helper.rb
126
+ - test/unit/helpers/forum_helper_test.rb