presenting 1.0.0 → 2.0.0

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 (84) hide show
  1. data/app/controllers/presentation/assets_controller.rb +1 -1
  2. data/app/views/presentations/_details.erb +1 -1
  3. data/app/views/presentations/_field_search.erb +1 -1
  4. data/app/views/presentations/_form.erb +1 -1
  5. data/app/views/presentations/_grid.erb +1 -1
  6. data/app/views/presentations/_search.erb +1 -1
  7. data/config/routes.rb +7 -2
  8. data/lib/presentation/base.rb +10 -27
  9. data/lib/presentation/details.rb +2 -0
  10. data/lib/presentation/field_search.rb +2 -0
  11. data/lib/presentation/grid.rb +1 -1
  12. data/lib/presenting/engine.rb +7 -0
  13. data/lib/presenting/form_helpers.rb +1 -1
  14. data/lib/presenting/helpers.rb +7 -3
  15. data/lib/presenting/view.rb +3 -3
  16. data/lib/presenting.rb +38 -5
  17. data/test/assets_test.rb +5 -7
  18. data/test/details_test.rb +1 -1
  19. data/test/field_search_test.rb +1 -1
  20. data/test/form_test.rb +316 -287
  21. data/test/grid_test.rb +28 -8
  22. data/test/helpers_test.rb +2 -2
  23. data/test/presenting_test.rb +1 -1
  24. data/test/r3/Gemfile +7 -0
  25. data/test/r3/Gemfile.lock +82 -0
  26. data/test/r3/config/application.rb +12 -0
  27. data/test/r3/config/boot.rb +6 -0
  28. data/test/{rails → r3}/config/database.yml +6 -1
  29. data/test/r3/config/environment.rb +5 -0
  30. data/test/r3/config/environments/test.rb +35 -0
  31. data/test/r3/config.ru +4 -0
  32. data/test/r3/db/test.sqlite3 +0 -0
  33. data/test/r3/log/test.log +2354 -0
  34. data/test/r3/public/javascripts/presenting/grid.js +0 -0
  35. data/test/r3/public/javascripts/presenting/search.js +13 -0
  36. data/test/r3/public/stylesheets/presenting/details-color.css +7 -0
  37. data/test/r3/public/stylesheets/presenting/details.css +10 -0
  38. data/test/r3/public/stylesheets/presenting/form.css +1 -0
  39. data/test/r3/public/stylesheets/presenting/grid-color.css +71 -0
  40. data/test/r3/public/stylesheets/presenting/grid.css +64 -0
  41. data/test/r3/public/stylesheets/presenting/search-color.css +16 -0
  42. data/test/r3/public/stylesheets/presenting/search.css +45 -0
  43. data/test/search_conditions_test.rb +2 -2
  44. data/test/search_test.rb +1 -1
  45. data/test/test_helper.rb +8 -39
  46. metadata +45 -79
  47. data/rails/init.rb +0 -12
  48. data/test/rails/app/controllers/application_controller.rb +0 -15
  49. data/test/rails/app/controllers/users_controller.rb +0 -36
  50. data/test/rails/app/helpers/application_helper.rb +0 -3
  51. data/test/rails/app/helpers/users_helper.rb +0 -2
  52. data/test/rails/app/models/user.rb +0 -2
  53. data/test/rails/app/views/layouts/application.html.erb +0 -15
  54. data/test/rails/app/views/users/index.html.erb +0 -10
  55. data/test/rails/app/views/users/new.html.erb +0 -2
  56. data/test/rails/app/views/users/show.html.erb +0 -1
  57. data/test/rails/config/boot.rb +0 -109
  58. data/test/rails/config/environment.rb +0 -13
  59. data/test/rails/config/environments/development.rb +0 -17
  60. data/test/rails/config/environments/production.rb +0 -24
  61. data/test/rails/config/environments/test.rb +0 -22
  62. data/test/rails/config/locales/en.yml +0 -5
  63. data/test/rails/config/routes.rb +0 -5
  64. data/test/rails/db/development.sqlite3 +0 -0
  65. data/test/rails/db/migrate/20090213085444_create_users.rb +0 -13
  66. data/test/rails/db/migrate/20090213085607_populate_users.rb +0 -13
  67. data/test/rails/db/schema.rb +0 -23
  68. data/test/rails/db/test.sqlite3 +0 -0
  69. data/test/rails/log/development.log +0 -858
  70. data/test/rails/public/404.html +0 -30
  71. data/test/rails/public/422.html +0 -30
  72. data/test/rails/public/500.html +0 -33
  73. data/test/rails/public/javascripts/application.js +0 -2
  74. data/test/rails/public/javascripts/jquery.livequery.min.js +0 -11
  75. data/test/rails/public/javascripts/prototype.js +0 -4320
  76. data/test/rails/script/console +0 -3
  77. data/test/rails/script/dbconsole +0 -3
  78. data/test/rails/script/destroy +0 -3
  79. data/test/rails/script/generate +0 -3
  80. data/test/rails/script/plugin +0 -3
  81. data/test/rails/script/runner +0 -3
  82. data/test/rails/script/server +0 -3
  83. /data/app/assets/{javascript → javascripts}/grid.js +0 -0
  84. /data/app/assets/{javascript → javascripts}/search.js +0 -0
@@ -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/dbconsole'
@@ -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/plugin'
@@ -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'
File without changes
File without changes