Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

109 lines (54 sloc) 3.447 kb

Changelog

Release 1.3.1

  • FIXED: Error wrong number of arguments (2 for 3) (closes #3)

Release 1.3.0

  • ADDED: Ability to customize the behavior and the style of the li tab item

    passing a hash of options.
    
      <% tabs_tag do |tab| %>
        <%= tab.home      'Homepage', root_path, :style => "padding: 10px" %>
        <%= tab.dashboard 'Dashboard', dashboard_path %>
      <% end %>
    
      <ul>
        <li style="padding: 10px"><a href="/">Homepage</a></li>
        <li class="custom"><span>Dashboard</span></li>
        <li><a href="/account">Account</a></li>
      </ul>

Release 1.2.0

  • ADDED: Rails 3 compatibility.

  • CHANGED: Simplified tabs_tag helper by moving the rendering logic into TabsOnRails::Tabs#render.

  • CHANGED: TabsOnRails::Tabs::Builder (and all child classes) now has full access to @options hash.

Release 1.1.0

  • FIXED: Incompatibility with release < 1.0.0 caused by open_tabs and close_tabs methods changes compared to 0.8.0.

  • CHANGED: Removed BUILD and STATUS constants. Added Version::ALPHA constant to be used when I need to package prereleases (see RubyGem –prerelease flag).

  • CHANGED: Removed empty install/uninstall hooks and tasks folder.

  • CHANGED: Removed rails/init hook because deprecated in Rails 3.

  • CHANGED: Drop dependency from Echoe. Change Rakefile to use custom tasks.

  • REMOVED: Deleted empty install.rb file.

Release 1.0.0

  • ADDED: Ability to pass arbitrary options to open_tabs and close_tags method. Thanks to aaronchi (closes #315)

  • REMOVED: tabs_tag no longer accepts a Builder as first parameter. Removed deprecation warning.

First stable release.

Release 0.8.2

Release 0.8.1

  • CHANGED: Controller#set_tab now uses #send instead of #instance_eval (better performance and more security)

  • CHANGED: run test against Rails ~> 2.3.0 but ensure compatibility with Rails 2.2.x.

Release 0.8.0

  • FIXED: Invalid usage of the word namescope instead of namespace.

  • FIXED: :current_tab? not available as helper method (closes #229).

  • FIXED: GitHub now requires the Manifest file to be included in the repos.

  • FIXED: Controller methods should be protected/private (closes #228).

  • CHANGED: Status to Beta and bumped release (closes #227).

  • REMOVED: Deprecated current_tab setter method. Use set_tab instead.

Release 0.3.0

  • ADDED: Support for namespaces in order to manage concurrent tab menus (closes #144).

  • FIXED: `Uninitialized constant RAILS_DEFAULT_LOGGER (NameError)' error message when running tests outside a Rails environment.

  • FIXED: Tests complains when Rails 2.3.2 is installed. This library is 100% compatible with Rails 2.3.2 but for now let's force tests to use Rails 2.2.2.

  • CHANGED: current_tab= controller instance/class methods are now deprecated. Use set_tab instead.

  • CHANGED: Calling tabs_tag with a custom builder as first parameter is now deprecated. Use :builder option instead.

Release 0.2.0

  • ADDED: The README file is definitely more useful now, filled up with some basic documentation.

  • CHANGED: Use the standard way to initialize a Rails plugin when packaged as a GEM (closes #146).

  • CHANGED: Removed development version warning (closes #145).

Release 0.1.0

  • Initial version

Jump to Line
Something went wrong with that request. Please try again.