typus 3.0.11.rc5 → 3.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. data/.gitmodules +3 -0
  2. data/app/views/admin/templates/_text_with_ckeditor.html.erb +13 -0
  3. data/lib/typus/version.rb +1 -1
  4. metadata +20 -272
  5. data/test/fixtures/rails_app/.gitignore +0 -4
  6. data/test/fixtures/rails_app/Capfile +0 -6
  7. data/test/fixtures/rails_app/README +0 -256
  8. data/test/fixtures/rails_app/Rakefile +0 -7
  9. data/test/fixtures/rails_app/app/controllers/admin/animals_controller.rb +0 -2
  10. data/test/fixtures/rails_app/app/controllers/admin/articles_controller.rb +0 -2
  11. data/test/fixtures/rails_app/app/controllers/admin/assets_controller.rb +0 -51
  12. data/test/fixtures/rails_app/app/controllers/admin/birds_controller.rb +0 -2
  13. data/test/fixtures/rails_app/app/controllers/admin/cases_controller.rb +0 -2
  14. data/test/fixtures/rails_app/app/controllers/admin/categories_controller.rb +0 -2
  15. data/test/fixtures/rails_app/app/controllers/admin/comments_controller.rb +0 -2
  16. data/test/fixtures/rails_app/app/controllers/admin/dogs_controller.rb +0 -2
  17. data/test/fixtures/rails_app/app/controllers/admin/entries_controller.rb +0 -2
  18. data/test/fixtures/rails_app/app/controllers/admin/hits_controller.rb +0 -37
  19. data/test/fixtures/rails_app/app/controllers/admin/image_holders_controller.rb +0 -2
  20. data/test/fixtures/rails_app/app/controllers/admin/invoices_controller.rb +0 -2
  21. data/test/fixtures/rails_app/app/controllers/admin/orders_controller.rb +0 -2
  22. data/test/fixtures/rails_app/app/controllers/admin/pages_controller.rb +0 -7
  23. data/test/fixtures/rails_app/app/controllers/admin/posts_controller.rb +0 -2
  24. data/test/fixtures/rails_app/app/controllers/admin/project_collaborators_controller.rb +0 -2
  25. data/test/fixtures/rails_app/app/controllers/admin/projects_controller.rb +0 -2
  26. data/test/fixtures/rails_app/app/controllers/admin/status_controller.rb +0 -2
  27. data/test/fixtures/rails_app/app/controllers/admin/typus_users_controller.rb +0 -2
  28. data/test/fixtures/rails_app/app/controllers/admin/users_controller.rb +0 -2
  29. data/test/fixtures/rails_app/app/controllers/admin/views_controller.rb +0 -8
  30. data/test/fixtures/rails_app/app/controllers/admin/watch_dog_controller.rb +0 -2
  31. data/test/fixtures/rails_app/app/controllers/admin_user.rb +0 -3
  32. data/test/fixtures/rails_app/app/controllers/application_controller.rb +0 -3
  33. data/test/fixtures/rails_app/app/helpers/application_helper.rb +0 -2
  34. data/test/fixtures/rails_app/app/helpers/form_helper.rb +0 -3
  35. data/test/fixtures/rails_app/app/models/animal.rb +0 -21
  36. data/test/fixtures/rails_app/app/models/article.rb +0 -10
  37. data/test/fixtures/rails_app/app/models/asset.rb +0 -45
  38. data/test/fixtures/rails_app/app/models/bird.rb +0 -2
  39. data/test/fixtures/rails_app/app/models/case.rb +0 -2
  40. data/test/fixtures/rails_app/app/models/category.rb +0 -31
  41. data/test/fixtures/rails_app/app/models/comment.rb +0 -17
  42. data/test/fixtures/rails_app/app/models/delayed/task.rb +0 -5
  43. data/test/fixtures/rails_app/app/models/dog.rb +0 -2
  44. data/test/fixtures/rails_app/app/models/entry.rb +0 -23
  45. data/test/fixtures/rails_app/app/models/hit.rb +0 -27
  46. data/test/fixtures/rails_app/app/models/image_holder.rb +0 -21
  47. data/test/fixtures/rails_app/app/models/invoice.rb +0 -10
  48. data/test/fixtures/rails_app/app/models/order.rb +0 -9
  49. data/test/fixtures/rails_app/app/models/page.rb +0 -24
  50. data/test/fixtures/rails_app/app/models/post.rb +0 -32
  51. data/test/fixtures/rails_app/app/models/project.rb +0 -17
  52. data/test/fixtures/rails_app/app/models/project_collaborator.rb +0 -16
  53. data/test/fixtures/rails_app/app/models/site.rb +0 -16
  54. data/test/fixtures/rails_app/app/models/typus_user.rb +0 -22
  55. data/test/fixtures/rails_app/app/models/user.rb +0 -10
  56. data/test/fixtures/rails_app/app/models/view.rb +0 -19
  57. data/test/fixtures/rails_app/app/views/admin/assets/_index.html.erb +0 -3
  58. data/test/fixtures/rails_app/app/views/admin/cases/_index.html.erb +0 -3
  59. data/test/fixtures/rails_app/app/views/admin/categories/_index.html.erb +0 -3
  60. data/test/fixtures/rails_app/app/views/admin/dashboard/_sidebar.html.erb +0 -11
  61. data/test/fixtures/rails_app/app/views/admin/entries/_index.html.erb +0 -3
  62. data/test/fixtures/rails_app/app/views/admin/hits/_edit.html.erb +0 -7
  63. data/test/fixtures/rails_app/app/views/admin/hits/_index.html.erb +0 -3
  64. data/test/fixtures/rails_app/app/views/admin/hits/index.html.erb +0 -28
  65. data/test/fixtures/rails_app/app/views/admin/pages/_index.html.erb +0 -3
  66. data/test/fixtures/rails_app/app/views/admin/posts/_edit.html.erb +0 -1
  67. data/test/fixtures/rails_app/app/views/admin/posts/_index.html.erb +0 -5
  68. data/test/fixtures/rails_app/app/views/admin/posts/_new.html.erb +0 -1
  69. data/test/fixtures/rails_app/app/views/admin/posts/_show.html.erb +0 -1
  70. data/test/fixtures/rails_app/app/views/admin/resources/_sidebar.html.erb +0 -1
  71. data/test/fixtures/rails_app/app/views/admin/status/index.html.erb +0 -9
  72. data/test/fixtures/rails_app/app/views/admin/templates/_datepicker.html.erb +0 -1
  73. data/test/fixtures/rails_app/app/views/admin/watch_dog/index.html.erb +0 -9
  74. data/test/fixtures/rails_app/config.ru +0 -4
  75. data/test/fixtures/rails_app/config/application.rb +0 -44
  76. data/test/fixtures/rails_app/config/boot.rb +0 -6
  77. data/test/fixtures/rails_app/config/database.yml +0 -34
  78. data/test/fixtures/rails_app/config/deploy.rb +0 -32
  79. data/test/fixtures/rails_app/config/environment.rb +0 -5
  80. data/test/fixtures/rails_app/config/environments/development.rb +0 -32
  81. data/test/fixtures/rails_app/config/environments/production.rb +0 -54
  82. data/test/fixtures/rails_app/config/environments/test.rb +0 -40
  83. data/test/fixtures/rails_app/config/initializers/backtrace_silencers.rb +0 -7
  84. data/test/fixtures/rails_app/config/initializers/dragonfly.rb +0 -1
  85. data/test/fixtures/rails_app/config/initializers/inflections.rb +0 -12
  86. data/test/fixtures/rails_app/config/initializers/mime_types.rb +0 -5
  87. data/test/fixtures/rails_app/config/initializers/secret_token.rb +0 -7
  88. data/test/fixtures/rails_app/config/initializers/session_store.rb +0 -8
  89. data/test/fixtures/rails_app/config/initializers/typus.rb +0 -5
  90. data/test/fixtures/rails_app/config/initializers/typus_resources.rb +0 -27
  91. data/test/fixtures/rails_app/config/locales/en.yml +0 -5
  92. data/test/fixtures/rails_app/config/mongoid.yml +0 -20
  93. data/test/fixtures/rails_app/config/routes.rb +0 -61
  94. data/test/fixtures/rails_app/config/typus/README +0 -68
  95. data/test/fixtures/rails_app/config/typus/crud_basic.yml +0 -10
  96. data/test/fixtures/rails_app/config/typus/crud_basic_roles.yml +0 -2
  97. data/test/fixtures/rails_app/config/typus/crud_extended.yml +0 -66
  98. data/test/fixtures/rails_app/config/typus/crud_extended_roles.yml +0 -18
  99. data/test/fixtures/rails_app/config/typus/has_many.yml +0 -0
  100. data/test/fixtures/rails_app/config/typus/has_many_roles.yml +0 -0
  101. data/test/fixtures/rails_app/config/typus/has_many_through.yml +0 -23
  102. data/test/fixtures/rails_app/config/typus/has_many_through_roles.yml +0 -4
  103. data/test/fixtures/rails_app/config/typus/has_one.yml +0 -12
  104. data/test/fixtures/rails_app/config/typus/has_one_roles.yml +0 -3
  105. data/test/fixtures/rails_app/config/typus/mongo_db.yml +0 -4
  106. data/test/fixtures/rails_app/config/typus/mongo_db_roles.yml +0 -2
  107. data/test/fixtures/rails_app/config/typus/polymorphic.yml +0 -17
  108. data/test/fixtures/rails_app/config/typus/polymorphic_roles.yml +0 -5
  109. data/test/fixtures/rails_app/config/typus/resource_roles.yml +0 -7
  110. data/test/fixtures/rails_app/config/typus/sti.yml +0 -5
  111. data/test/fixtures/rails_app/config/typus/sti_roles.yml +0 -2
  112. data/test/fixtures/rails_app/config/typus/typus.yml +0 -13
  113. data/test/fixtures/rails_app/config/typus/typus_roles.yml +0 -2
  114. data/test/fixtures/rails_app/config/typus/unknown.yml +0 -3
  115. data/test/fixtures/rails_app/config/typus/unknown_roles.yml +0 -5
  116. data/test/fixtures/rails_app/db/.gitkeep +0 -0
  117. data/test/fixtures/rails_app/db/schema.rb +0 -200
  118. data/test/fixtures/rails_app/db/seeds.rb +0 -54
  119. data/test/fixtures/rails_app/db/seeds/assets/000.jpg +0 -0
  120. data/test/fixtures/rails_app/db/seeds/assets/001.jpg +0 -0
  121. data/test/fixtures/rails_app/db/seeds/assets/002.jpg +0 -0
  122. data/test/fixtures/rails_app/db/seeds/assets/003.jpg +0 -0
  123. data/test/fixtures/rails_app/db/seeds/assets/004.jpg +0 -0
  124. data/test/fixtures/rails_app/public/404.html +0 -26
  125. data/test/fixtures/rails_app/public/422.html +0 -26
  126. data/test/fixtures/rails_app/public/500.html +0 -26
  127. data/test/fixtures/rails_app/public/favicon.ico +0 -0
  128. data/test/fixtures/rails_app/public/images/rails.png +0 -0
  129. data/test/fixtures/rails_app/public/robots.txt +0 -5
  130. data/test/fixtures/rails_app/public/stylesheets/.gitkeep +0 -0
  131. data/test/fixtures/rails_app/script/rails +0 -6
@@ -1,26 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>We're sorry, but something went wrong (500)</title>
5
- <style type="text/css">
6
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
- div.dialog {
8
- width: 25em;
9
- padding: 0 4em;
10
- margin: 4em auto 0 auto;
11
- border: 1px solid #ccc;
12
- border-right-color: #999;
13
- border-bottom-color: #999;
14
- }
15
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
- </style>
17
- </head>
18
-
19
- <body>
20
- <!-- This file lives in public/500.html -->
21
- <div class="dialog">
22
- <h1>We're sorry, but something went wrong.</h1>
23
- <p>We've been notified about this issue and we'll take a look at it shortly.</p>
24
- </div>
25
- </body>
26
- </html>
@@ -1,5 +0,0 @@
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: /
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
-
4
- APP_PATH = File.expand_path('../../config/application', __FILE__)
5
- require File.expand_path('../../config/boot', __FILE__)
6
- require 'rails/commands'