rails3_assist 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. data/README.markdown +10 -3
  2. data/VERSION +1 -1
  3. data/lib/rails3_assist/app.rb +7 -41
  4. data/lib/rails3_assist/artifact/directory.rb +42 -0
  5. data/lib/rails3_assist/artifact/files.rb +63 -0
  6. data/lib/rails3_assist/artifact/path.rb +16 -0
  7. data/lib/rails3_assist/artifact.rb +34 -0
  8. data/lib/rails3_assist/directory/app.rb +17 -0
  9. data/lib/rails3_assist/directory/container.rb +24 -0
  10. data/lib/rails3_assist/directory/root.rb +20 -0
  11. data/lib/rails3_assist/directory.rb +55 -0
  12. data/lib/rails3_assist/file/application.rb +14 -0
  13. data/lib/rails3_assist/file/environment.rb +15 -0
  14. data/lib/rails3_assist/file/special.rb +48 -0
  15. data/lib/rails3_assist/file.rb +38 -0
  16. data/lib/rails3_assist/files.rb +83 -0
  17. data/lib/rails3_assist/namespaces.rb +11 -0
  18. data/lib/rails3_assist/rspec/configure.rb +2 -0
  19. data/lib/rails3_assist/rspec/matchers/have_app_config.rb +49 -0
  20. data/{spec/rails3_assist/app/app_file_names_spec.rb → lib/rails3_assist/rspec/matchers/have_special_file.rb} +0 -0
  21. data/lib/rails3_assist.rb +20 -11
  22. data/rails3_assist.gemspec +140 -49
  23. data/spec/fixtures/.gitignore +4 -0
  24. data/spec/fixtures/Gemfile +30 -0
  25. data/spec/fixtures/Gemfile.lock +73 -0
  26. data/spec/fixtures/README +256 -0
  27. data/spec/fixtures/Rakefile +7 -0
  28. data/spec/fixtures/app/controllers/application_controller.rb +3 -0
  29. data/spec/fixtures/app/controllers/users_controller.rb +83 -0
  30. data/spec/fixtures/app/helpers/application_helper.rb +2 -0
  31. data/spec/fixtures/app/helpers/users_helper.rb +2 -0
  32. data/spec/{rails3_assist/app/app_files_spec.rb → fixtures/app/mailers/user_mailer.rb} +0 -0
  33. data/spec/fixtures/app/models/user.rb +2 -0
  34. data/spec/fixtures/app/models/user_observer.rb +0 -0
  35. data/spec/fixtures/app/permits/user_permit.rb +0 -0
  36. data/spec/fixtures/app/views/layouts/application.html.erb +14 -0
  37. data/spec/fixtures/app/views/users/_form.html.erb +21 -0
  38. data/spec/fixtures/app/views/users/edit.html.erb +6 -0
  39. data/spec/fixtures/app/views/users/index.html.erb +23 -0
  40. data/spec/fixtures/app/views/users/new.html.erb +5 -0
  41. data/spec/fixtures/app/views/users/show.html.erb +10 -0
  42. data/spec/fixtures/config/application.rb +42 -0
  43. data/spec/fixtures/config/boot.rb +13 -0
  44. data/spec/fixtures/config/database.yml +22 -0
  45. data/spec/fixtures/config/environment.rb +5 -0
  46. data/spec/fixtures/config/environments/development.rb +26 -0
  47. data/spec/fixtures/config/environments/production.rb +49 -0
  48. data/spec/fixtures/config/environments/test.rb +35 -0
  49. data/spec/fixtures/config/initializers/backtrace_silencers.rb +7 -0
  50. data/spec/fixtures/config/initializers/inflections.rb +10 -0
  51. data/spec/fixtures/config/initializers/mime_types.rb +5 -0
  52. data/spec/fixtures/config/initializers/secret_token.rb +7 -0
  53. data/spec/fixtures/config/initializers/session_store.rb +8 -0
  54. data/spec/fixtures/config/locales/en.yml +5 -0
  55. data/spec/fixtures/config/routes.rb +60 -0
  56. data/spec/fixtures/config.ru +4 -0
  57. data/spec/fixtures/db/migrate/20100831135208_create_users.rb +13 -0
  58. data/spec/fixtures/db/seeds.rb +7 -0
  59. data/spec/fixtures/doc/README_FOR_APP +2 -0
  60. data/spec/fixtures/lib/tasks/.gitkeep +0 -0
  61. data/spec/fixtures/public/404.html +26 -0
  62. data/spec/fixtures/public/422.html +26 -0
  63. data/spec/fixtures/public/500.html +26 -0
  64. data/spec/fixtures/public/favicon.ico +0 -0
  65. data/spec/fixtures/public/images/rails.png +0 -0
  66. data/spec/fixtures/public/index.html +239 -0
  67. data/spec/fixtures/public/javascripts/application.js +2 -0
  68. data/spec/fixtures/public/javascripts/controls.js +965 -0
  69. data/spec/fixtures/public/javascripts/dragdrop.js +974 -0
  70. data/spec/fixtures/public/javascripts/effects.js +1123 -0
  71. data/spec/fixtures/public/javascripts/prototype.js +6001 -0
  72. data/spec/fixtures/public/javascripts/rails.js +175 -0
  73. data/spec/fixtures/public/robots.txt +5 -0
  74. data/spec/fixtures/public/stylesheets/.gitkeep +0 -0
  75. data/spec/fixtures/public/stylesheets/scaffold.css +56 -0
  76. data/spec/fixtures/script/rails +6 -0
  77. data/spec/fixtures/test/fixtures/users.yml +7 -0
  78. data/spec/fixtures/test/functional/users_controller_test.rb +49 -0
  79. data/spec/fixtures/test/performance/browsing_test.rb +9 -0
  80. data/spec/fixtures/test/test_helper.rb +13 -0
  81. data/spec/fixtures/test/unit/helpers/users_helper_test.rb +4 -0
  82. data/spec/fixtures/test/unit/user_test.rb +8 -0
  83. data/spec/fixtures/vendor/plugins/.gitkeep +0 -0
  84. data/spec/fixtures.rb +3 -0
  85. data/spec/rails3_assist/app_spec.rb +30 -0
  86. data/spec/rails3_assist/artifact/directory_spec.rb +66 -0
  87. data/spec/rails3_assist/artifact/files_spec.rb +64 -0
  88. data/spec/rails3_assist/artifact/path_spec.rb +23 -0
  89. data/spec/rails3_assist/artifact_spec.rb +33 -0
  90. data/spec/rails3_assist/directory/app_spec.rb +41 -0
  91. data/spec/rails3_assist/directory/container_spec.rb +63 -0
  92. data/spec/rails3_assist/directory/root_spec.rb +41 -0
  93. data/spec/rails3_assist/directory_spec.rb +59 -0
  94. data/spec/rails3_assist/file/application_spec.rb +33 -0
  95. data/spec/rails3_assist/file/environment_spec.rb +49 -0
  96. data/spec/rails3_assist/file/special_spec.rb +61 -0
  97. data/spec/rails3_assist/file_spec.rb +48 -0
  98. data/spec/rails3_assist/files_spec.rb +128 -0
  99. data/spec/rails3_assist/rspec/have_app_config_spec.rb +0 -0
  100. data/spec/spec_helper.rb +4 -2
  101. metadata +140 -49
  102. data/lib/rails3_assist/app/file_names.rb +0 -97
  103. data/lib/rails3_assist/app/methods/crud.rb +0 -31
  104. data/lib/rails3_assist/app/methods/new_content.rb +0 -11
  105. data/lib/rails3_assist/app/rails_dirs.rb +0 -106
  106. data/lib/rails3_assist/app/rails_files.rb +0 -128
  107. data/lib/rails3_assist/artifact/markers.rb +0 -45
  108. data/lib/rails3_assist/artifact/migration.rb +0 -10
  109. data/lib/rails3_assist/artifact/orm.rb +0 -136
  110. data/lib/rails3_assist/artifact/view.rb +0 -70
  111. data/lib/rails3_assist/base/class_methods.rb +0 -11
  112. data/lib/rails3_assist/base/create.rb +0 -48
  113. data/lib/rails3_assist/base/file_name.rb +0 -40
  114. data/lib/rails3_assist/base/insert.rb +0 -57
  115. data/lib/rails3_assist/base/read.rb +0 -19
  116. data/lib/rails3_assist/base/remove.rb +0 -14
  117. data/lib/rails3_assist/base.rb +0 -49
  118. data/lib/rails3_assist/extensions/core_ext.rb +0 -29
  119. data/lib/rails3_assist/rspec/macro.rb +0 -34
  120. data/spec/rails3_assist/app/app_dirs_spec.rb +0 -23
  121. data/spec/rails3_assist/artifact/controller/controller_spec.rb +0 -33
  122. data/spec/rails3_assist/artifact/helper/helper_spec.rb +0 -33
  123. data/spec/rails3_assist/artifact/mailer/mailer_spec.rb +0 -33
  124. data/spec/rails3_assist/artifact/migration/migration_spec.rb +0 -49
  125. data/spec/rails3_assist/artifact/model/model_spec.rb +0 -34
  126. data/spec/rails3_assist/artifact/observer/observer_spec.rb +0 -34
  127. data/spec/rails3_assist/artifact/orm/active_record_spec.rb +0 -33
  128. data/spec/rails3_assist/artifact/orm/mongo_mapper_spec.rb +0 -63
  129. data/spec/rails3_assist/artifact/orm/mongoid_spec.rb +0 -63
  130. data/spec/rails3_assist/artifact/view_spec/view_controller_action_spec.rb +0 -65
  131. data/spec/rails3_assist/artifact/view_spec/view_controller_default_action_specc.rb +0 -32

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.