rails_nav 2.5.6 → 2.5.7

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
- MDIzOTM4YmU0MzkxMjhjZmQ1YmQyMmQwZWUyOWNiOGY2MjE3ZDIzYg==
4
+ YTRiNzBkYTQzOWVlNTE4MWY2OTVkNDEzMDI4NjAxMjQxOGZhZmE1Nw==
5
5
  data.tar.gz: !binary |-
6
- Mzg1YTE2NWZhNWFkZDRjN2E3NzM5Zjc2YjEzNjg4Y2JmMWZjMTNkOQ==
6
+ ODdmMGU5ZWE1NGFjMzAyYmI4ODlmZDU3NWQ2MzVlOThmYTAxNzJmYg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YTdlMzRhODQxOWFiOWNmNWFkNTk3MzliNjllNDg3NDRkMmM0NzEwYjI1MThk
10
- MDFhZTVhMmMxOGNhMjliMGM2Y2VkYmNmM2ZmY2I5YmRjMTYxYWU0MmM3YjRl
11
- MWUwNjU3M2IwZTA1ODYxNTM5YTgzZDJhMzkyYWU0ZGZhOTIwM2I=
9
+ OTMwYzFkYzI5NGYzOGQ4ZGMyNmJhNjJiMDU3ZmE2NjUyMTVmOTgyMTNiZDIy
10
+ ZDdmMjljNmE2NTQyYTVhNmZkMGRmYmIxOTgwYzk4Njk1ZTgzMjE0NWY3MmY1
11
+ MDhlMGYzMDE5YjQ3OTY3NGNiZDhkZTk5N2I5NTA0YjIwMmE5ZTQ=
12
12
  data.tar.gz: !binary |-
13
- ZWE3YjQ0NWVjOWYxZGM3MTJiNGI2YmQ4OGU4MWE3NmJiNDJmZGFhMGM0MTc2
14
- ZThmZDk5ZjQwZGY0OTBkOTk5OWUyZDM3NTdjNzNmMThkZWY2ZGY3Yzk2NjM1
15
- YmRhOTQ3ZTdmNTFmM2Q2NTM5MjFkODJkNzU4N2M4ZWU2NjY0YWI=
13
+ ZjI4MzkwMTEwYjM2YjY0NWFiZTI0NGY3NWFmMDI2ZTBhMWViZGRlNjMzMGY4
14
+ M2Q2YTNjODIxYTBlYzFmNTgyZGNjOTA3N2U2ZWFjYjMyNmU1ODI5OWEzN2Uw
15
+ YzFkYmYzM2UyYmMyMjE5ZmZhZTNhMGViNzVhMWI5MTlkMTkyOWU=
data/lib/rails_nav.rb CHANGED
@@ -7,7 +7,7 @@
7
7
  ##
8
8
  #
9
9
  def Nav.version()
10
- '2.5.6'
10
+ '2.5.7'
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.to_s.split('/').first, :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.6"
6
+ spec.version = "2.5.7"
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.6
4
+ version: 2.5.7
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: 2015-02-11 00:00:00.000000000 Z
11
+ date: 2015-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails_current