leather 0.2.10 → 0.2.11

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: 8f79b99910806fc9988438b2601b5b84eb3f2b17
4
- data.tar.gz: b7badea1b713046253f92689fc1ec0459184c9da
3
+ metadata.gz: 7fac0f1fab7f93cbf7feeaf11c21cef8066d541a
4
+ data.tar.gz: fc071490fdc66c30b7d0c89a7e4a0ef1ec5e52a4
5
5
  SHA512:
6
- metadata.gz: e694d48781b1ed396c541c40bf1f2bb269c927949d070b5bb2adf56d317a01b5f8ccf0427f449cb886ba918e2c1697874c33d580fe09b5e586d86ac8b09be4a2
7
- data.tar.gz: fdcf855c6cd940175ab6b9dadb19190754b91b92abf31b687a81b1215f5420e58a1c982e17345fc3d3922ed55f983c7929581fc6d54d47fbc7d846b1fcd7bfae
6
+ metadata.gz: 7b94d008921dbd6be085f15bce8b84bd2b74cbc1603f37241f117f7601615fd004f3b3ed7aca36b876a02aa8ac612dfea9fe3f810ac93beadc978e12bece71e5
7
+ data.tar.gz: 17af4f774c39239894541c09bce34279580a06ef1244c404ee2fb06a70323ded4a057847fc0331ddfcd5ff6b8f7f7276c5b1403eb70fda215fada3f41142508f
@@ -5,18 +5,16 @@
5
5
  - when :with
6
6
  %nav.navbar{ class: html_options[:class] }
7
7
  .container
8
- .row.clearfix
9
- .column.col-md-12
10
- .navbar-header
11
- %button.navbar-toggle{data:{toggle:'collapse', target:'#navbar-to-collapse'},type:'button'}
12
- %span.sr-only
13
- Toggle navigation
14
- %span.icon-bar
15
- %span.icon-bar
16
- %span.icon-bar
17
- = link_to title, brand_link, :class => 'navbar-brand'
18
- .collapse.navbar-collapse#navbar-to-collapse
19
- = block
8
+ .navbar-header
9
+ %button.navbar-toggle{data:{toggle:'collapse', target:'#navbar-to-collapse'},type:'button'}
10
+ %span.sr-only
11
+ Toggle navigation
12
+ %span.icon-bar
13
+ %span.icon-bar
14
+ %span.icon-bar
15
+ = link_to title, brand_link, :class => 'navbar-brand'
16
+ .collapse.navbar-collapse#navbar-to-collapse
17
+ = block
20
18
  - when :in
21
19
  .container
22
20
  .row.clearfix
@@ -1,3 +1,3 @@
1
1
  module Leather
2
- VERSION = "0.2.10"
2
+ VERSION = "0.2.11"
3
3
  end
@@ -0,0 +1,13 @@
1
+ = navbar "Leather", root_url, container_mode: :with, class: "navbar-default" do
2
+ = nav_list do
3
+ = nav_item 'Home', root_url
4
+ = nav_item 'UI Kit', '/pages/ui_kit'
5
+ = nav_list class: 'navbar-right' do
6
+ - if user_signed_in?
7
+ = nav_item 'Sign Out', destroy_user_session_path, method: :delete
8
+ - else
9
+ = nav_item 'Sign In', new_user_session_path
10
+ = nav_item 'Sign Up', new_user_registration_path
11
+
12
+ .container
13
+ %h1 Home
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leather
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Van Der Beek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-24 00:00:00.000000000 Z
11
+ date: 2014-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -157,7 +157,7 @@ files:
157
157
  - templates/views/devise/shared/_links.html.erb
158
158
  - templates/views/devise/shared/_welcome.html.erb
159
159
  - templates/views/pages/_table.html.erb
160
- - templates/views/pages/home.html.erb
160
+ - templates/views/pages/home.html.haml
161
161
  - templates/views/pages/ui_kit.html.erb
162
162
  homepage: https://github.com/dvanderbeek/leather
163
163
  licenses:
@@ -1,3 +0,0 @@
1
- <div class="container">
2
- <h1>Home</h1>
3
- </div>