contour 2.1.0.beta5 → 2.1.0.beta6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ac1881b063c0979e6283bc0bb35f8e78d82db697
4
- data.tar.gz: 088462251d3db54aceb287b1002dc4859b47650f
3
+ metadata.gz: 0bc43e6005368e3e9bf7c9e98148094b72a08520
4
+ data.tar.gz: c23ec930dd32ebd47ac27f8bc4fa395f37bef959
5
5
  SHA512:
6
- metadata.gz: eb4ab856fb4f01032fd36f9381a32fbabea381237211a2c17655812fe10f478e91e3825b7e015c4fd96a72fe3ee683a99ee1887999c33f853e6a1a6cc0c71e90
7
- data.tar.gz: 15d02959bb1cad0c1762a56712906d95de884345905c04a3eebc586745c60f1c82a011dd668a6d2d37f741b01a35dd660f1d3f8a4f1e95acdd5d6095422075d3
6
+ metadata.gz: b4b8248a70fec90f0689329b695891cd86ac9e988344f29b000977d8b95e971919fc58e2a4fbc05e3d6e9041bb77e847bf14b0a26579daea102709be584ef1ee
7
+ data.tar.gz: 23e603595dbc00a0b58af4d501999e0b33688dd11df4e8470d0c71fd16707b12ea718f6180ac473e851503601cb900583fac43bb41e63fe9e6e27e6f2c396a6b
data/CHANGELOG.md CHANGED
@@ -4,6 +4,8 @@
4
4
  - Added Twitter-Typeahead to replace BS Typeahead functionality
5
5
  - Removed contour-mini pagination theme as the only options in BS3 are pagination-large, pagination, and pagination-small
6
6
  - Added `btn-cancel` and `btn-cancel-inverse` to complement other BS3 button styles
7
+ - Menu dropdowns can now have headers
8
+ - `links: [ ..., { header: 'Dropdown header' }, ... ]`
7
9
 
8
10
  ## 2.0.0 (July 25, 2013)
9
11
 
@@ -28,6 +28,8 @@
28
28
  <% if link[:condition].blank? or eval(link[:condition]) %>
29
29
  <% if link[:divider] == true %>
30
30
  <li class="divider"></li>
31
+ <% elsif not link[:header].blank? %>
32
+ <li class="dropdown-header"><%= link[:header] %></li>
31
33
  <% elsif link[:authentications] == true %>
32
34
  <%= render partial: 'contour/authentications/menu' %>
33
35
  <% else %>
@@ -3,7 +3,7 @@ module Contour
3
3
  MAJOR = 2
4
4
  MINOR = 1
5
5
  TINY = 0
6
- BUILD = "beta5" # nil, "pre", "rc", "rc2"
6
+ BUILD = "beta6" # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contour
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0.beta5
4
+ version: 2.1.0.beta6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Remo Mueller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-05 00:00:00.000000000 Z
11
+ date: 2013-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails