biola_wcms_components 0.24.2 → 0.24.3

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: 82309de2ff6fe18df65ca74af65ad2c8ff9f44df
4
- data.tar.gz: 6fb944e6c013ad185db0f12955234bb10bab277f
3
+ metadata.gz: 14d5793f35913b63f422a4cc5c0ecf4eca2caea6
4
+ data.tar.gz: 50d025d89a7a996204448d8c94a4b8b5c2b2bfcc
5
5
  SHA512:
6
- metadata.gz: 48bac170aa8ce8beb4b7c1716db9d0878a4dfe646fc92aed5b2e040ce9e3347370839d84bf4873861a840263ed5c942d85326bdd3d5e9664420d8c335bf16a04
7
- data.tar.gz: 7b8f42de4112f644df02ecc66beb95bea2033e2fbd10e554c5099ae8430fb8c5230dc9763f63150f1f55740b3dfbb0b0d69695e8430f2b073710ffcd8646e4af
6
+ metadata.gz: e0229026ebdd636d0c806cd621bff1708f52514dc5d10c2855a4613918b2c00edf02e655b7260ac17671117da98627fc8fdeef9222b749fa844d774e9b6ad740
7
+ data.tar.gz: 537fa554c4835f72f7b864c6c70d28513bc2042ca30e0cefaed53c2757caed6115e30b0a23814c84dc2dbaff479cf4d33785633fbe34759468f923b1c334458c
@@ -2,6 +2,10 @@
2
2
 
3
3
  ### Master (unreleased)
4
4
 
5
+ ### 0.24.3
6
+
7
+ * Fix nav_link helper method. You have to pass '' for script_name option instead of nil.
8
+
5
9
  ### 0.24.2
6
10
 
7
11
  * Allow trustees and contractors in people search results
@@ -4,8 +4,9 @@ module WcmsComponents
4
4
  # Set class on active navigation items
5
5
  def nav_link(text, path_helper)
6
6
  # The router can't match against a relative root in the path
7
- # so we need to strip it out with script_name: nil.
8
- router_path = send(path_helper, script_name: nil)
7
+ # so we need to strip it out with script_name: ''.
8
+ # Note: passing nil as the script_name does not work
9
+ router_path = send(path_helper, script_name: '')
9
10
  real_path = send(path_helper)
10
11
 
11
12
  recognized = ::Rails.application.routes.recognize_path(router_path)
@@ -1,3 +1,3 @@
1
1
  module BiolaWcmsComponents
2
- VERSION = "0.24.2"
2
+ VERSION = "0.24.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: biola_wcms_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.2
4
+ version: 0.24.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Hall
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-19 00:00:00.000000000 Z
11
+ date: 2016-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ace-rails-ap