bootstrap-navbar 2.2.0 → 2.2.1

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: 8bd7a1a0771440f33d4f8a92df577311e1e41e3a
4
- data.tar.gz: a475056e2f8fdd0daf22bcae9c465f60341ee7f5
3
+ metadata.gz: f5de2c7a6f833acac74125497bfbd5d322b77797
4
+ data.tar.gz: e37f92c9c49c66704c26bf0d2deb7f6d36277fff
5
5
  SHA512:
6
- metadata.gz: dc8dc984e867fca712edbb1220f9b61ea81dba16fbf5bdede9da59d9709a5a25783c6d6595187d5f07af56aac966f318f1e184b581dd331f7556ab2b2f1e900d
7
- data.tar.gz: c0cefceeb5f3afc26aeb1c5daf3a8979bdeb1afb0210902fbc1e4adf04b7e3c1ba4fbd2583581013ec7c05d700f70fac51c26ac382ad019e07f14218c86afed2
6
+ metadata.gz: 48e0ed02edd3c9042a4c375e1c665e22c36f1a5d00ed740b0ff3545aee9edd7a035363b176270ea634f5d7c300a12b1ee38c69888a14222a82e4c64ea525e55f
7
+ data.tar.gz: 490487fe7a7745147ebe75098653434c2178e467e7b822deb64eb0137de77e23697140238abce199b74b7816a5a4bd53d012b63dfb3dd7102b172084cc821b4a
@@ -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)}(/.+)?)
36
+ normalized_current_path =~ %r(#{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.0'
2
+ VERSION = '2.2.1'
3
3
  end
@@ -65,6 +65,18 @@ shared_examples 'marking the navbar items as active correctly' do
65
65
  http://www.foobar.com
66
66
  http://www.foobar.com/bar/
67
67
  http://www.foobar.com/bar
68
+ http://www.foobar.com/foobar/
69
+ http://www.foobar.com/foobar
70
+ http://www.foobar.com/foobar/bar/
71
+ http://www.foobar.com/foobar/bar
72
+ http://www.foobar.com/foo_bar/
73
+ http://www.foobar.com/foo_bar
74
+ http://www.foobar.com/foo_bar/bar/
75
+ http://www.foobar.com/foo_bar/bar
76
+ http://www.foobar.com/foo-bar/
77
+ http://www.foobar.com/foo-bar
78
+ http://www.foobar.com/foo-bar/bar/
79
+ http://www.foobar.com/foo-bar/bar
68
80
  )
69
81
  end
70
82
  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.0
4
+ version: 2.2.1
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-01 00:00:00.000000000 Z
11
+ date: 2014-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake