bootstrap_leather 0.8.3 → 0.8.4

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: 0c39edf487629341b3d0abf3bb75067503d2b4e1
4
- data.tar.gz: cdfe4020db99a14e50d36d49825a26dc1afabb7d
3
+ metadata.gz: c333755a1f9107da0cb9eb707c73406ea63e6992
4
+ data.tar.gz: 2ffbdf40c625088a38ef8f1b02d151ed1d65fc7c
5
5
  SHA512:
6
- metadata.gz: cebf1280fcdb433f3a2559c67fb8c5a9760f7932be07d72d7830239fc7cc8b68216ec0d38a90b281af566d11ae2064f03a9e16c2ffbf4aa1043187e45e2c3142
7
- data.tar.gz: a575c8172df33d30c939519eab852698d5c86894c2eba79b43058443cb88894c5577a210000e09871997b9514dedb0fe8859a666dfab02e78c2cf9d72b23f5ef
6
+ metadata.gz: 5bedac71c7e858d8b83da006fbee137968a29e311c239a7fd9d3ca1f2a75919dd17ab9317fe2e41a2e27781c8859d790e1bf6a2663b01509c735de0255f91466
7
+ data.tar.gz: e5d5e16c2c5becb93cb010eac48370a5a2a27bde13e60c63cb5d5809c638f28dcb0dd3616c483a3c0432f8ed4307c8417ce35efb2cc3d384132ca06f12ca0375
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.3
1
+ 0.8.4
@@ -78,6 +78,10 @@ module BootstrapLeatherHelper
78
78
  render(:partial => 'bootstrap_leather/nav_item', :locals => {:text => text, :href => href, :options => options})
79
79
  end
80
80
 
81
+ def nav_heading(text, options = {})
82
+ render(:partial => 'bootstrap_leather/nav_heading', :locals => {:text => text, :options => options})
83
+ end
84
+
81
85
  def nav_list(html_options = {}, &block)
82
86
  render(:partial => 'bootstrap_leather/nav_list', :locals => {:block => capture(&block), :html_options => html_options})
83
87
  end
@@ -0,0 +1,2 @@
1
+ %li.dropdown-header{ options }
2
+ = text
@@ -1,2 +1,2 @@
1
1
  %li{:class => current_page?(href) ? 'active' : ''}
2
- =link_to text, href, options
2
+ =link_to text, href, options
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: bootstrap_leather 0.8.3 ruby lib
5
+ # stub: bootstrap_leather 0.8.4 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "bootstrap_leather"
9
- s.version = "0.8.3"
9
+ s.version = "0.8.4"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Karen Lundgren"]
14
- s.date = "2016-03-15"
14
+ s.date = "2016-04-06"
15
15
  s.description = "BootstrapLeather is a collection of view helpers that makes it easier to create apps using Twitter Bootstrap"
16
16
  s.email = "karen.e.lundgren@gmail.com"
17
17
  s.extra_rdoc_files = [
@@ -45,6 +45,7 @@ Gem::Specification.new do |s|
45
45
  "app/views/bootstrap_leather/_icon_link_to.html.haml",
46
46
  "app/views/bootstrap_leather/_logo_and_title.html.haml",
47
47
  "app/views/bootstrap_leather/_modal.html.haml",
48
+ "app/views/bootstrap_leather/_nav_heading.html.haml",
48
49
  "app/views/bootstrap_leather/_nav_item.html.haml",
49
50
  "app/views/bootstrap_leather/_nav_list.html.haml",
50
51
  "app/views/bootstrap_leather/_navbar.html.haml",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap_leather
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen Lundgren
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-15 00:00:00.000000000 Z
11
+ date: 2016-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bootstrap-sass
@@ -101,6 +101,7 @@ files:
101
101
  - app/views/bootstrap_leather/_icon_link_to.html.haml
102
102
  - app/views/bootstrap_leather/_logo_and_title.html.haml
103
103
  - app/views/bootstrap_leather/_modal.html.haml
104
+ - app/views/bootstrap_leather/_nav_heading.html.haml
104
105
  - app/views/bootstrap_leather/_nav_item.html.haml
105
106
  - app/views/bootstrap_leather/_nav_list.html.haml
106
107
  - app/views/bootstrap_leather/_navbar.html.haml