mobylette 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. data/README.rdoc +33 -9
  2. data/Rakefile +5 -0
  3. data/lib/mobylette.rb +5 -0
  4. data/lib/mobylette/controllers/helpers.rb +6 -5
  5. data/lib/mobylette/controllers/respond_to_mobile_requests.rb +14 -5
  6. data/lib/mobylette/helmet.rb +11 -0
  7. data/lib/mobylette/version.rb +1 -1
  8. data/spec/controllers/actioncontroller_base_spec.rb +8 -0
  9. data/spec/controllers/home_controller_spec.rb +30 -0
  10. data/spec/dummy/app/views/home/desktop.html.erb +3 -1
  11. data/spec/dummy/app/views/home/index.html.erb +3 -1
  12. data/spec/dummy/app/views/home/index.js.erb +1 -0
  13. data/spec/dummy/app/views/home/index.mobile.erb +3 -1
  14. data/spec/dummy/app/views/home/mobile.mobile.erb +3 -1
  15. data/spec/dummy/app/views/home/no_mobile_view.html.erb +3 -1
  16. metadata +44 -89
  17. data/spec/dummy/db/development.sqlite3 +0 -0
  18. data/spec/dummy/db/test.sqlite3 +0 -0
  19. data/spec/dummy/log/development.log +0 -32
  20. data/spec/dummy/log/test.log +0 -1537
  21. data/spec/dummy/tmp/cache/assets/C82/3E0/sprockets%2F48eb4ac616538f8f36870451073315da +0 -0
  22. data/spec/dummy/tmp/cache/assets/CE4/1C0/sprockets%2F18d93e1533d585b2f64ec90b33176ac9 +0 -0
  23. data/spec/dummy/tmp/cache/assets/CED/A70/sprockets%2F621683d8791730a9cc7ce45e17a7e46d +0 -0
  24. data/spec/dummy/tmp/cache/assets/CFC/200/sprockets%2F716f89d85d4855706b8a9abec1969c62 +0 -0
  25. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  26. data/spec/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +0 -0
  27. data/spec/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +0 -0
  28. data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  29. data/spec/dummy/tmp/pids/server.pid +0 -1
@@ -1 +0,0 @@
1
- 16800