tamed_beast 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. data/Gemfile +4 -0
  2. data/README +12 -0
  3. data/Rakefile +2 -0
  4. data/app/controllers/forums_controller.rb +60 -0
  5. data/app/controllers/posts_controller.rb +98 -0
  6. data/app/controllers/topics_controller.rb +94 -0
  7. data/app/models/forum.rb +23 -0
  8. data/app/models/post.rb +26 -0
  9. data/app/models/topic.rb +97 -0
  10. data/app/views/forums/_form.html.erb +21 -0
  11. data/app/views/forums/edit.html.erb +12 -0
  12. data/app/views/forums/index.html.erb +63 -0
  13. data/app/views/forums/new.html.erb +10 -0
  14. data/app/views/forums/show.html.erb +81 -0
  15. data/app/views/posts/_edit.html.erb +38 -0
  16. data/app/views/posts/edit.html.erb +14 -0
  17. data/app/views/posts/index.html.erb +1 -0
  18. data/app/views/topics/_form.html.erb +17 -0
  19. data/app/views/topics/edit.html.erb +10 -0
  20. data/app/views/topics/index.html.erb +2 -0
  21. data/app/views/topics/new.html.erb +18 -0
  22. data/app/views/topics/show.html.erb +175 -0
  23. data/config/conf.rb +0 -0
  24. data/lib/generators/tamed_beast/install_generator.rb +56 -0
  25. data/lib/generators/tamed_beast/migration_generator.rb +26 -0
  26. data/lib/generators/tamed_beast/templates/migration.rb +57 -0
  27. data/lib/generators/tamed_beast/templates/routes.rb +9 -0
  28. data/lib/tamed_beast.rb +7 -0
  29. data/lib/tamed_beast/application_helper.rb +18 -0
  30. data/lib/tamed_beast/auth.rb +24 -0
  31. data/lib/tamed_beast/engine.rb +7 -0
  32. data/lib/tamed_beast/version.rb +3 -0
  33. data/tamed_beast.gemspec +23 -0
  34. data/test/fixtures/forums.yml +19 -0
  35. data/test/fixtures/posts.yml +34 -0
  36. data/test/fixtures/topics.yml +29 -0
  37. data/test/fixtures/users.yml +9 -0
  38. data/test/functional/forums_controller_test.rb +51 -0
  39. data/test/functional/posts_controller_test.rb +54 -0
  40. data/test/functional/topics_controller_test.rb +55 -0
  41. data/test/unit/forum_test.rb +10 -0
  42. data/test/unit/post_test.rb +32 -0
  43. data/test/unit/topic_test.rb +33 -0
  44. data/vendor/plugins/white_list/README +29 -0
  45. data/vendor/plugins/white_list/Rakefile +22 -0
  46. data/vendor/plugins/white_list/init.rb +2 -0
  47. data/vendor/plugins/white_list/lib/white_list_helper.rb +97 -0
  48. data/vendor/plugins/white_list/test/white_list_test.rb +132 -0
  49. data/vendor/plugins/white_list_formatted_content/init.rb +27 -0
  50. metadata +161 -0
metadata ADDED
@@ -0,0 +1,161 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tamed_beast
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: ruby
12
+ authors:
13
+ - Luca Bonmassar, Andrea Pavoni
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-01-13 00:00:00 +01:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: rails
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ hash: 1
30
+ segments:
31
+ - 3
32
+ - 0
33
+ - 3
34
+ version: 3.0.3
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: will_paginate
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ hash: 31098121
46
+ segments:
47
+ - 3
48
+ - 0
49
+ - beta
50
+ version: 3.0.beta
51
+ type: :runtime
52
+ version_requirements: *id002
53
+ - !ruby/object:Gem::Dependency
54
+ name: acts_as_list
55
+ prerelease: false
56
+ requirement: &id003 !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ hash: 3
62
+ segments:
63
+ - 0
64
+ version: "0"
65
+ type: :runtime
66
+ version_requirements: *id003
67
+ description: Provides a simple bullettin board for Rails apps.
68
+ email:
69
+ - info@coderloop.com
70
+ executables: []
71
+
72
+ extensions: []
73
+
74
+ extra_rdoc_files: []
75
+
76
+ files:
77
+ - Gemfile
78
+ - README
79
+ - Rakefile
80
+ - app/controllers/forums_controller.rb
81
+ - app/controllers/posts_controller.rb
82
+ - app/controllers/topics_controller.rb
83
+ - app/models/forum.rb
84
+ - app/models/post.rb
85
+ - app/models/topic.rb
86
+ - app/views/forums/_form.html.erb
87
+ - app/views/forums/edit.html.erb
88
+ - app/views/forums/index.html.erb
89
+ - app/views/forums/new.html.erb
90
+ - app/views/forums/show.html.erb
91
+ - app/views/posts/_edit.html.erb
92
+ - app/views/posts/edit.html.erb
93
+ - app/views/posts/index.html.erb
94
+ - app/views/topics/_form.html.erb
95
+ - app/views/topics/edit.html.erb
96
+ - app/views/topics/index.html.erb
97
+ - app/views/topics/new.html.erb
98
+ - app/views/topics/show.html.erb
99
+ - config/conf.rb
100
+ - lib/generators/tamed_beast/install_generator.rb
101
+ - lib/generators/tamed_beast/migration_generator.rb
102
+ - lib/generators/tamed_beast/templates/migration.rb
103
+ - lib/generators/tamed_beast/templates/routes.rb
104
+ - lib/tamed_beast.rb
105
+ - lib/tamed_beast/application_helper.rb
106
+ - lib/tamed_beast/auth.rb
107
+ - lib/tamed_beast/engine.rb
108
+ - lib/tamed_beast/version.rb
109
+ - tamed_beast.gemspec
110
+ - test/fixtures/forums.yml
111
+ - test/fixtures/posts.yml
112
+ - test/fixtures/topics.yml
113
+ - test/fixtures/users.yml
114
+ - test/functional/forums_controller_test.rb
115
+ - test/functional/posts_controller_test.rb
116
+ - test/functional/topics_controller_test.rb
117
+ - test/unit/forum_test.rb
118
+ - test/unit/post_test.rb
119
+ - test/unit/topic_test.rb
120
+ - vendor/plugins/white_list/README
121
+ - vendor/plugins/white_list/Rakefile
122
+ - vendor/plugins/white_list/init.rb
123
+ - vendor/plugins/white_list/lib/white_list_helper.rb
124
+ - vendor/plugins/white_list/test/white_list_test.rb
125
+ - vendor/plugins/white_list_formatted_content/init.rb
126
+ has_rdoc: true
127
+ homepage: ""
128
+ licenses: []
129
+
130
+ post_install_message:
131
+ rdoc_options: []
132
+
133
+ require_paths:
134
+ - lib
135
+ required_ruby_version: !ruby/object:Gem::Requirement
136
+ none: false
137
+ requirements:
138
+ - - ">="
139
+ - !ruby/object:Gem::Version
140
+ hash: 3
141
+ segments:
142
+ - 0
143
+ version: "0"
144
+ required_rubygems_version: !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ">="
148
+ - !ruby/object:Gem::Version
149
+ hash: 3
150
+ segments:
151
+ - 0
152
+ version: "0"
153
+ requirements: []
154
+
155
+ rubyforge_project:
156
+ rubygems_version: 1.3.7
157
+ signing_key:
158
+ specification_version: 3
159
+ summary: Bullettin board for Rails
160
+ test_files: []
161
+