sections_rails 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. data/README.md +82 -92
  2. data/lib/sections_rails/section.rb +11 -174
  3. data/lib/sections_rails/section_asset_rendering.rb +92 -0
  4. data/lib/sections_rails/section_partial_rendering.rb +100 -0
  5. data/lib/sections_rails/version.rb +1 -1
  6. data/lib/sections_rails/view_finder.rb +10 -8
  7. data/lib/sections_rails.rb +1 -1
  8. data/spec/controllers/image_assets_controller_spec.rb +38 -0
  9. data/spec/controllers/partials_controller_spec.rb +25 -11
  10. data/spec/controllers/script_assets_controller_spec.rb +7 -7
  11. data/spec/controllers/style_assets_controller_spec.rb +10 -10
  12. data/spec/controllers/view_types_controller_spec.rb +3 -3
  13. data/spec/dummy/app/controllers/image_assets_controller.rb +14 -0
  14. data/spec/dummy/app/controllers/partials_controller.rb +6 -0
  15. data/spec/dummy/app/views/image_assets/gif.html.erb +1 -0
  16. data/spec/dummy/app/views/image_assets/jpeg.html.erb +1 -0
  17. data/spec/dummy/app/views/image_assets/jpg.html.erb +1 -0
  18. data/spec/dummy/app/views/image_assets/png.html.erb +1 -0
  19. data/spec/dummy/app/views/partials/custom_partial_with_block.html.erb +3 -0
  20. data/spec/dummy/app/views/partials/tag_option.html.erb +1 -0
  21. data/spec/dummy/config/application.rb +4 -3
  22. data/spec/dummy/config/boot.rb +7 -3
  23. data/spec/dummy/config/environments/test.rb +1 -4
  24. data/spec/dummy/db/development.sqlite3 +0 -0
  25. data/spec/dummy/db/test.sqlite3 +0 -0
  26. data/spec/dummy/log/development.log +3204 -16064
  27. data/spec/dummy/log/production.log +61 -0
  28. data/spec/dummy/log/test.log +2041 -0
  29. data/spec/sections_rails/config_spec.rb +31 -0
  30. data/spec/sections_rails/partial_parser_spec.rb +12 -12
  31. data/spec/sections_rails/section_spec.rb +16 -54
  32. data/spec/sections_rails/view_finder_spec.rb +4 -4
  33. data/spec/spec_helper.rb +3 -0
  34. metadata +73 -35
  35. data/spec/dummy/tmp/cache/assets/CB9/B60/sprockets%2Fe7b839a0806e5c20e5018197f56cd656 +0 -0
  36. data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  37. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  38. data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  39. data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  40. data/spec/dummy/tmp/cache/assets/D76/4D0/sprockets%2F8a096b6dd59bfda3e461617a95524eaf +0 -0
  41. data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  42. data/spec/dummy/tmp/cache/assets/DE1/6A0/sprockets%2Fcae9aba95894da8a28fa8a5387dc565f +0 -0
  43. data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  44. data/spec/dummy/tmp/cache/assets/E1D/010/sprockets%2Fdffad412d86bfdfbb1f307d711da21d3 +0 -0

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.