bootstrap-navbar 2.2.1 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/bootstrap-navbar/helpers.rb +1 -1
- data/lib/bootstrap-navbar/version.rb +1 -1
- data/spec/support/helpers.rb +2 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12efe71c10acf6e7a31ab0d80f5e3cdb1a7f5c54
|
4
|
+
data.tar.gz: a409b702eefe55702101a13f4ba8e9e0676c61ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 552d1c79457f6fbe40b19da71974d775ca118f41dc966a6fe8e4b04705d1d630928d9fd57d9001e92e8e1bf500cf919102978e42b227cd396c49e965a1ecc0eb
|
7
|
+
data.tar.gz: eb3bf53ef76c9ddfa5908a9258383a3f9c0645bac9f053ba80484d238b8f3157b8b305d917f1fea53ad631fd15429421c6172b90045d3ff33f3bd03b07782c0c
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
## 2.2.2
|
2
|
+
|
3
|
+
* Fix marking menu items as active... again
|
4
|
+
|
5
|
+
## 2.2.1
|
6
|
+
|
7
|
+
* Fix marking menu items as active
|
8
|
+
|
9
|
+
## 2.2.0
|
10
|
+
|
11
|
+
* Make `url` the required first parameter for `navbar_form`
|
12
|
+
|
1
13
|
## 2.1.4
|
2
14
|
|
3
15
|
* Fix bug when using navbar item with 'mailto:' link
|
@@ -33,7 +33,7 @@ module BootstrapNavbar::Helpers
|
|
33
33
|
if normalized_path.empty?
|
34
34
|
normalized_current_path.empty?
|
35
35
|
else
|
36
|
-
normalized_current_path =~ %r(#{Regexp.escape(normalized_path)}(/.+)?\z)
|
36
|
+
normalized_current_path =~ %r(\A#{Regexp.escape(normalized_path)}(/.+)?\z)
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
data/spec/support/helpers.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap-navbar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manuel Meurer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
152
152
|
version: '0'
|
153
153
|
requirements: []
|
154
154
|
rubyforge_project:
|
155
|
-
rubygems_version: 2.
|
155
|
+
rubygems_version: 2.2.2
|
156
156
|
signing_key:
|
157
157
|
specification_version: 4
|
158
158
|
summary: Helpers to generate a Twitter Bootstrap style navbar
|