bootstrap_leather 0.4.2 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.rdoc +4 -0
- data/VERSION +1 -1
- data/app/helpers/bootstrap_leather_helper.rb +6 -0
- data/app/views/bootstrap_leather/_definition_list.html.haml +8 -0
- data/bootstrap_leather.gemspec +4 -3
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 700c7cca9700931f80cbdf1c844c72d6dc109728
|
|
4
|
+
data.tar.gz: 5eaa521e40c1123c4a277e54ce4e50ecab46365a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 82f9a37a71e5247f1b396fb830335cc51f90756ae24c02a435c2ae26dbe5091e6e2ddc3dbbe00e97a0dabe7f93159a7e03d0f08976de56bb6f4101be3758d406
|
|
7
|
+
data.tar.gz: beffa3b78ee7e37680498767e43dbce84d370d8369cd293848b9442a50db673b1d7f06fe647ba14f903b54b37162eadb6f7bb4aa912ded97718ea82e9bd79047
|
data/README.rdoc
CHANGED
|
@@ -132,6 +132,10 @@ First, add them all, then render them.
|
|
|
132
132
|
|
|
133
133
|
= thumbnail link_to image_tag(image_url), path
|
|
134
134
|
|
|
135
|
+
=== Definition Lists
|
|
136
|
+
|
|
137
|
+
= dl hash_of_terms_and_definitions_or_definition_arrays
|
|
138
|
+
|
|
135
139
|
== Great Bootstrap functionality outside the scope of this gem
|
|
136
140
|
|
|
137
141
|
The following are not covered because there are already so many wonderful resources providing this functionality.
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.4.
|
|
1
|
+
0.4.3
|
|
@@ -181,6 +181,12 @@ module BootstrapLeatherHelper
|
|
|
181
181
|
'col-' + device_class + '-' + column_width.to_s
|
|
182
182
|
end
|
|
183
183
|
|
|
184
|
+
def definition_list(list, html_options = {}, &block)
|
|
185
|
+
render(:partial => 'bootstrap_leather/definition_list', :locals => {:list => list, :block => capture(&block), :html_options => html_options})
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
alias_method :dl, :definition_list
|
|
184
190
|
alias_method :nav_bar, :navbar
|
|
185
191
|
alias_method :nav_bar_in_container, :navbar_in_container
|
|
186
192
|
alias_method :nav_bar_with_container, :navbar_with_container
|
data/bootstrap_leather.gemspec
CHANGED
|
@@ -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.4.
|
|
5
|
+
# stub: bootstrap_leather 0.4.3 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "bootstrap_leather"
|
|
9
|
-
s.version = "0.4.
|
|
9
|
+
s.version = "0.4.3"
|
|
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 = "2015-04-
|
|
14
|
+
s.date = "2015-04-30"
|
|
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 = [
|
|
@@ -31,6 +31,7 @@ Gem::Specification.new do |s|
|
|
|
31
31
|
"app/views/bootstrap_leather/_alert_flash_messages.html.haml",
|
|
32
32
|
"app/views/bootstrap_leather/_badge.html.haml",
|
|
33
33
|
"app/views/bootstrap_leather/_badge_to.html.haml",
|
|
34
|
+
"app/views/bootstrap_leather/_definition_list.html.haml",
|
|
34
35
|
"app/views/bootstrap_leather/_dropdown_nav_item.html.haml",
|
|
35
36
|
"app/views/bootstrap_leather/_footer_javascript.html.haml",
|
|
36
37
|
"app/views/bootstrap_leather/_head_css.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.4.
|
|
4
|
+
version: 0.4.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Karen Lundgren
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-04-
|
|
11
|
+
date: 2015-04-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bootstrap-sass
|
|
@@ -171,6 +171,7 @@ files:
|
|
|
171
171
|
- app/views/bootstrap_leather/_alert_flash_messages.html.haml
|
|
172
172
|
- app/views/bootstrap_leather/_badge.html.haml
|
|
173
173
|
- app/views/bootstrap_leather/_badge_to.html.haml
|
|
174
|
+
- app/views/bootstrap_leather/_definition_list.html.haml
|
|
174
175
|
- app/views/bootstrap_leather/_dropdown_nav_item.html.haml
|
|
175
176
|
- app/views/bootstrap_leather/_footer_javascript.html.haml
|
|
176
177
|
- app/views/bootstrap_leather/_head_css.html.haml
|