vivus 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/vivus/styles/_nav.html.erb +1 -1
- data/app/views/vivus/styles/show.html.erb +3 -1
- data/lib/vivus/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b09e5c70b0d9dd24dccf5292468e4a6350616b4
|
4
|
+
data.tar.gz: 0884aa0edff4481e0ebd51de6ff154e74d1ae49c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 348c6b4c6051caab33c4156e1db01d63a50d62913600cef8320ebb785f79b56981025720d808521337c034ed9722758edd8011d06073e9fb4b5d2769423479e6
|
7
|
+
data.tar.gz: 2c11534c78a748c2c172988726e2cd6bdd68e606d0c41d4e730485258b0968a98eac96099baf687289c2d8c25f5184fa87f88f7f30cb84782ea35a941f2f7c6e
|
@@ -1,11 +1,13 @@
|
|
1
1
|
<%= render partial: "nav" %>
|
2
2
|
<div id="vivus-body">
|
3
3
|
<ul class="vivus-sections">
|
4
|
+
|
4
5
|
<% @stylesheets.select{ |section| section.downcase.gsub(/[^a-z1-9]+/, '-').chomp('-') == params[:section]}.each do |title, components| %>
|
6
|
+
|
5
7
|
<li class="vivus-section">
|
6
8
|
<h1 class="vivus-section-title"><%= title %></h1>
|
7
9
|
<ul class="vivus-components">
|
8
|
-
<%= render partial: "component", collection: components %>
|
10
|
+
<%= render partial: "component", collection: components.uniq{|c| c.name} %>
|
9
11
|
</ul>
|
10
12
|
</li>
|
11
13
|
<% end %>
|
data/lib/vivus/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vivus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Cipolla
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|