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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f5de2c7a6f833acac74125497bfbd5d322b77797
4
- data.tar.gz: e37f92c9c49c66704c26bf0d2deb7f6d36277fff
3
+ metadata.gz: 12efe71c10acf6e7a31ab0d80f5e3cdb1a7f5c54
4
+ data.tar.gz: a409b702eefe55702101a13f4ba8e9e0676c61ab
5
5
  SHA512:
6
- metadata.gz: 48e0ed02edd3c9042a4c375e1c665e22c36f1a5d00ed740b0ff3545aee9edd7a035363b176270ea634f5d7c300a12b1ee38c69888a14222a82e4c64ea525e55f
7
- data.tar.gz: 490487fe7a7745147ebe75098653434c2178e467e7b822deb64eb0137de77e23697140238abce199b74b7816a5a4bd53d012b63dfb3dd7102b172084cc821b4a
6
+ metadata.gz: 552d1c79457f6fbe40b19da71974d775ca118f41dc966a6fe8e4b04705d1d630928d9fd57d9001e92e8e1bf500cf919102978e42b227cd396c49e965a1ecc0eb
7
+ data.tar.gz: eb3bf53ef76c9ddfa5908a9258383a3f9c0645bac9f053ba80484d238b8f3157b8b305d917f1fea53ad631fd15429421c6172b90045d3ff33f3bd03b07782c0c
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module BootstrapNavbar
2
- VERSION = '2.2.1'
2
+ VERSION = '2.2.2'
3
3
  end
@@ -77,6 +77,8 @@ shared_examples 'marking the navbar items as active correctly' do
77
77
  http://www.foobar.com/foo-bar
78
78
  http://www.foobar.com/foo-bar/bar/
79
79
  http://www.foobar.com/foo-bar/bar
80
+ http://www.foobar.com/bar/foo/
81
+ http://www.foobar.com/bar/foo
80
82
  )
81
83
  end
82
84
  end
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.1
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-09-14 00:00:00.000000000 Z
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.4.1
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