navi 0.0.17 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. data/.gitignore +50 -0
  2. data/.rvmrc +1 -1
  3. data/Gemfile +1 -46
  4. data/Gemfile.lock +136 -116
  5. data/{README.textile → README.md} +32 -28
  6. data/Rakefile +1 -44
  7. data/features/step_definitions/category_steps.rb +1 -1
  8. data/features/step_definitions/page_steps.rb +1 -1
  9. data/lib/navi.rb +4 -11
  10. data/lib/navi/navigable/base.rb +1 -0
  11. data/lib/navi/navigable/instance_methods.rb +27 -1
  12. data/lib/navi/version.rb +3 -0
  13. data/navi.gemspec +44 -272
  14. data/spec/dummy/Rakefile +1 -1
  15. data/spec/dummy/app/assets/javascripts/application.js +7 -0
  16. data/spec/dummy/{public → app/assets}/javascripts/jquery-ui.js +0 -0
  17. data/spec/dummy/{public → app/assets}/javascripts/jquery-ui.min.js +0 -0
  18. data/spec/dummy/{public → app/assets}/javascripts/jquery.js +0 -0
  19. data/spec/dummy/{public → app/assets}/javascripts/jquery.min.js +0 -0
  20. data/spec/dummy/{public → app/assets}/javascripts/jquery_ujs.js +0 -0
  21. data/spec/dummy/{public → app/assets}/javascripts/menu_items/index.js +0 -0
  22. data/spec/dummy/app/assets/stylesheets/application.css +7 -0
  23. data/spec/dummy/app/controllers/categories_controller.rb +1 -0
  24. data/spec/dummy/{lib/tasks → app/mailers}/.gitkeep +0 -0
  25. data/spec/dummy/{public/stylesheets → app/models}/.gitkeep +0 -0
  26. data/spec/dummy/app/views/layouts/application.html.erb +1 -1
  27. data/spec/dummy/app/views/menu_items/index.html.haml +0 -3
  28. data/spec/dummy/config/application.rb +14 -9
  29. data/spec/dummy/config/boot.rb +1 -1
  30. data/spec/dummy/config/database.yml +13 -7
  31. data/spec/dummy/config/environments/development.rb +7 -3
  32. data/spec/dummy/config/environments/production.rb +23 -12
  33. data/spec/dummy/config/environments/test.rb +5 -1
  34. data/spec/dummy/config/initializers/{navigable.rb → navi.rb} +0 -0
  35. data/spec/dummy/config/initializers/secret_token.rb +1 -1
  36. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  37. data/spec/dummy/config/locales/en.yml +1 -1
  38. data/spec/dummy/config/routes.rb +1 -57
  39. data/spec/dummy/db/seeds.rb +4 -4
  40. data/spec/dummy/{vendor/plugins → lib/assets}/.gitkeep +0 -0
  41. data/spec/factories.rb +15 -0
  42. data/spec/navi/navi_spec.rb +1 -1
  43. data/spec/navi/navigable_spec.rb +23 -0
  44. data/spec/navi/navigator_spec.rb +24 -12
  45. data/spec/spec_helper.rb +18 -3
  46. metadata +284 -504
  47. data/VERSION +0 -1
  48. data/spec/blueprints.rb +0 -23
  49. data/spec/dummy/.gitignore +0 -6
  50. data/spec/dummy/config/cucumber.yml +0 -8
  51. data/spec/dummy/config/navigation.rb +0 -7
  52. data/spec/dummy/lib/tasks/cucumber.rake +0 -57
  53. data/spec/dummy/public/images/rails.png +0 -0
  54. data/spec/dummy/public/index.html +0 -239
  55. data/spec/dummy/public/javascripts/application.js +0 -2
  56. data/spec/dummy/public/javascripts/rails.js +0 -315
  57. data/spec/dummy/public/robots.txt +0 -5
  58. data/spec/dummy/script/cucumber +0 -10
@@ -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,10 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- vendored_cucumber_bin = Dir["#{File.dirname(__FILE__)}/../vendor/{gems,plugins}/cucumber*/bin/cucumber"].first
4
- if vendored_cucumber_bin
5
- load File.expand_path(vendored_cucumber_bin)
6
- else
7
- require 'rubygems' unless ENV['NO_RUBYGEMS']
8
- require 'cucumber'
9
- load Cucumber::BINARY
10
- end