rails_bootstrap_helper 1.6.1 → 1.6.2
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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1ee1c2841c06b59376dd16d81282111b7c08b3a620a08646e1900971153b219a
|
4
|
+
data.tar.gz: d482b6bcf74136d0162b256a21948e4e7511d780566f3d54856d222963a7a315
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c8442a396d61298e70d41ed612bbdd3e00f2d26688ad18f1d0acff45aa34f459650652742afeff3a9ff5873c86c8167d7017c17e6c2e25c47217f599b56cbcc
|
7
|
+
data.tar.gz: 2f11d83786de8d5367d274c038c3571da29f39edf7194cf45e2870888b1c3801f18d23937bcd81c1a3002d929bf681c16e5b0d20791e8775d398d41800cdf920
|
data/CHANGELOG.md
CHANGED
@@ -1,15 +1,27 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## 1.
|
3
|
+
## 1.6.2 / 2018-12-30
|
4
|
+
|
5
|
+
- Support for nav link [https://getbootstrap.com/docs/4.2/components/navs/#base-nav](https://getbootstrap.com/docs/4.2/components/navs/#base-nav)
|
6
|
+
|
7
|
+
## 1.6.1 / 2018-03-02
|
8
|
+
|
9
|
+
- Support HTML options in icon_tag helper
|
10
|
+
|
11
|
+
## 1.6.0 / 2018-01-26
|
12
|
+
|
13
|
+
- Add support for inline SVG
|
14
|
+
|
15
|
+
## 1.5.2 / 2017-11-21
|
4
16
|
|
5
17
|
Bootstrap 4 dropped support for (glyph)icons.
|
6
18
|
However, since icon buttons remain useful, we're now suppporting a global `icon` class.
|
7
19
|
|
8
|
-
## 1.5.1
|
20
|
+
## 1.5.1 / 2017-09-06
|
9
21
|
|
10
22
|
Adjust badge default's level to `secondary`
|
11
23
|
|
12
|
-
## 1.5.0
|
24
|
+
## 1.5.0 / 2017-09-06
|
13
25
|
|
14
26
|
Bootstrap 4 support
|
15
27
|
|
@@ -60,4 +60,9 @@ class RailsBootstrapHelperTest < ActionView::TestCase
|
|
60
60
|
assert_equal '<span class="icon icon-star" style="color:white"></span>', icon_tag('star', style: 'color:white')
|
61
61
|
assert_equal '<span class="icon icon-star text-success" style="color:white"></span>', icon_tag('star', class: 'text-success', style: 'color:white')
|
62
62
|
end
|
63
|
+
|
64
|
+
def test_nav_link
|
65
|
+
# content_tag :li, link_to(name, path, class: 'nav-link'), class: 'nav-item'
|
66
|
+
assert_equal '<li class="nav-item"><a class="nav-link" href="http://google.com">Google</a></li>', nav_link("Google", "http://google.com")
|
67
|
+
end
|
63
68
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_bootstrap_helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hoang Nghiem
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -182,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
182
182
|
version: '0'
|
183
183
|
requirements: []
|
184
184
|
rubyforge_project:
|
185
|
-
rubygems_version: 2.6
|
185
|
+
rubygems_version: 2.7.6
|
186
186
|
signing_key:
|
187
187
|
specification_version: 4
|
188
188
|
summary: Bootstrap Helpers for Ruby on Rails
|