rails_nav 2.5.4 → 2.5.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +8 -8
  2. data/lib/rails_nav.rb +2 -2
  3. data/rails_nav.gemspec +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MGQ5NmI4NmZlNDUwMzc1MjIzNGUwNDkxMjhjMGE4MmFjNTU2ODIwMg==
4
+ NzNkNjFkZDA1ZWM1ZWEwYzc3YmUxOWI1ZjIyYzRmMjgwNmE4YjBhZA==
5
5
  data.tar.gz: !binary |-
6
- MTU1ODJhZGZiZWZkYmFmYzhjOWRhYWRjOWZlNTY2YTdhMGEyYWI0Mg==
6
+ ZjY3OTFkZjJiNzc1MGFiNTJlY2E2MmMwYzhhMjU0NTNjYjNkNjM4MQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YTZjMzk1OTE5ZjkyMmRlNDYzZWNiZTg5NmY2NDhhYTg0NGRmYjQ1Y2JlYjQ3
10
- M2MyZTlmMTZjMmZmYjE4ZDM4ZTNlOGU5MTg3MDEzY2FkNWRmYTRhZGFkYmIy
11
- ODQ5YTdjZjlkYzQ4M2RhYWUxMWI4NjdjNmZjOTU5MzhlY2ZmM2Q=
9
+ YjNkZDZjYjZkZDE3Mzk1MzFiYTY0ZmQzZjg4NjVkOTIxMDM3YzFlMmI5ZWNj
10
+ MTk4YTMyOTFlOGMxMTlmZjIxOThmYzA2MjFmYTY3YTM1ODIzYjVmMDZjZWQ0
11
+ OGQ2YzE4MzcxOTQ5NzMzY2E3YWVlNzgxOGYxY2ZkMWEzNjVmYTk=
12
12
  data.tar.gz: !binary |-
13
- MzI4Y2U5MWQyNGNiYjMyYzlkMDgxMTZjN2RmMTBmZTIyNzI4MDkyYjRjMzVh
14
- MmViYjQ5YzFiODE4MmU3MTk2OTdhMDg2MTdhYzI2YjhjOTYwZGRlYTIwMmQw
15
- MGRhNzI2MjMxMzdmZmU3YjNiZTgzNDAyNzU5NGVjYThkOGYxZGI=
13
+ ZTExZDE5OTNlNTQzMDk1NWMwNzdlZWI2NjNiMzIwZGZlZTBmOGQ4ZGU5MTcz
14
+ NjNjODM2ZGM5MTRjOGJkM2ExNGRmZGVjYTI2M2JkN2I0NDY1YTU1ODkwZTc5
15
+ NThhNWY2NjgyZDMyY2NiYjIwYTlhMmI2ODUyYWYxNzk4ZjgxODc=
data/lib/rails_nav.rb CHANGED
@@ -7,7 +7,7 @@
7
7
  ##
8
8
  #
9
9
  def Nav.version()
10
- '2.5.4'
10
+ '2.5.5'
11
11
  end
12
12
 
13
13
  def Nav.dependencies
@@ -312,7 +312,7 @@
312
312
  end
313
313
 
314
314
  def Link.default_active_pattern_for(content)
315
- path_info = Slug.for(content, :join => '_')
315
+ path_info = Slug.for(content, :join => '[_-]')
316
316
  %r/\b#{ path_info }\b/i
317
317
  end
318
318
 
data/rails_nav.gemspec CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification::new do |spec|
5
5
  spec.name = "rails_nav"
6
- spec.version = "2.5.4"
6
+ spec.version = "2.5.5"
7
7
  spec.platform = Gem::Platform::RUBY
8
8
  spec.summary = "rails_nav"
9
9
  spec.description = "declarative navigation for rails applications"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_nav
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.4
4
+ version: 2.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ara T. Howard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-22 00:00:00.000000000 Z
11
+ date: 2015-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails_current