Git Product home page Git Product logo

iq-scm / simple-navigation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codeplant/simple-navigation

0.0 0.0 0.0 898 KB

A ruby gem for creating navigations (with multiple levels) for your Rails, Sinatra or Padrino applications. Render your navigation as html list, link list or breadcrumbs.

Home Page: http://simple-navigation-demo.codeplant.ch/

License: MIT License

Ruby 100.00%

simple-navigation's Introduction

Simple Navigation

Gem Version Build Status Code Climate Coverage Status

Simple Navigation is a ruby library for creating navigations (with multiple levels) for your Rails, Sinatra or Padrino applications. It runs with all ruby versions (including ruby 2.x).

Documentation

For the complete documentation, take a look at the project's wiki.

RDoc

You can consult the project's RDoc on RubyDoc.info.

If you need to generate the RDoc files locally, check out the repository and simply call the rake rdoc in the project's folder.

Online Demo

You can try simple-navigation with the online demo.

The source code of this online demo is available on Github.

Feedback and Questions

Don't hesitate to come talk on the project's group.

Contributing

Fork, fix, then send a Pull Request.

To run the test suite locally against all supported frameworks:

% bundle install
% rake spec:all

To target the test suite against one framework:

% rake spec:rails-4-2-stable

You can find a list of supported spec tasks by running rake -T. You may also find it useful to run a specific test for a specific framework. To do so, you'll have to first make sure you have bundled everything for that configuration, then you can run the specific test:

% BUNDLE_GEMFILE='gemfiles/rails-4-2-stable.gemfile' bundle install -j 4 % BUNDLE_GEMFILE='gemfiles/rails-4-2-stable.gemfile' bundle exec rspec ./spec/requests/users_spec.rb

Rake and Bundler

If you use a shell plugin (like oh-my-zsh:bundler) that auto-prefixes commands with bundle exec using the rake command will fail.

Get the original command with type -a rake:

% type -a rake
rake is an alias for bundled_rake
rake is /Users/username/.rubies/ruby-2.2.3/bin/rake
rake is /usr/bin/rake

In this situation /Users/username/.rubies/ruby-2.2.3/bin/rake is the command you should use.

License

Copyright (c) 2022 codeplant GmbH, released under the MIT license

simple-navigation's People

Contributors

andi avatar benlangfeld avatar benningm avatar bmarini avatar danielpk avatar gregmolnar avatar ilyapoz avatar jackdempsey avatar johantell avatar joost avatar josepjaume avatar jtomaszewski avatar leemour avatar madding avatar mgrunberg avatar mjtko avatar ramontayag avatar rodrigomanhaes avatar ronalchn avatar simonc avatar skywriter avatar stefan-kolb avatar stefan0xc avatar stefl avatar synrg avatar thenoseman avatar timcowlishaw avatar troynt avatar tsenying avatar voxik avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.