navi 0.0.17 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +50 -0
- data/.rvmrc +1 -1
- data/Gemfile +1 -46
- data/Gemfile.lock +136 -116
- data/{README.textile → README.md} +32 -28
- data/Rakefile +1 -44
- data/features/step_definitions/category_steps.rb +1 -1
- data/features/step_definitions/page_steps.rb +1 -1
- data/lib/navi.rb +4 -11
- data/lib/navi/navigable/base.rb +1 -0
- data/lib/navi/navigable/instance_methods.rb +27 -1
- data/lib/navi/version.rb +3 -0
- data/navi.gemspec +44 -272
- data/spec/dummy/Rakefile +1 -1
- data/spec/dummy/app/assets/javascripts/application.js +7 -0
- data/spec/dummy/{public → app/assets}/javascripts/jquery-ui.js +0 -0
- data/spec/dummy/{public → app/assets}/javascripts/jquery-ui.min.js +0 -0
- data/spec/dummy/{public → app/assets}/javascripts/jquery.js +0 -0
- data/spec/dummy/{public → app/assets}/javascripts/jquery.min.js +0 -0
- data/spec/dummy/{public → app/assets}/javascripts/jquery_ujs.js +0 -0
- data/spec/dummy/{public → app/assets}/javascripts/menu_items/index.js +0 -0
- data/spec/dummy/app/assets/stylesheets/application.css +7 -0
- data/spec/dummy/app/controllers/categories_controller.rb +1 -0
- data/spec/dummy/{lib/tasks → app/mailers}/.gitkeep +0 -0
- data/spec/dummy/{public/stylesheets → app/models}/.gitkeep +0 -0
- data/spec/dummy/app/views/layouts/application.html.erb +1 -1
- data/spec/dummy/app/views/menu_items/index.html.haml +0 -3
- data/spec/dummy/config/application.rb +14 -9
- data/spec/dummy/config/boot.rb +1 -1
- data/spec/dummy/config/database.yml +13 -7
- data/spec/dummy/config/environments/development.rb +7 -3
- data/spec/dummy/config/environments/production.rb +23 -12
- data/spec/dummy/config/environments/test.rb +5 -1
- data/spec/dummy/config/initializers/{navigable.rb → navi.rb} +0 -0
- data/spec/dummy/config/initializers/secret_token.rb +1 -1
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +1 -1
- data/spec/dummy/config/routes.rb +1 -57
- data/spec/dummy/db/seeds.rb +4 -4
- data/spec/dummy/{vendor/plugins → lib/assets}/.gitkeep +0 -0
- data/spec/factories.rb +15 -0
- data/spec/navi/navi_spec.rb +1 -1
- data/spec/navi/navigable_spec.rb +23 -0
- data/spec/navi/navigator_spec.rb +24 -12
- data/spec/spec_helper.rb +18 -3
- metadata +284 -504
- data/VERSION +0 -1
- data/spec/blueprints.rb +0 -23
- data/spec/dummy/.gitignore +0 -6
- data/spec/dummy/config/cucumber.yml +0 -8
- data/spec/dummy/config/navigation.rb +0 -7
- data/spec/dummy/lib/tasks/cucumber.rake +0 -57
- data/spec/dummy/public/images/rails.png +0 -0
- data/spec/dummy/public/index.html +0 -239
- data/spec/dummy/public/javascripts/application.js +0 -2
- data/spec/dummy/public/javascripts/rails.js +0 -315
- data/spec/dummy/public/robots.txt +0 -5
- data/spec/dummy/script/cucumber +0 -10
data/spec/dummy/script/cucumber
DELETED
@@ -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
|